[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30777] trunk/blender/release/scripts/ui/ space_node.py: == node editor ==
Luca Bonavita
mindrones at gmail.com
Mon Jul 26 23:37:56 CEST 2010
Revision: 30777
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30777
Author: mindrones
Date: 2010-07-26 23:37:55 +0200 (Mon, 26 Jul 2010)
Log Message:
-----------
== node editor ==
- added backdrop commands in the view menu
I couldnt finf them in the menus and also liquidape asked for them
- added cut links command in menu, since also this one wasnt thast obvious (now it's ctrl-drag)
- micro patch reviewed by jesterKing
Modified Paths:
--------------
trunk/blender/release/scripts/ui/space_node.py
Modified: trunk/blender/release/scripts/ui/space_node.py
===================================================================
--- trunk/blender/release/scripts/ui/space_node.py 2010-07-26 21:35:24 UTC (rev 30776)
+++ trunk/blender/release/scripts/ui/space_node.py 2010-07-26 21:37:55 UTC (rev 30777)
@@ -90,6 +90,13 @@
layout.operator("node.view_all")
+ if context.space_data.backdrop:
+ layout.separator()
+
+ layout.operator("node.backimage_move",text = "Backdrop move")
+ layout.operator("node.backimage_zoom",text = "Backdrop zoom in").factor = 1.2
+ layout.operator("node.backimage_zoom",text = "Backdrop zoom out").factor = 0.833
+
layout.separator()
layout.operator("screen.area_dupli")
@@ -131,6 +138,7 @@
layout.separator()
layout.operator("node.link_make")
layout.operator("node.link_make", text="Make and Replace Links").replace = True
+ layout.operator("node.links_cut")
layout.separator()
layout.operator("node.group_edit")
More information about the Bf-blender-cvs
mailing list