Mercurial > hg > Game > Cerium
changeset 1318:a788b093ef79 draft
minor changes.
author | Taiki TAIRA <e095767@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 16 Dec 2011 18:16:48 +0900 |
parents | afe66d75f48a |
children | 31455d34e502 |
files | Renderer/Engine/SceneGraphRoot.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.cc Fri Dec 16 17:45:57 2011 +0900 +++ b/Renderer/Engine/SceneGraphRoot.cc Fri Dec 16 18:16:48 2011 +0900 @@ -368,7 +368,7 @@ s->polylist=1; in_polylist=1; - } else if (!xmlStrcmp(cur->name, (xmlChar*)"vertices") { + } else if (!xmlStrcmp(cur->name, (xmlChar*)"vertices")) { char *vertices_src = (char*)xmlGetProp(cur, (xmlChar*)"source"); s->pid = xmlGetProp(cur, (xmlChar*)"id"); @@ -376,7 +376,7 @@ s->pcount = malloc(sizeof(float)*sum); - } else if (s->polylist && !xmlStrcmp(cur->name, (xmlChar*)"input") { + } else if (s->polylist && !xmlStrcmp(cur->name, (xmlChar*)"input")) { char *semantic = (char*)xmlGetProp(cur, (xmlChar*)"semantic"); if (!xmlStrcmp(semantic, "VERTEX")) { char *vertex_src = (char*)xmlGetProp(cur, (xmlChar*)"source");