# HG changeset patch # User koba # Date 1288082501 -32400 # Node ID 443c01049702b3e10fc1e790bb71af4dee47c87c # Parent aebfb7c63260ef105a0c4acb6b2353a56002c1a4 correct code. diff -r aebfb7c63260 -r 443c01049702 Renderer/Engine/SceneGraphRoot.cc --- 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();