Con::execute - 0 has no namespace: onRemoveFromScene
by Zachary · in Technical Issues · 01/07/2009 (9:59 pm) · 6 replies
I get this error whenever I use the clone function in TGB. Doesn't seem to cause any problems, but it spams up my log pretty good. Any ideas?
thanks
-Zach
thanks
-Zach
About the author
#2
08/18/2010 (7:19 am)
Me too... nobody will answer this post?
#3
08/20/2010 (4:48 am)
Bump. I'm getting this same error with 1.7.5
#4
09/02/2010 (9:30 am)
Just our workaround: This error only occurs if you use "clone(true)". So if you don't need to copy the dynamic fields, use "clone(false)" instead.
#5
11/02/2010 (11:06 pm)
I get the same thing when I create new tile layers, either with or without dynamic fields:new t2dTileLayer() {
scenegraph = PlatformerSceneGraph;
LayerFile = %lay;
Position = %posit;
};new t2dTileLayer() {
scenegraph = PlatformerSceneGraph;
class = "backgroundClass";
typ = %typ;
numb = %numb;
vel = %vel;
LayerFile = %lay;
Position = %posit;
UsesPhysics = %phys;
};
#6
01/23/2011 (9:12 am)
I got the same error when creating a t2dStaticSprite. I was using a datablock to init the sprite. When I moved the scenegraph out of the datablock and into the sprite declaration it fixed the problem. Not really sure what's causing it exactly but it is possible to avoid with a little trial and error.
Torque Owner Rob Evans