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 /source/blender/editors/mesh/mesh_ops.c | |
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 'source/blender/editors/mesh/mesh_ops.c')
-rw-r--r-- | source/blender/editors/mesh/mesh_ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/mesh_ops.c b/source/blender/editors/mesh/mesh_ops.c index 14b27856c8b..840f0498e7e 100644 --- a/source/blender/editors/mesh/mesh_ops.c +++ b/source/blender/editors/mesh/mesh_ops.c @@ -143,7 +143,8 @@ void ED_operatortypes_mesh(void) WM_operatortype_append(MESH_OT_uv_texture_remove); WM_operatortype_append(MESH_OT_vertex_color_add); WM_operatortype_append(MESH_OT_vertex_color_remove); - WM_operatortype_append(MESH_OT_customdata_add_sticky); + WM_operatortype_append(MESH_OT_customdata_create_sticky_selected); + WM_operatortype_append(MESH_OT_customdata_create_sticky); WM_operatortype_append(MESH_OT_customdata_clear_sticky); WM_operatortype_append(MESH_OT_customdata_clear_mask); WM_operatortype_append(MESH_OT_customdata_clear_skin); |