fixed mesh loading fail
authorDae Young Ryu <karzia@samsung.com>
Wed, 29 Jan 2014 01:37:14 +0000 (10:37 +0900)
committerDae Young Ryu <karzia@samsung.com>
Wed, 29 Jan 2014 01:37:14 +0000 (10:37 +0900)
Change-Id: I2367556f250d0b571b39af9c9361b8b3cf00cf37
Signed-off-by: Dae Young Ryu <karzia@samsung.com>
src/ui/animations/import-collada/library-effects/FUiAnim_ImportColladaLibEffCommonShaderData.cpp

index 18dfdf4..ab920e1 100644 (file)
@@ -78,7 +78,8 @@ CommonShaderData::ParseColorOrTextureType(xmlNodePtr node, commonColorOrTextureT
 
        if (node != null)
        {
-               xmlNodePtr firstChild = node->children->next;
+               //xmlNodePtr firstChild = node->children->next; //WARNING: please check me!!
+               xmlNodePtr firstChild = node->children;
                std::string firstChildName((const char*)firstChild->name);
 
                if (firstChildName.compare("color") == 0)
@@ -118,7 +119,8 @@ CommonShaderData::ParseFloatOrParamType(xmlNodePtr node, commonFloatOrParamType&
 
        if (node != null)
        {
-               xmlNodePtr firstChild = node->children->next;
+               //xmlNodePtr firstChild = node->children->next; //WARNING: please check me!!
+               xmlNodePtr firstChild = node->children;
                std::string firstChildName((const char*)firstChild->name);
 
                if (firstChildName.compare("float") == 0)