diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-21 10:37:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-21 10:37:42 +0400 |
commit | 1f8f7310e98764f4a0368a4316a70b34941d5166 (patch) | |
tree | cba3e25dad3f2c8cdaed1c93a97a4ddc3af0d29f /release/scripts | |
parent | d88d41b26513d052700925422db6a9ae469f8299 (diff) |
calculate sticky wasnt working very well and had a few glites -
updating data was only being done on the active object but sticly was being calculated for the selection.
split this into 2 operators, one that works on the selection and another that operates on the active object - so we can have a button in the mesh panels that calculates sticky.
also note that there was no way to calculate sticky from the UI - perhaps this feature should die a quiet death?
anyway - it works better then it used to for now.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_mesh.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py index fba3fa9c635..ee6e432b1c8 100644 --- a/release/scripts/startup/bl_ui/properties_data_mesh.py +++ b/release/scripts/startup/bl_ui/properties_data_mesh.py @@ -326,9 +326,9 @@ class DATA_PT_customdata(MeshButtonsPanel, Panel): # me = context.mesh col = layout.column(align=True) - # row = col.row(align=True) - # row.operator("mesh.customdata_add_sticky", icon='ZOOMIN') - col.operator("mesh.customdata_clear_sticky", icon='X') + row = col.row(align=True) + row.operator("mesh.customdata_create_sticky") + row.operator("mesh.customdata_clear_sticky", icon='X') col.operator("mesh.customdata_clear_mask", icon='X') col.operator("mesh.customdata_clear_skin", icon='X') |