Parent-Child System Broken

Published by Ultadoer on Wed, 05/09/2018 - 19:40
Status
Works as designed
Type
Product/platform
Not applicable
Priority
Normal
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.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.