Fix DEG warning from T52873: Proximity WeightVG modifier can use empty as target...
authorBastien Montagne <montagne29@wanadoo.fr>
Wed, 20 Mar 2019 20:12:34 +0000 (21:12 +0100)
committerBastien Montagne <montagne29@wanadoo.fr>
Wed, 20 Mar 2019 20:12:34 +0000 (21:12 +0100)
commitc2f0bd6aed304f0a51dd4cd086312861f42a6821
tree0bab5a4e61c3576c9af3d3bcb072e855836ab02d
parent1cf592e62e31040628afaf4352e880a452b63756
Fix DEG warning from T52873: Proximity WeightVG modifier can use empty as target too.

Only create DEG_OB_COMP_GEOMETRY relation to target object when it has
some, and we use it.
source/blender/modifiers/intern/MOD_weightvgproximity.c