Parent-Child System Broken

Published by Ultadoer on
Status
Works as designed
Issue description

This parenting code does not work whatsoever, instead of making existing shapes parented, It makes copies of said shapes.

this.Body.addChild(this.LeftLeg);
this.Body.addChild(this.RightLeg);
this.Body.addChild(this.LeftArm);
this.Body.addChild(this.RightArm);
this.Body.addChild(this.HeadBase);
this.HeadBase.addChild(this.JawBottom);
this.HeadBase.addChild(this.JawTopRight);
this.HeadBase.addChild(this.JawTopLeft);

 

Issue comments

This code is output from the model generator. It is the bug on their side if it generates non-working code. MCreator just copies this code. We only supported Techne but now that it is gone, we will replace it with another tool in next releases. There is a ticket about this in the tracker.