diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-13 12:54:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-13 12:54:33 +0400 |
commit | 7d3e854aebdd26409c9d845487c80a1fbddc73bd (patch) | |
tree | d641ae3136a32fa9fbf6f6cb28053a5eed840405 /release | |
parent | 6324c5fed189f2f977e7571c2762f674a715a469 (diff) |
add hook now has option to add to active bone (mango request).
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 2d9c9467a01..9368d3ab5db 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -1183,6 +1183,7 @@ class VIEW3D_MT_hook(Menu): layout.operator_context = 'EXEC_AREA' layout.operator("object.hook_add_newob") layout.operator("object.hook_add_selob") + layout.operator("object.hook_add_selob", text="Hook to Selected Object Bone").use_bone = True if [mod.type == 'HOOK' for mod in context.active_object.modifiers]: layout.separator() |