From 11145c7c22e29ed635c2bd729bd36c15fc7b0240 Mon Sep 17 00:00:00 2001 From: Gaia Clary Date: Mon, 1 Jul 2013 19:30:41 +0000 Subject: Restrict Weight Edit Panel to mesh/lattice Edit and Weight Paint vertex selection mode --- source/blender/editors/include/ED_object.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/ED_object.h b/source/blender/editors/include/ED_object.h index 90b131e5acc..eb99b5976d4 100644 --- a/source/blender/editors/include/ED_object.h +++ b/source/blender/editors/include/ED_object.h @@ -214,6 +214,9 @@ struct EnumPropertyItem *ED_object_vgroup_selection_itemf_helper( int *free, const unsigned int selection_mask); +bool ED_vgroup_object_in_edit_mode(struct Object *ob); +bool ED_vgroup_object_in_wpaint_vert_select(struct Object *ob); + #ifdef __cplusplus } #endif -- cgit v1.2.3