Hi Brian, Normally isOperationPermissibleForObject(&geode) would return true. It's applied as well as users might want to make a particle Geode as one that you don't change, and changing it's drawable is certainly changing it so is sensible to check.
I haven't gone through the code recently so can't comment on specifics, just trying to clarify some of the things you've raised. What you are seeing might be a clue to the source of the problem, is just a red herring. Robert. On Sun, Sep 14, 2008 at 4:14 PM, Brian <[EMAIL PROTECTED]> wrote: > Sorry I don't understand what you are saying. > > When I change this > if((geometry)&&isOperationPermissibleForObject(&geode)&&(isOperationPermissibleForObject(geometry))) > > to this > if((geometry)&&(isOperationPermissibleForObject(geometry))) > > It fixes my problem, but I don't want to break the code for someone else. I > don't understand why the the function > isOperationPermissableForObject(&geode) needs to be checked since we are > cloning the vertexarray not the geode. > > Brian > > On Sun, Sep 14, 2008 at 10:45 AM, Robert Osfield <[EMAIL PROTECTED]> > wrote: >> >> Hi Brian, >> >> The isOperatoinPermissible() methods are part of mechinism that allows >> users to control which objects in the scene graph are optimized - for >> instance if they want to disable the optimization of particular nodes, >> geometry. The usage outlined looks reasonable w.r.t usage is >> OperationPermissable. >> > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org