rBa81ea408367abe2f33b351ff6dcc6b09170fd088 "object" -> "target"
This commit is contained in:
parent
a81ea40836
commit
b6713dcbe5
@ -589,7 +589,7 @@ void shrinkwrapModifier_deform(ShrinkwrapModifierData *smd, Object *ob, DerivedM
|
||||
ShrinkwrapCalcData calc = NULL_ShrinkwrapCalcData;
|
||||
|
||||
/* remove loop dependencies on derived meshes (TODO should this be done elsewhere?)
|
||||
* This also ensure the object is of type OBJ_MESH avoiding crash in `object_get_derived_final` (see T50899). */
|
||||
* This also ensure the target is of type OBJ_MESH avoiding crash in `object_get_derived_final` (see T50899). */
|
||||
if (smd->target) {
|
||||
if (smd->target->type != OB_MESH || smd->target == ob) {
|
||||
smd->target = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user