Hi,

On Thu, 2008-02-07 at 14:22 -0600, Carsten Neumann wrote:
>       Hi Gerrit,
> 
> the function mentioned in the subject (from 
> Source/System/FieldContainer/Base/OSGFieldHandle.h) currently prints a 
> warning, then asserts.  Is it just not implemented or is there a 
> conceptual reason this can/should not be called?

conceptually, value fields can not share their values, so they must
use copy.

Maybe we should add a generic function the does the right thing
automatically so we don't have to ptrfield test in user space.

> I'm asking because this currently halts my progress with the cluster, 
> MultiDisplayWindow attempts to copy some values between two Viewports 
> using the generic interface and hits this assert.

I guess you mean updateViewport, hmm this one looks strange in the first
place. Don't know what happened when I did the handle changes. I fixed
the svn head. Basically three things. 

1) check if either handle is NULL (happens for the parent field)
2) the equal check should be == false
3) swap shareValues and copyValues

with these changes the multidisplay window works for me.


kind regards,
 gerrit


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to