diff options
author | Matt Ebb <matt@mke3.net> | 2009-08-29 04:41:14 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-08-29 04:41:14 +0400 |
commit | 732844bb28f1ad7b14d91455ad24df3d3be86e0c (patch) | |
tree | 47b116ff01ea7b57f2363b6ef5cb85a704048c55 /release | |
parent | beee5161a9a48eb1610dcad6d9c136b907b2d8ee (diff) |
* Fixes for point density texture
Diffstat (limited to 'release')
-rw-r--r-- | release/ui/buttons_texture.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/release/ui/buttons_texture.py b/release/ui/buttons_texture.py index 78d5e6af790..ad0542d787a 100644 --- a/release/ui/buttons_texture.py +++ b/release/ui/buttons_texture.py @@ -656,7 +656,6 @@ class TEXTURE_PT_pointdensity(TextureButtonsPanel): tex = context.texture pd = tex.pointdensity - ob = context.object layout.itemR(pd, "point_source", expand=True) @@ -664,8 +663,12 @@ class TEXTURE_PT_pointdensity(TextureButtonsPanel): 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: |