Hi,

On Tue, 2006-05-09 at 08:37 -0500, Patrick Hartling wrote:
> > interesting, one quick test, could you add a call to
> > 
> > beginEditCP(node, VolMask); 
> > node->invalidateVolume(); 
> > endEditCP(node,VolMask);
> > 
> > after you activated a node.  
> 
> Doing this fixes things for me.

ah good, I hope I spotted problem in Node::updateVolume (in combination
with Node::changed). Once the cvs is back online I'll hopt to commit
something to fix it.

> >>From a quick glance over the code involved in travmask and volume
> > handling it might be a little bit optimistic at some points ;-)
> > 
> > Currently my feeling that is it more OpenSG bug exposed by OSG::Group
> > change?
> > 
> > I'll see if I can easily recreate the problem.
> 
> Let me know if there is anything I can do to help you with that. The data I
> am using is confidential, but I might be able to make up something if you
> need a test case.

So far I would wait until we can try what I have in mind ;-). If you
need it earlier (before the cvs is back online) the thing you could try
is modifying Node::updateVolume to

void Node::updateVolume(void)
{
    if(_sfVolume.getValue().getInstance().isValid() == true ||
       getTravMask() == 0)
    {
        return; 
    }


you also can remove the later getTravMask if needed. 

regards,
  gerrit





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to