diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-06-22 16:04:06 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-06-22 16:12:03 +0300 |
commit | 888fb065a4c2494eb3ec94f734194843d7b03118 (patch) | |
tree | 643c25ca58373c67d778ccfe0a2d703e19b89253 /source/blender/editors/object | |
parent | a7ca8fe1dd111f0b99c1b17cdd6b0f7e1c6f987b (diff) |
Modifiers: Remove remaining parts of md->scene
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r-- | source/blender/editors/object/object_modifier.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c index f66a69253e8..9d7ca44ce16 100644 --- a/source/blender/editors/object/object_modifier.c +++ b/source/blender/editors/object/object_modifier.c @@ -527,8 +527,6 @@ static int modifier_apply_shape( { const ModifierTypeInfo *mti = modifierType_getInfo(md->type); - md->scene = scene; - if (mti->isDisabled && mti->isDisabled(scene, md, 0)) { BKE_report(reports, RPT_ERROR, "Modifier is disabled, skipping apply"); return 0; @@ -587,8 +585,6 @@ static int modifier_apply_obdata(ReportList *reports, Depsgraph *depsgraph, Scen { const ModifierTypeInfo *mti = modifierType_getInfo(md->type); - md->scene = scene; - if (mti->isDisabled && mti->isDisabled(scene, md, 0)) { BKE_report(reports, RPT_ERROR, "Modifier is disabled, skipping apply"); return 0; |