From 29ffcf408f6e87673521492e452cb74eee4fc039 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 2 May 2013 01:49:10 +0000 Subject: remove re-allocations while building weight paint color array, move button to show weightpaint below other overlay buttons in the 'Mesh Display' panel. --- release/scripts/startup/bl_ui/space_view3d.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index c4507e2101e..42efdcf4171 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -2570,8 +2570,6 @@ class VIEW3D_PT_view3d_meshdisplay(Panel): mesh = context.active_object.data - layout.prop(mesh, "show_weight") - split = layout.split() col = split.column() @@ -2582,6 +2580,8 @@ class VIEW3D_PT_view3d_meshdisplay(Panel): if with_freestyle: col.prop(mesh, "show_edge_seams", text="Seams") + layout.prop(mesh, "show_weight") + col = split.column() col.label() if not with_freestyle: -- cgit v1.2.3