diff options
Diffstat (limited to 'intern/boolop')
-rw-r--r-- | intern/boolop/intern/BOP_Interface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/boolop/intern/BOP_Interface.cpp b/intern/boolop/intern/BOP_Interface.cpp index 518ea69982c..d069c9d4664 100644 --- a/intern/boolop/intern/BOP_Interface.cpp +++ b/intern/boolop/intern/BOP_Interface.cpp @@ -533,6 +533,8 @@ BSP_CSGMesh* BOP_exportMesh(BOP_Mesh* mesh, { BSP_CSGMesh* outputMesh = BOP_newEmptyMesh(props); + if (outputMesh == NULL) return NULL; + // User data handlers BSP_CSGUserData* outputFaceVtxData = &(outputMesh->FaceVertexData()); BSP_CSGUserData* outputFaceData = &(outputMesh->FaceData()); |