changeset 1139:67927f3a6655 draft

minor fix
author Yutaka_Kinjyo
date Thu, 17 Feb 2011 11:44:29 +0900
parents 8e494f602e45
children 3975c384ff93
files Renderer/Engine/Camera.cc Renderer/Engine/viewer.cc
diffstat 2 files changed, 2 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Renderer/Engine/Camera.cc	Thu Feb 17 10:59:14 2011 +0900
+++ b/Renderer/Engine/Camera.cc	Thu Feb 17 11:44:29 2011 +0900
@@ -115,8 +115,6 @@
 Camera::Camera(float w, float h, SceneGraphRoot *sgroot_)
 {
 
-  printf("camera \n");
-
     name = (char*)"Camera";
     sgroot = sgroot_;
 
--- a/Renderer/Engine/viewer.cc	Thu Feb 17 10:59:14 2011 +0900
+++ b/Renderer/Engine/viewer.cc	Thu Feb 17 11:44:29 2011 +0900
@@ -476,12 +476,8 @@
     
     //多分このsg_remove_listであってる?。チェック対象かも
     for (SceneGraphPtr t = sgroot->sg_remove_list; t != NULL; t = t->next) {
-
-      printf("texture_info addr %d\n",t->texture_info->texture_id);
-
-      if (t->next != NULL) {
 	
-	for (int i = 0; i < t->pp_num; i++) {
+      for (int i = 0; i < t->pp_num; i++) {
 	  HTaskPtr create_pp = manager->create_task(CreatePolygonFromSceneGraph);
 	  
 	  create_pp->add_inData(&t->pp[i], sizeof(PolygonPack));
@@ -516,10 +512,10 @@
 	  task_next->wait_for(create_pp);
 	  create_pp->spawn();
 	} 
-      }
     }
 }
 
+
 void
 Viewer::rendering_sp(HTaskPtr task_next, SceneGraphRoot *sgroot)
 {