From 16efe1ac46fca2fafda292344a37f1f2deede2a0 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 29 Nov 2009 02:14:34 +0000 Subject: [PATCH] UI Scripts Bugfixes: * Toolbar shows "Loopcut and Slide" instead of "Loopcut" now * Follow Path "Offset" option was broken by one of the "use_*" prefix commits --- release/scripts/ui/properties_object_constraint.py | 2 +- release/scripts/ui/space_view3d_toolbar.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/release/scripts/ui/properties_object_constraint.py b/release/scripts/ui/properties_object_constraint.py index 8a1d26518fe..d6552585191 100644 --- a/release/scripts/ui/properties_object_constraint.py +++ b/release/scripts/ui/properties_object_constraint.py @@ -258,7 +258,7 @@ class ConstraintButtonsPanel(bpy.types.Panel): if con.use_fixed_position: col.prop(con, "offset_factor", text="Offset") else: - col.prop(con, "use_offset") + col.prop(con, "offset") row = layout.row() if wide_ui: diff --git a/release/scripts/ui/space_view3d_toolbar.py b/release/scripts/ui/space_view3d_toolbar.py index fe267c725a2..8559efa42c6 100644 --- a/release/scripts/ui/space_view3d_toolbar.py +++ b/release/scripts/ui/space_view3d_toolbar.py @@ -101,7 +101,7 @@ class VIEW3D_PT_tools_meshedit(View3DPanel): col.label(text="Add:") col.operator("mesh.extrude_move") col.operator("mesh.subdivide") - col.operator("mesh.loopcut") + col.operator("mesh.loopcut_slide") col.operator("mesh.duplicate_move") col.operator("mesh.spin") col.operator("mesh.screw")