Debug drawing feature to visualize the hair continuum grid.

This commit is contained in:
Lukas Tönne
2014-10-31 14:23:32 +01:00
parent aea309779f
commit c3968861b3
8 changed files with 127 additions and 4 deletions

View File

@@ -343,7 +343,9 @@ class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel, Panel):
col.label(text="Quality:")
col.prop(cloth, "quality", text="Steps", slider=True)
col.prop(cloth_md, "show_debug_data", text="Debug")
row = col.row()
row.prop(psys.settings, "show_hair_grid", text="HairGrid")
row.prop(cloth_md, "show_debug_data", text="Debug")
if result:
box = layout.box()