Hi Gianluca,

> The _attributeMap actually contains as MATERIAL attribute exactly the pointer 
> to the osg::Material property that I created. 
> But in the attribute stack it appears as the ‘last_applied_attribute’, and 
> ‘changed’ is set to true. 
> For all other attributes the pointers stored in ‘last_applied_attribute’ are 
> correct as well, but ‘changed’ is set to false. 


try calling osg::State::apply() to apply changed state that hasn't been applied 
yet.

Cheers,
Jannik

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64177#64177





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to