changes for materials to treat them as shorts not int/chars (since they are stored...
[blender-staging.git] / source / blender / collada / MeshImporter.h
index 88ee0e46c336283eec2b09c5d77a8a455149c6e8..208ba4d65c0dc5a6c710d5b02d960d13663bec91 100644 (file)
@@ -141,7 +141,7 @@ public:
                                                                        std::map<COLLADAFW::UniqueId, Material*>& uid_material_map,
                                                                        Object *ob, const COLLADAFW::UniqueId *geom_uid, 
                                                                        MTex **color_texture, char *layername, MTFace *texture_face,
-                                                                       std::map<Material*, TexIndexTextureArrayMap>& material_texture_mapping_map, int mat_index);
+                                                                       std::map<Material*, TexIndexTextureArrayMap>& material_texture_mapping_map, short mat_index);
        
        
        Object *create_mesh_object(COLLADAFW::Node *node, COLLADAFW::InstanceGeometry *geom,