[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47759] branches/meshdata_transfer/source/ blender/editors/object/object_vgroup.c: style cleanup fixed naming
Ove Murberg Henriksen
sorayasilvermoon at hotmail.com
Mon Jun 11 22:32:43 CEST 2012
Revision: 47759
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47759
Author: cyborgmuppet
Date: 2012-06-11 20:32:34 +0000 (Mon, 11 Jun 2012)
Log Message:
-----------
style cleanup fixed naming
Modified Paths:
--------------
branches/meshdata_transfer/source/blender/editors/object/object_vgroup.c
Modified: branches/meshdata_transfer/source/blender/editors/object/object_vgroup.c
===================================================================
--- branches/meshdata_transfer/source/blender/editors/object/object_vgroup.c 2012-06-11 19:41:33 UTC (rev 47758)
+++ branches/meshdata_transfer/source/blender/editors/object/object_vgroup.c 2012-06-11 20:32:34 UTC (rev 47759)
@@ -3035,9 +3035,9 @@
Object *ob_act = CTX_data_active_object(C);
bDeformGroup *dg_src;
- VertexGroupOption vertex_group_option = RNA_enum_get(op->ptr, "VertexGroupOption");
- MethodOption method_option = RNA_enum_get(op->ptr, "MethodOption");
- ReplaceOption replace_option = RNA_enum_get(op->ptr, "ReplaceOption");
+ VertexGroupOption vertex_group_option = RNA_enum_get(op->ptr, "vertex_group_option");
+ MethodOption method_option = RNA_enum_get(op->ptr, "method_option");
+ ReplaceOption replace_option = RNA_enum_get(op->ptr, "replace_option");
/* Macro to loop through selected objects and perform operation depending on function, option and method */
CTX_DATA_BEGIN(C, Object *, ob_slc, selected_editable_objects)
@@ -3085,9 +3085,9 @@
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
/* properties */
- ot->prop = RNA_def_enum(ot->srna, "VertexGroupOption", vertex_group_option_item, 1, "Group", "");
- ot->prop = RNA_def_enum(ot->srna, "MethodOption", method_option_item, 3, "Method", "");
- ot->prop = RNA_def_enum(ot->srna, "ReplaceOption", replace_option_item, 1, "Replace", "");
+ ot->prop = RNA_def_enum(ot->srna, "vertex_group_option", vertex_group_option_item, 1, "Group", "");
+ ot->prop = RNA_def_enum(ot->srna, "method_option", method_option_item, 3, "Method", "");
+ ot->prop = RNA_def_enum(ot->srna, "replace_option", replace_option_item, 1, "Replace", "");
}
static EnumPropertyItem vgroup_items[] = {
More information about the Bf-blender-cvs
mailing list