[Sandy] [sandy commit] r971 - Adds a removeChild() method to Node.
Makc
makc.the.great at gmail.com
Fri Mar 13 04:18:46 PST 2009
On Fri, Mar 13, 2009 at 2:05 PM, Russell Weir <damonsbane at gmail.com> wrote:
> Allows for
> if(obj.hasParent())
> obj.parent.removeChild(obj).destroy();
>
> Which I was in need of for the MD3/animation classes. Use in this manner
> will always ensure the exception is not thrown, except for cases where
> there's an internal error in Sandy.
I assume you are creating transform groups for tags and add/remove
nodes from there? This is a bit inconvenient to have transform groups
instead of adding children to Shape3Ds directly, imho, maybe this
could be changed for 3.2?
More information about the Sandy
mailing list