changes for materials to treat them as shorts not int/chars (since they are stored...
[blender-staging.git] / source / blender / collada / GeometryExporter.cpp
index 4da0a4c6e1fc7b8a672798efa181a5f2c56ae54c..4892955fd3cc66c8f8a97478183e844b88237eb0 100644 (file)
@@ -129,7 +129,7 @@ void GeometryExporter::operator()(Object *ob)
 }
 
 // powerful because it handles both cases when there is material and when there's not
-void GeometryExporter::createPolylist(int material_index,
+void GeometryExporter::createPolylist(short material_index,
                                        bool has_uvs,
                                        bool has_color,
                                        Object *ob,