diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-05 06:51:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-05 06:51:55 +0400 |
commit | 84dc5c2992553270d267ac8c0e06defd1c78238e (patch) | |
tree | fb5d4c99faa4caa99f4663742dc2cd7cceaa4d2e /source/blender/blenkernel/BKE_object_deform.h | |
parent | a4b71f4e01227d1d6508d8a5cb02301c19523469 (diff) |
code cleanup: move functions for getting defgroup arrays from objects out of editors into blenkernel, since they are generally useful.
Diffstat (limited to 'source/blender/blenkernel/BKE_object_deform.h')
-rw-r--r-- | source/blender/blenkernel/BKE_object_deform.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_object_deform.h b/source/blender/blenkernel/BKE_object_deform.h new file mode 100644 index 00000000000..b0ecf04805a --- /dev/null +++ b/source/blender/blenkernel/BKE_object_deform.h @@ -0,0 +1,37 @@ +/* + * ***** BEGIN GPL LICENSE BLOCK ***** + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * Contributor(s): Campbell Barton + * + * ***** END GPL LICENSE BLOCK ***** + */ + +#ifndef __BKE_OBJECT_DEFORM_H__ +#define __BKE_OBJECT_DEFORM_H__ + +/** \file BKE_object_vgroup.h + * \ingroup bke + * \brief Functions for dealing with objects and deform verts, + * used by painting and tools. + */ + +struct Object; + +char *BKE_objdef_lock_flags_get(struct Object *ob, const int defbase_tot); +char *BKE_objdef_validmap_get(struct Object *ob, const int defbase_tot); + +#endif /* __BKE_OBJECT_DEFORM_H__ */ |