I fixed this problem.
In class
com.sun.j3d.demos.utils.scenegraph.io.state.javax.media.j3d.SceneGraphOb
jectState

i made the boolean sgIO an instance variable.

Class
com.sun.j3d.demos.utils.scenegraph.io.state.javax.media.j3d.GroupState

is changed, so that
the method processChildren determines, if the node is an instance of
SceneGraphIO. If the nodes method saveChildren returns true, all
child nodes will be processed.

I'm not sure about the licence of the j3dfly source, so
I have NOT attached the code...



Regards,
Andreas






>Hello,
>
>I have subclassed BranchGroup for my own Class and implemented
>SceneGraphIO. Although my method "saveChildren" returns false,
>all chlidren of my object are written to the stream.
>
>Think there is something wrong with processChildren() in GroupState ...
>
>Does anyone have more experience with SceneGraphIO ?
>
>Cheers,
>Andreas
>
>===============================================================
>============
>To unsubscribe, send email to [EMAIL PROTECTED] and
>include in the body of the message "signoff JAVA3D-INTEREST".
>For general help, send email to [EMAIL PROTECTED] and
>include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to