diff Renderer/Engine/SceneGraphRoot.cc @ 1122:ec6b55aed337 draft

CreateSpan ver 1118. (can work Mac)
author tkaito
date Tue, 01 Feb 2011 15:50:10 +0900
parents ee481853d5dd
children f326494ffdc7
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.cc	Fri Jan 28 23:04:59 2011 +0900
+++ b/Renderer/Engine/SceneGraphRoot.cc	Tue Feb 01 15:50:10 2011 +0900
@@ -252,15 +252,7 @@
 int
 SceneGraphRoot::getSgid(const char *name)
 {
-  /*
-    for(int i =0;i<= sg_src_id; i++) {
-	if (sg_src[i] && strcmp(name,sg_src[i]->name) == 0)
-	    return i;
-    }
-    return -1;
-  */
-  return sgid_hash.get_sgid(name);
-    
+  return sgid_hash.get_sgid(name);    
 }
 
 int