diff Renderer/Engine/SceneGraphRoot.cc @ 1136:f326494ffdc7 draft

not work ieshoot. not check Cell
author Yutaka_Kinjyo
date Thu, 17 Feb 2011 10:50:40 +0900
parents ec6b55aed337
children 786e800abfb4
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.cc	Wed Feb 16 02:08:17 2011 +0900
+++ b/Renderer/Engine/SceneGraphRoot.cc	Thu Feb 17 10:50:40 2011 +0900
@@ -210,7 +210,7 @@
     src = sg_src[id];
 
     /* ユーザーにはオリジナルの clone を返す */
-    p = src->clone();
+    p = src->clone(this->tmanager);
 
     /* move, collision に sgroot を渡したいのでここで sgroot を渡しておく*/
     p->sgroot = (void *)this;
@@ -239,7 +239,7 @@
     src = sg_src[id];
 
     /* ユーザーにはオリジナルの clone を返す */
-    p = src->clone();
+    p = src->clone(this->tmanager);
     
     /* move, collision に sgroot を渡したいのでここで sgroot を渡しておく*/
     p->sgroot = (void *)this;
@@ -374,7 +374,7 @@
     while (t) {
 	SceneGraphPtr c = NULL;
 	if (!t->isRemoved()) {
-	    c = t->clone();
+	    c = t->clone(this->tmanager);
 	    addNext(c);
 	    cur_parent->addChild(c);
 	    c->frame = t->frame;