Fix for bug #5325 - curve deform tool doesn't work correctly
This bug was caused by broken's recent patch to make the Curve modifier determine its axis from the modifier panel, rather than the object's track axis. In the case where a Curve modifier is applied by parenting the object to the curve, the curve axis needs to be copied from the object's track axis in modifiers_getVirtualModifierList(). This commit adds the necessary copy.
This commit is contained in:
@@ -3801,6 +3801,7 @@ ModifierData *modifiers_getVirtualModifierList(Object *ob)
|
||||
return &amd.modifier;
|
||||
} else if(ob->parent->type==OB_CURVE && ob->partype==PARSKEL) {
|
||||
cmd.object = ob->parent;
|
||||
cmd.defaxis = ob->trackflag + 1;
|
||||
cmd.modifier.next = ob->modifiers.first;
|
||||
return &cmd.modifier;
|
||||
} else if(ob->parent->type==OB_LATTICE && ob->partype==PARSKEL) {
|
||||
|
||||
Reference in New Issue
Block a user