"Fix" for [#23640] particle system partially indifferent to vertex groups

* Some particle vertex groups haven't yet been reimplemented so commented these out in ui.
This commit is contained in:
Janne Karhu 2010-09-03 05:48:19 +00:00
parent c4d2586019
commit b06abafe7a

@ -1037,9 +1037,10 @@ class PARTICLE_PT_vertexgroups(ParticleButtonsPanel, bpy.types.Panel):
row.prop_search(psys, "vertex_group_density", ob, "vertex_groups", text="Density") row.prop_search(psys, "vertex_group_density", ob, "vertex_groups", text="Density")
row.prop(psys, "invert_vertex_group_density", text="") row.prop(psys, "invert_vertex_group_density", text="")
row = layout.row() # Commented out vertex groups don't work and are still waiting for better implementation
row.prop_search(psys, "vertex_group_velocity", ob, "vertex_groups", text="Velocity") # row = layout.row()
row.prop(psys, "invert_vertex_group_velocity", text="") # row.prop_search(psys, "vertex_group_velocity", ob, "vertex_groups", text="Velocity")
# row.prop(psys, "invert_vertex_group_velocity", text="")
row = layout.row() row = layout.row()
row.prop_search(psys, "vertex_group_length", ob, "vertex_groups", text="Length") row.prop_search(psys, "vertex_group_length", ob, "vertex_groups", text="Length")
@ -1065,21 +1066,21 @@ class PARTICLE_PT_vertexgroups(ParticleButtonsPanel, bpy.types.Panel):
row.prop_search(psys, "vertex_group_roughness_end", ob, "vertex_groups", text="Roughness End") row.prop_search(psys, "vertex_group_roughness_end", ob, "vertex_groups", text="Roughness End")
row.prop(psys, "invert_vertex_group_roughness_end", text="") row.prop(psys, "invert_vertex_group_roughness_end", text="")
row = layout.row() # row = layout.row()
row.prop_search(psys, "vertex_group_size", ob, "vertex_groups", text="Size") # row.prop_search(psys, "vertex_group_size", ob, "vertex_groups", text="Size")
row.prop(psys, "invert_vertex_group_size", text="") # row.prop(psys, "invert_vertex_group_size", text="")
row = layout.row() # row = layout.row()
row.prop_search(psys, "vertex_group_tangent", ob, "vertex_groups", text="Tangent") # row.prop_search(psys, "vertex_group_tangent", ob, "vertex_groups", text="Tangent")
row.prop(psys, "invert_vertex_group_tangent", text="") # row.prop(psys, "invert_vertex_group_tangent", text="")
row = layout.row() # row = layout.row()
row.prop_search(psys, "vertex_group_rotation", ob, "vertex_groups", text="Rotation") # row.prop_search(psys, "vertex_group_rotation", ob, "vertex_groups", text="Rotation")
row.prop(psys, "invert_vertex_group_rotation", text="") # row.prop(psys, "invert_vertex_group_rotation", text="")
row = layout.row() # row = layout.row()
row.prop_search(psys, "vertex_group_field", ob, "vertex_groups", text="Field") # row.prop_search(psys, "vertex_group_field", ob, "vertex_groups", text="Field")
row.prop(psys, "invert_vertex_group_field", text="") # row.prop(psys, "invert_vertex_group_field", text="")
class PARTICLE_PT_custom_props(ParticleButtonsPanel, PropertyPanel, bpy.types.Panel): class PARTICLE_PT_custom_props(ParticleButtonsPanel, PropertyPanel, bpy.types.Panel):