Revision: 46482 http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46482 Author: jesterking Date: 2012-05-09 22:54:18 +0000 (Wed, 09 May 2012) Log Message: ----------- Apply [#30199] Fix COLLADA export of material names Submitted by Daniel Balster
Modified Paths: -------------- trunk/blender/source/blender/collada/MaterialExporter.cpp Modified: trunk/blender/source/blender/collada/MaterialExporter.cpp =================================================================== --- trunk/blender/source/blender/collada/MaterialExporter.cpp 2012-05-09 20:47:13 UTC (rev 46481) +++ trunk/blender/source/blender/collada/MaterialExporter.cpp 2012-05-09 22:54:18 UTC (rev 46482) @@ -70,7 +70,7 @@ { std::string name(id_name(ma)); - openMaterial(get_material_id(ma), name); + openMaterial(get_material_id(ma), get_material_id(ma)); std::string efid = translate_id(name) + "-effect"; addInstanceEffect(COLLADASW::URI(COLLADABU::Utils::EMPTY_STRING, efid)); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs