diff options
-rw-r--r-- | source/gameengine/Converter/BL_BlenderDataConversion.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/gameengine/Converter/BL_BlenderDataConversion.cpp b/source/gameengine/Converter/BL_BlenderDataConversion.cpp index 884ab63f93b..3eb00a35904 100644 --- a/source/gameengine/Converter/BL_BlenderDataConversion.cpp +++ b/source/gameengine/Converter/BL_BlenderDataConversion.cpp @@ -907,6 +907,7 @@ RAS_MeshObject* BL_ConvertMesh(Mesh* mesh, Object* blenderobj, KX_Scene* scene, return meshobj; // Get DerivedMesh data DerivedMesh *dm = CDDM_from_mesh(mesh, blenderobj); + DM_ensure_tessface(dm); MVert *mvert = dm->getVertArray(dm); int totvert = dm->getNumVerts(dm); |