rBa81ea408367abe2f33b351ff6dcc6b09170fd088 "object" -> "target"

This commit is contained in:
Germano Cavalcante 2017-03-10 13:54:06 -03:00
parent a81ea40836
commit b6713dcbe5
1 changed files with 1 additions and 1 deletions

View File

@ -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;