<div dir="ltr"><div>Hi all.</div><div>Just noticed that it is not possible to toggle the setUseVertexAttributeAliasing after a viewer has been realized and frame/run has been called and any text is involved in the scene. The attached code is a modified osgViewer. If 's' (statistics) is shown after the call to
setUseVertexAttributeAliasing, I get a callstack, meaning it is not possible to toggle this feature while an application is being run. Is that intentional?</div><div><br></div><div>I am running OSG 3.6.4 on Windows 10</div><div><br></div><div><font face="monospace" size="1">> osg160-osg.dll!osg::VertexArrayState::applyDisablingOfVertexAttributes(osg::State & state) Line 294 C++<br> osg160-osg.dll!osg::Geometry::drawVertexArraysImplementation(osg::RenderInfo & renderInfo) Line 989 C++<br> osg160-osg.dll!osg::Geometry::drawImplementation(osg::RenderInfo & renderInfo) Line 899 C++<br> osg160-osg.dll!osg::Drawable::drawInner(osg::RenderInfo & renderInfo) Line 277 C++<br> osg160-osg.dll!osg::Drawable::draw(osg::RenderInfo & renderInfo) Line 619 C++<br> osg160-osgUtil.dll!osgUtil::RenderLeaf::render(osg::RenderInfo & renderInfo, osgUtil::RenderLeaf * previous) Line 84 C++<br> osg160-osgUtil.dll!osgUtil::RenderBin::drawImplementation(osg::RenderInfo & renderInfo, osgUtil::RenderLeaf * & previous) Line 488 C++<br> osg160-osgUtil.dll!osgUtil::RenderStage::drawImplementation(osg::RenderInfo & renderInfo, osgUtil::RenderLeaf * & previous) Line 1408 C++<br> osg160-osgUtil.dll!osgUtil::RenderBin::draw(osg::RenderInfo & renderInfo, osgUtil::RenderLeaf * & previous) Line 432 C++<br> osg160-osgUtil.dll!osgUtil::RenderStage::drawInner(osg::RenderInfo & renderInfo, osgUtil::RenderLeaf * & previous, bool & doCopyTexture) Line 934 C++</font><br></div><div><br></div><div><br></div><div><br></div><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">__________________________________________<br>Anders Backman, HPC2N<br>90187 Umeå University, Sweden<br><a href="mailto:anders@cs.umu.se" target="_blank">anders@cs.umu.se</a> <a href="http://www.hpc2n.umu.se/" target="_blank">http://www.hpc2n.umu.se</a><br>Cell: +46-70-392 64 67</div></div></div>