diff options
-rw-r--r-- | source/blender/blenkernel/intern/multires_reshape.h | 1 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/multires_reshape_util.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/multires_reshape.h b/source/blender/blenkernel/intern/multires_reshape.h index deeb885e15a..79d3c48869f 100644 --- a/source/blender/blenkernel/intern/multires_reshape.h +++ b/source/blender/blenkernel/intern/multires_reshape.h @@ -39,6 +39,7 @@ typedef struct MultiresReshapeContext { /* NOTE: Only available when context is initialized from object. */ struct Depsgraph *depsgraph; struct Object *object; + struct MultiresModifierData *mmd; /* Base mesh from original object. diff --git a/source/blender/blenkernel/intern/multires_reshape_util.c b/source/blender/blenkernel/intern/multires_reshape_util.c index 495b60c1238..165f1929643 100644 --- a/source/blender/blenkernel/intern/multires_reshape_util.c +++ b/source/blender/blenkernel/intern/multires_reshape_util.c @@ -218,6 +218,7 @@ bool multires_reshape_context_create_from_subdivide(MultiresReshapeContext *resh Mesh *base_mesh = (Mesh *)object->data; + reshape_context->mmd = mmd; reshape_context->base_mesh = base_mesh; reshape_context->subdiv = multires_reshape_create_subdiv(NULL, object, mmd); |