[Bf-blender-cvs] [1b8781b] hair_immediate_fixes: Fix for hair shape key ui script.
Lukas Tönne
noreply at git.blender.org
Fri Oct 3 14:20:39 CEST 2014
Commit: 1b8781b40e3ab13edec209d9130c31239bd90360
Author: Lukas Tönne
Date: Fri Oct 3 14:19:32 2014 +0200
Branches: hair_immediate_fixes
https://developer.blender.org/rB1b8781b40e3ab13edec209d9130c31239bd90360
Fix for hair shape key ui script.
===================================================================
M release/scripts/startup/bl_ui/properties_particle.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py
index 2d54a8e..fa6b1c5 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -435,7 +435,7 @@ class PARTICLE_PT_shape_keys(ParticleButtonsPanel, Panel):
sub.operator("particle.shape_key_retime", icon='RECOVER_LAST', text="")
if key.use_relative:
- if ob.active_shape_key_index != 0:
+ if psys.active_shape_key_index != 0:
row = layout.row()
row.active = enable_edit_value
row.prop(kb, "value")
@@ -451,7 +451,7 @@ class PARTICLE_PT_shape_keys(ParticleButtonsPanel, Panel):
col = split.column(align=True)
col.active = enable_edit_value
col.label(text="Blend:")
- col.prop_search(kb, "vertex_group", ob, "vertex_groups", text="")
+ #col.prop_search(kb, "vertex_group", psys, "vertex_groups", text="")
col.prop_search(kb, "relative_key", key, "key_blocks", text="")
else:
More information about the Bf-blender-cvs
mailing list