vgroup_modifiers: Removed (commented out, for now) addtionnal mapping/clamping options in WeightVGEdit mod, leaving the only curve mapping stuff.

Also, updated all three modifiers with new foreachTexLink walking func.
This commit is contained in:
Bastien Montagne
2011-08-17 13:07:51 +00:00
parent 236a94268e
commit 58af2c36ac
6 changed files with 112 additions and 92 deletions

View File

@@ -779,31 +779,31 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
col.label(text="Default Weight:")
col.prop(md, "default_weight", text="")
layout.prop(md, "use_map")
if md.use_map:
split = layout.split()
col = split.column()
col.label("Input:")
col.label("Output:")
col = split.column()
col.prop(md, "map_input_low", text="Min")
col.prop(md, "map_output_low", text="Min")
col = split.column()
col.prop(md, "map_input_high", text="Max")
col.prop(md, "map_output_high", text="Max")
# layout.prop(md, "use_map")
# if md.use_map:
# split = layout.split()
# col = split.column()
# col.label("Input:")
# col.label("Output:")
# col = split.column()
# col.prop(md, "map_input_low", text="Min")
# col.prop(md, "map_output_low", text="Min")
# col = split.column()
# col.prop(md, "map_input_high", text="Max")
# col.prop(md, "map_output_high", text="Max")
layout.prop(md, "use_map_curve")
if md.use_map_curve:
col = layout.column()
col.template_curve_mapping(md, "map_curve")
layout.prop(md, "use_reverse")
# layout.prop(md, "use_reverse")
layout.prop(md, "use_clamp")
if md.use_clamp:
row = layout.row()
row.prop(md, "clamp_weight_min")
row.prop(md, "clamp_weight_max")
# layout.prop(md, "use_clamp")
# if md.use_clamp:
# row = layout.row()
# row.prop(md, "clamp_weight_min")
# row.prop(md, "clamp_weight_max")
row = layout.row()
row.prop(md, "use_add")