Mercurial > hg > Members > kono > Cerium
changeset 1006:443c01049702
correct code.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 26 Oct 2010 17:41:41 +0900 |
parents | aebfb7c63260 |
children | 18a548c337cb |
files | Renderer/Engine/SceneGraphRoot.cc |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.cc Tue Oct 26 17:36:18 2010 +0900 +++ b/Renderer/Engine/SceneGraphRoot.cc Tue Oct 26 17:41:41 2010 +0900 @@ -8,8 +8,6 @@ #include "texture.h" #include "Application.h" -//取りあえず動かす用 本来はA pplication 側で定義した post_func で値の更新するべき -#include "../../../task_dandy/dandy.h" static int cnt = 0; static const int SGLIST_LENGTH = 138; @@ -752,8 +750,10 @@ void *e = node->propertyptr; int move = node->move_id; PostFunction post_func = node->post_func; +/* ObjPropertyPtr property = (ObjPropertyPtr)node->propertyptr; property->root = node; +*/ SceneGraphRoot *sgroottmp = (SceneGraphRoot*)sgroot_; @@ -767,8 +767,10 @@ void *e = node->propertyptr; int move = node->move_id; PostFunction post_func = node->post_func; +/* ObjPropertyPtr property = (ObjPropertyPtr)node->propertyptr; property->root = node; +*/ SceneGraphRoot *sgroottmp = (SceneGraphRoot*)sgroot_; void *pad = (void*)sgroottmp->getController();