Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-04-07 19:20:20 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-04-07 19:20:20 +0400
commitc5796252651c47c5377e70231b020c432611275d (patch)
treed46b4058ebc47fb93a1ed7f1630090198c059009 /release
parent32c5b09192aaf2cb2e6a2cb5d1165423d77213d9 (diff)
Fix for reconstruction menu which still was using set_floor operator instead of set_plane
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_clip.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_clip.py b/release/scripts/startup/bl_ui/space_clip.py
index 5ee5c34a2a2..5cbe03bba1a 100644
--- a/release/scripts/startup/bl_ui/space_clip.py
+++ b/release/scripts/startup/bl_ui/space_clip.py
@@ -938,7 +938,10 @@ class CLIP_MT_reconstruction(Menu):
layout = self.layout
layout.operator("clip.set_origin")
- layout.operator("clip.set_floor")
+ props = layout.operator("clip.set_plane", text="Set Floor")
+ props.plane = 'FLOOR'
+ props = layout.operator("clip.set_plane", text="Set Wall")
+ props.plane = 'WALL'
layout.operator("clip.set_axis", text="Set X Axis").axis = "X"
layout.operator("clip.set_axis", text="Set Y Axis").axis = "Y"