Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2020-08-07 18:08:44 +0300
committerBastien Montagne <bastien@blender.org>2020-08-07 18:08:44 +0300
commitc4b1ef45a09575aaba91d41c40123def42209d37 (patch)
treef3941d17d4f95256e2de2035a16e94cc387130d2 /source/blender
parentbe83b8f456634cb627ef12a4904a5916a3d880f3 (diff)
parent8fa42f0bd4e84b49fbba64df771bf63da5b6477d (diff)
Merge branch 'blender-v2.90-release'
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/modifiers/intern/MOD_boolean.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_boolean.c b/source/blender/modifiers/intern/MOD_boolean.c
index 1d39aa786a5..35aa7805db8 100644
--- a/source/blender/modifiers/intern/MOD_boolean.c
+++ b/source/blender/modifiers/intern/MOD_boolean.c
@@ -44,6 +44,7 @@
#include "BKE_lib_query.h"
#include "BKE_material.h"
#include "BKE_mesh.h"
+#include "BKE_mesh_wrapper.h"
#include "BKE_modifier.h"
#include "BKE_screen.h"
@@ -177,6 +178,9 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *
Object *other = bmd->object;
mesh_other = BKE_modifier_get_evaluated_mesh_from_evaluated_object(other, false);
+ /* XXX This is utterly non-optimal, we may go from a bmesh to a mesh back to a bmesh!
+ * But for 2.90 better not try to be smart here. */
+ BKE_mesh_wrapper_ensure_mdata(mesh_other);
if (mesh_other) {
Object *object = ctx->object;