[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55500] trunk/blender/release/scripts/ startup/bl_ui/properties_particle.py: Fix #34667: trail_count option missing for Particle (emitter) System Render Panel " Path" UI

Sergey Sharybin sergey.vfx at gmail.com
Fri Mar 22 10:54:43 CET 2013


Revision: 55500
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55500
Author:   nazgul
Date:     2013-03-22 09:54:43 +0000 (Fri, 22 Mar 2013)
Log Message:
-----------
Fix #34667: trail_count option missing for Particle (emitter) System Render Panel "Path" UI

Patch from Josh Wedlake, many thanks!

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/properties_particle.py

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_particle.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_particle.py	2013-03-22 09:42:16 UTC (rev 55499)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_particle.py	2013-03-22 09:54:43 UTC (rev 55500)
@@ -843,7 +843,12 @@
             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)
 




More information about the Bf-blender-cvs mailing list