[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [22854] branches/blender2.5/blender/ release/ui/buttons_texture.py: * Fixes for point density texture
Matt Ebb
matt at mke3.net
Sat Aug 29 02:41:14 CEST 2009
Revision: 22854
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=22854
Author: broken
Date: 2009-08-29 02:41:14 +0200 (Sat, 29 Aug 2009)
Log Message:
-----------
* Fixes for point density texture
Modified Paths:
--------------
branches/blender2.5/blender/release/ui/buttons_texture.py
Modified: branches/blender2.5/blender/release/ui/buttons_texture.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_texture.py 2009-08-28 23:34:13 UTC (rev 22853)
+++ branches/blender2.5/blender/release/ui/buttons_texture.py 2009-08-29 00:41:14 UTC (rev 22854)
@@ -656,7 +656,6 @@
tex = context.texture
pd = tex.pointdensity
- ob = context.object
layout.itemR(pd, "point_source", expand=True)
@@ -664,8 +663,12 @@
col = split.column()
if pd.point_source == 'PARTICLE_SYSTEM':
+ col.itemL(text="Object:")
+ col.itemR(pd, "object", text="")
+ col = col.column()
+ col.enabled = pd.object
col.itemL(text="System:")
- col.item_pointerR(pd, "particle_system", ob, "particle_systems", text="")
+ col.item_pointerR(pd, "particle_system", pd.object, "particle_systems", text="")
col.itemL(text="Cache:")
col.itemR(pd, "particle_cache", text="")
else:
More information about the Bf-blender-cvs
mailing list