From 661816a31011e83b9f875fb2eb71e60632dd8384 Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Thu, 6 Jun 2019 16:22:28 -0700 Subject: [PATCH 1/2] Set data variance of PointCloudShapeNode to DYNAMIC --- dart/gui/osg/render/PointCloudShapeNode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dart/gui/osg/render/PointCloudShapeNode.cpp b/dart/gui/osg/render/PointCloudShapeNode.cpp index 554afb127d56c..40047f7ec4627 100644 --- a/dart/gui/osg/render/PointCloudShapeNode.cpp +++ b/dart/gui/osg/render/PointCloudShapeNode.cpp @@ -489,6 +489,7 @@ class VertexPointNodes final : public PointNodes mGeometry->addPrimitiveSet(mPrimitiveSet); mGeometry->getOrCreateStateSet()->setAttribute( mPoint, ::osg::StateAttribute::ON); + mGeometry->setDataVariance(::osg::Object::DYNAMIC); mGeode = new ::osg::Geode(); mGeode->getOrCreateStateSet()->setMode( From c846b4bbad83617253d7d6a5cd116a191e7481ae Mon Sep 17 00:00:00 2001 From: Jeongseok Lee Date: Thu, 6 Jun 2019 19:02:09 -0700 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4de1fca4b766e..bc23c38f5bda3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ * GUI * Fixed memory leaks from dart::gui::osg::Viewer: [#1349](https://github.com/dartsim/dart/pull/1349) - * Added point rendering mode to PointCloudShape: [#1351](https://github.com/dartsim/dart/pull/1351) + * Added point rendering mode to PointCloudShape: [#1351](https://github.com/dartsim/dart/pull/1351), [#1355](https://github.com/dartsim/dart/pull/1355) * dartpy