<div dir="ltr">Maybe you dirty your color array too?</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 4:39 PM, Gianni Ambrosio <span dir="ltr"><<a href="mailto:g.ambrosio+osg@gmail.com" target="_blank">g.ambrosio+osg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">OK,<br>
I found a way to move a triangle from a primitive set to another.<br>
Debugging the code primitive sets are updated correctly but the color remains the same.<br>
<br>
I call<br>
<br>
sourcePrimitiveSet->dirty();<br>
destinationPrimitiveSet-><wbr>dirty();<br>
geometry->dirtyBound();<br>
<br>
What's wrong with it? Isn't enough?<br>
<span class=""><br>
Regards,<br>
Gianni<br>
<br>
------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=68661#68661" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=68661#<wbr>68661</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">trajce nikolov nick<br></div>
</div>