[Bf-blender-cvs] [f86ae7f] testbuild: Fix T41528: Error message on trying to import COLLADA triangle strips is wrong
Thomas Dinges
noreply at git.blender.org
Fri Aug 22 15:13:43 CEST 2014
Commit: f86ae7f348f9416607e73bbd8530f3bbbbe0536e
Author: Thomas Dinges
Date: Fri Aug 22 02:46:29 2014 +0200
Branches: testbuild
https://developer.blender.org/rBf86ae7f348f9416607e73bbd8530f3bbbbe0536e
Fix T41528: Error message on trying to import COLLADA triangle strips is wrong
Thanks to Maarten Gribnau for the patch.
===================================================================
M source/blender/collada/MeshImporter.cpp
===================================================================
diff --git a/source/blender/collada/MeshImporter.cpp b/source/blender/collada/MeshImporter.cpp
index 211c34e..a4bf1d2 100644
--- a/source/blender/collada/MeshImporter.cpp
+++ b/source/blender/collada/MeshImporter.cpp
@@ -84,7 +84,7 @@ static const char *bc_primTypeToStr(COLLADAFW::MeshPrimitive::PrimitiveType type
case COLLADAFW::MeshPrimitive::TRIANGLE_FANS:
return "TRIANGLE_FANS";
case COLLADAFW::MeshPrimitive::TRIANGLE_STRIPS:
- return "TRIANGLE_FANS";
+ return "TRIANGLE_STRIPS";
case COLLADAFW::MeshPrimitive::POINTS:
return "POINTS";
case COLLADAFW::MeshPrimitive::UNDEFINED_PRIMITIVE_TYPE:
More information about the Bf-blender-cvs
mailing list