diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-08-22 08:11:17 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-08-22 08:11:17 +0400 |
commit | d4407115faaf89061eed36cb69664f071db3fa31 (patch) | |
tree | 5053159c218fabbc828da99163e08c122455f880 /source/blender/editors/object/object_modifier.c | |
parent | 17e3b09e88ad48c1659f2c586c33a725a3bd601f (diff) |
Hook Modifier Bugfixes:
Fixed some typos made in previous commit. Hook Modifier should now work correctly again (and also for newly added Hook relationships)
Notes:
* To add a hook, you currently need to perform the following steps
1) add modifier from menu (no operator in EditMode)
2) specify the object (and/or bone to use as the hook target)
3a) in EditMode, select the vertices you wish to be affected by the hook, and press 'Assign'
3b) alternatively, fill in the vertex-group field for the Vertex Group which contains the vertices to be affected
4) press 'Reset' (to make sure hook will behave correctly)
5) optionally, also press 'Recenter' if the hook position isn't right...
* BUG ALERT (Brecht/Ton): it is impossible to clear the vertexgroup/bone fields once you have assigned some value. Doing backspace+enter (or any other variation) will always result in the first item in the search menu being used.
Diffstat (limited to 'source/blender/editors/object/object_modifier.c')
-rw-r--r-- | source/blender/editors/object/object_modifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c index 1b20f90360a..ec46cea8e84 100644 --- a/source/blender/editors/object/object_modifier.c +++ b/source/blender/editors/object/object_modifier.c @@ -865,7 +865,7 @@ static int hook_reset_exec(bContext *C, wmOperator *op) Mat4MulMat4(mat, pchan->pose_mat, hmd->object->obmat); Mat4Invert(imat, mat); - Mat4MulSerie(hmd->parentinv, imat, mat, NULL, NULL, NULL, NULL, NULL, NULL); + Mat4MulSerie(hmd->parentinv, imat, ob->obmat, NULL, NULL, NULL, NULL, NULL, NULL); } else { Mat4Invert(hmd->object->imat, hmd->object->obmat); |