[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31074] branches/render25/release/scripts/ ui/properties_particle.py: Missed file in last commit.

Brecht Van Lommel brecht at blender.org
Thu Aug 5 19:19:57 CEST 2010


Revision: 31074
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31074
Author:   blendix
Date:     2010-08-05 19:19:57 +0200 (Thu, 05 Aug 2010)

Log Message:
-----------
Missed file in last commit.

Modified Paths:
--------------
    branches/render25/release/scripts/ui/properties_particle.py

Modified: branches/render25/release/scripts/ui/properties_particle.py
===================================================================
--- branches/render25/release/scripts/ui/properties_particle.py	2010-08-05 17:19:35 UTC (rev 31073)
+++ branches/render25/release/scripts/ui/properties_particle.py	2010-08-05 17:19:57 UTC (rev 31074)
@@ -712,10 +712,15 @@
         part = psys.settings
         wide_ui = context.region.width > narrowui
 
-        row = layout.row()
-        row.prop(part, "material")
-        row.prop(psys, "parent")
+        split = layout.split()
 
+        sub = split.column()
+        sub.prop(part, "material")
+        sub = split.column()
+        sub.prop(psys, "parent")
+        if part.ren_as == 'PATH':
+        	sub.prop(psys, "source_object", text="Source")
+
         split = layout.split()
 
         sub = split.column()





More information about the Bf-blender-cvs mailing list