Game Development Community

Beta4: (fixed) t2dsceneobject.clone()

by Alex Rice · in Torque Game Builder · 05/27/2006 (11:10 am) · 4 replies

Seems like abug, but not sure. When doing %obj.clone(true); the fields are copied except for I noticed the class and superclass fields are not copied.

#1
05/27/2006 (11:44 am)
Scenegraph and position fields are also not copied correctly. Took me a few minutes to track that down
#2
06/01/2006 (6:50 am)
This seems to be fixed in RC1
#3
06/01/2006 (8:39 am)
Thx for your original bug post, we knew about the class and superclass issue and fixed it, then I rewrote the Checkers Tutorial to use clone (as well as reworked the checkers demo to use clone) and it just wasn't working properly, problems would occur on exiting (crash problems) mounting didn't work on some of the cloned objects, etc... then I remembered your post and Justin debuged it all the last hour before this release and fixed it, so big thanks to all of your bug reports.
#4
06/01/2006 (8:46 am)
Thanks Matt!