Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-12-31 14:51:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-31 14:51:00 +0300
commitc68e3913ed861b4a932cc47029997f74e6d795cd (patch)
treee0b514d75db869346a3466d353bee36e5e150ed0 /release
parentf0b0cce7bd295ccfbf52411abfd04789fa731c19 (diff)
fix [#25429] Armature modifier and inverted vertex group
- the invert flag was only being used for multi-modifier, but there is no reason not to use this in normal cases as well. - Armature modifier RNA name 'vertex_group' was incorrectly named 'vertex_group_multi_modifier' (own fault), confusion was caused by 'invert_vertex_group_multi_modifier' which was correct.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/properties_data_modifier.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/release/scripts/ui/properties_data_modifier.py b/release/scripts/ui/properties_data_modifier.py
index 49fc86e436e..1bc68a9e977 100644
--- a/release/scripts/ui/properties_data_modifier.py
+++ b/release/scripts/ui/properties_data_modifier.py
@@ -61,14 +61,14 @@ class DATA_PT_modifiers(ModifierButtonsPanel, bpy.types.Panel):
split = layout.split()
- col = split.column()
- col.prop(md, "use_multi_modifier")
- col = col.split()
- col.active = md.use_multi_modifier
- col.prop_search(md, "vertex_group_multi_modifier", ob, "vertex_groups", text="")
+ col = split.split()
+ col.prop_search(md, "vertex_group", ob, "vertex_groups", text="")
sub = col.column()
- sub.active = bool(md.vertex_group_multi_modifier)
- sub.prop(md, "invert_vertex_group_multi_modifier")
+ sub.active = bool(md.vertex_group)
+ sub.prop(md, "invert_vertex_group")
+
+ col = layout.column()
+ col.prop(md, "use_multi_modifier")
def ARRAY(self, layout, ob, md):
layout.prop(md, "fit_type")