diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-21 07:41:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-21 07:41:59 +0400 |
commit | b889e9c573cc5512cfd0a9a466928b1387235a76 (patch) | |
tree | 3f4a430d5dde846b337c2f041d8ff6ad0f46c2ce /source/blender/editors/mesh/mesh_intern.h | |
parent | e38c1a5ae721630c217ca7830fd7aabf6f4620e0 (diff) |
There was no way to remove mesh data layers from the interface - add a panel that works in object an editmode.
currently can remove sticky/mask/skin vertex layers.
regarding the skin layer - while adding and removing the modifier normally works fine, its not 100% reliable since the mesh may be linked into another scene, or be a linked duplicate and the object with the modifier deleted.
Diffstat (limited to 'source/blender/editors/mesh/mesh_intern.h')
-rw-r--r-- | source/blender/editors/mesh/mesh_intern.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/mesh_intern.h b/source/blender/editors/mesh/mesh_intern.h index 41666740730..0f34815c06a 100644 --- a/source/blender/editors/mesh/mesh_intern.h +++ b/source/blender/editors/mesh/mesh_intern.h @@ -187,8 +187,12 @@ void MESH_OT_uv_texture_add(struct wmOperatorType *ot); void MESH_OT_uv_texture_remove(struct wmOperatorType *ot); void MESH_OT_vertex_color_add(struct wmOperatorType *ot); void MESH_OT_vertex_color_remove(struct wmOperatorType *ot); -void MESH_OT_sticky_add(struct wmOperatorType *ot); -void MESH_OT_sticky_remove(struct wmOperatorType *ot); +void MESH_OT_customdata_add_sticky(struct wmOperatorType *ot); +void MESH_OT_customdata_clear_sticky(struct wmOperatorType *ot); +/* no add mask yet */ +void MESH_OT_customdata_clear_mask(struct wmOperatorType *ot); +void MESH_OT_customdata_clear_skin(struct wmOperatorType *ot); + void MESH_OT_drop_named_image(struct wmOperatorType *ot); /* ************* bmesh_tools.c ***********/ |