Fix #34667: trail_count option missing for Particle (emitter) System Render Panel "Path" UI

Patch from Josh Wedlake, many thanks!
This commit is contained in:
Sergey Sharybin
2013-03-22 09:54:43 +00:00
parent 88683ce71c
commit e4ecdebb87

View File

@@ -843,7 +843,12 @@ class PARTICLE_PT_render(ParticleButtonsPanel, Panel):
col = split.column()
col.label(text="Timing:")
col.prop(part, "use_absolute_path_time")
col.prop(part, "path_start", text="Start", slider=not part.use_absolute_path_time)
if part.type == 'HAIR' or psys.point_cache.is_baked:
col.prop(part, "path_start", text="Start", slider=not part.use_absolute_path_time)
else:
col.prop(part, "trail_count")
col.prop(part, "path_end", text="End", slider=not part.use_absolute_path_time)
col.prop(part, "length_random", text="Random", slider=True)