changeset 1342:a65b98e6e514 draft

minor changes
author e095732 <e095732@ie.u-ryukyu.ac.jp>
date Thu, 12 Jan 2012 14:08:42 +0900
parents fed88ab337b4
children e4a65e0be060
files Renderer/Engine/SceneGraphRoot.cc
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.cc	Wed Jan 11 14:25:30 2012 +0900
+++ b/Renderer/Engine/SceneGraphRoot.cc	Thu Jan 12 14:08:42 2012 +0900
@@ -243,7 +243,7 @@
 	 以下の処理を行なわずにスキップする
       */
       if (xmlStrcmp(cur->name,(xmlChar*)"surface") != 0) {
-	continue;
+	  continue;
       }
       
       /* ポリゴン(SceneGraph)生成
@@ -558,7 +558,6 @@
 xml_walk(xmlNodePtr cur, struct collada_state *s, LIST_P list, SceneGraphRoot *root)
 {
     int in_polylist=0;
-    printf("in xml_walk");
     printf("name = %s, child:%s\n", (char *)cur->name, (char *)cur->children);
     printf("s->polylist = %d\n",s->polylist);
     if (!xmlStrcmp(cur->name, (xmlChar*)"polylist")) {
@@ -643,16 +642,12 @@
 {
     xmlDocPtr doc;
     xmlNodePtr cur;
-    printf("----------------------------");
     // size は取れるはず、テスト用に mmap したデータを使う
     /* パース DOM生成 */
 
     doc = xmlParseMemory(data, len);
     cur = xmlDocGetRootElement(doc);
 
-    /* ??  */
-    xmlStrcmp(cur->name,(xmlChar*)"OBJECT-3D");
-
     /* XMLのノードを一つずつ解析  */
     for (cur=cur->children; cur; cur=cur->next) {
 	/* 扱うのはsurfaceオンリー  */