System Information
MacOSX 10.9.4 on PowerBook with NVIDIA GeForce GT 750M 2048 MB
Blender Version
Broken: NVIDIA GeForce GT 750M 2048 MB
Worked: (optional)
Short description of error
I am writing Collada files with <tristrips> (as defined in http://www.khronos.org/files/collada_spec_1_5.pdf) and importing these in Blender. The console shows an error message "Primitive type TRIANGLE_FANS is not supported." but should show "Primitive type TRIANGLE_STRIPS is not supported."
Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps
I think steps to reproduce are not necessary. The source code shows there is an error in the switch:
static const char *bc_primTypeToStr(COLLADAFW::MeshPrimitive::PrimitiveType type)
{
switch (type) {
case COLLADAFW::MeshPrimitive::LINES:
return "LINES";
case COLLADAFW::MeshPrimitive::LINE_STRIPS:
return "LINESTRIPS";
case COLLADAFW::MeshPrimitive::POLYGONS:
return "POLYGONS";
case COLLADAFW::MeshPrimitive::POLYLIST:
return "POLYLIST";
case COLLADAFW::MeshPrimitive::TRIANGLES:
return "TRIANGLES";
case COLLADAFW::MeshPrimitive::TRIANGLE_FANS:
return "TRIANGLE_FANS";
case COLLADAFW::MeshPrimitive::TRIANGLE_STRIPS:
return "TRIANGLE_FANS";
case COLLADAFW::MeshPrimitive::POINTS:
return "POINTS";
case COLLADAFW::MeshPrimitive::UNDEFINED_PRIMITIVE_TYPE:
return "UNDEFINED_PRIMITIVE_TYPE";
}
return "UNKNOWN";
}