diff options
author | Juha Mäki-Kanto <ih5235252@gmail.com> | 2012-05-02 20:18:20 +0400 |
---|---|---|
committer | Juha Mäki-Kanto <ih5235252@gmail.com> | 2012-05-02 20:18:20 +0400 |
commit | 66581e903c346e60797669693de99fd710806af6 (patch) | |
tree | 5f3d02748dbdfe8d33e8f468a48991cbd445043b /source/blender/collada/DocumentImporter.cpp | |
parent | ade7f59d0a7163c14afaa0a5418698149d141d4b (diff) |
Fix #31176: Collada model shows weird textures in editmode
Issue with multimaterial meshes and mface to mpoly conversion being before assignment of materials (which is done on meshobject instancing?).
Added explicit bmesh conversion to MeshImporter which is called from DocumentImporter::import.
Diffstat (limited to 'source/blender/collada/DocumentImporter.cpp')
-rw-r--r-- | source/blender/collada/DocumentImporter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/collada/DocumentImporter.cpp b/source/blender/collada/DocumentImporter.cpp index a1f69ef16bd..947bedc2ff7 100644 --- a/source/blender/collada/DocumentImporter.cpp +++ b/source/blender/collada/DocumentImporter.cpp @@ -144,6 +144,8 @@ bool DocumentImporter::import() delete ehandler; + mesh_importer.bmeshConversion(); + return true; } |