diff options
author | Daniel Salazar <zanqdo@gmail.com> | 2011-02-01 04:18:16 +0300 |
---|---|---|
committer | Daniel Salazar <zanqdo@gmail.com> | 2011-02-01 04:18:16 +0300 |
commit | 7b3a49af8c455d433cbccd7bff8948e6ada28d33 (patch) | |
tree | 34ec31e6aaa943b51b4cf0af784b7095beb2d715 /release/scripts/ui | |
parent | dc8078e667e69d3027792a38efda7ed5cfc517d2 (diff) |
Added Center button to backdrop controls in node editor's side panel
Inlined backdrop's zoom ui limits and hard limits so that
going to minimun and going back to 100 works
Diffstat (limited to 'release/scripts/ui')
-rw-r--r-- | release/scripts/ui/space_node.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/ui/space_node.py b/release/scripts/ui/space_node.py index 56790add025..e5398ca7c73 100644 --- a/release/scripts/ui/space_node.py +++ b/release/scripts/ui/space_node.py @@ -188,6 +188,7 @@ class NODE_PT_properties(bpy.types.Panel): col = layout.column(align=True) col.label(text="Offset:") + col.operator("node.view_all", text="Center") col.prop(snode, "backdrop_x", text="X") col.prop(snode, "backdrop_y", text="Y") col.operator("node.backimage_move", text="Move") |