Stuart Mentzer
2018-11-26 21:47:36 UTC
Hi,
I have an osg::Cylinder in an osg::ShapeDrawable and I change its height in an UpdateCallback like this:
Code:
cylinder->setHeight( h );
drawable->dirtyDisplayList();
drawable->dirtyBound();
This works in OSG 3.4.1 but with OSG 3.6.3 (at least on my Windows builds) the height change doesn't show up. Checking the value with getHeight shows that the cylinder height is updated so maybe the issue is that dirtyDisplayList is no longer sufficient to trigger the display update.
I can try to put together a small self-contained example if this doesn't give anyone a clue what is going on.
Any help will be much appreciated. And if this has exposed an OSG bug it would be good to fix for 3.6.4.
Thanks!
Cheers,
Stuart
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75246#75246
I have an osg::Cylinder in an osg::ShapeDrawable and I change its height in an UpdateCallback like this:
Code:
cylinder->setHeight( h );
drawable->dirtyDisplayList();
drawable->dirtyBound();
This works in OSG 3.4.1 but with OSG 3.6.3 (at least on my Windows builds) the height change doesn't show up. Checking the value with getHeight shows that the cylinder height is updated so maybe the issue is that dirtyDisplayList is no longer sufficient to trigger the display update.
I can try to put together a small self-contained example if this doesn't give anyone a clue what is going on.
Any help will be much appreciated. And if this has exposed an OSG bug it would be good to fix for 3.6.4.
Thanks!
Cheers,
Stuart
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75246#75246