Drawing an object in a removed group crashes FUZE
-
There is an issue (FUZE 3.1.0) where FUZE crashes when trying to draw an object that is a child of a removed group. If the group itself is removed using removeObject() but the child object is not unlinked using unlinkObject(), the next drawObjects() call will crash FUZE with the system message "The software was closed because an error occurred."
This code works correctly because the object is unlinked before drawObjects() is called:
var obj = placeObject(cube, {0, 0, 0}, {1, 1, 1}) var grp = createObjectGroup({0, 0, 0}) setObjectParent(obj, grp) removeObject(grp) unlinkObject(obj) drawObjects()
This code causes a crash because the object is not unlinked before drawObjects() is called:
var obj = placeObject(cube, {0, 0, 0}, {1, 1, 1}) var grp = createObjectGroup({0, 0, 0}) setObjectParent(obj, grp) removeObject(grp) drawObjects()
-
Thank you for the report and the steps to reproduce!