diff options
author | Janne Karhu <jhkarh@gmail.com> | 2011-02-04 18:48:13 +0300 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2011-02-04 18:48:13 +0300 |
commit | 4e8a8d1e8f59c2b97ce064d52fdab290ca8b2f3d (patch) | |
tree | 49b40239e1b676aa27415db051bc71e1f115e406 /release | |
parent | b407702c5f13a0d2cf77d6728722d6f909e4d19e (diff) |
Improvements for particle grid distribution:
* Particles that aren't shown are now actually deleted (huge memory savings for flat objects).
* Grid distribution for flat objects is now done on the surface object surface without offset.
* Invert grid option wasn't in ui and it didn't work for non-volume grids.
* New parameter to randomize the grid point locations.
* Resolution soft/hard limits changed to even 50/250.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/ui/properties_particle.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/release/scripts/ui/properties_particle.py b/release/scripts/ui/properties_particle.py index 9cde2891177..596d0381f43 100644 --- a/release/scripts/ui/properties_particle.py +++ b/release/scripts/ui/properties_particle.py @@ -190,8 +190,10 @@ class PARTICLE_PT_emission(ParticleButtonsPanel, bpy.types.Panel): row.prop(part, "emit_from", expand=True) row = layout.row() - row.prop(part, "use_emit_random") - if part.distribution != 'GRID': + if part.distribution == 'GRID': + row.prop(part, "invert_grid") + else: + row.prop(part, "use_emit_random") row.prop(part, "use_even_distribution") if part.emit_from == 'FACE' or part.emit_from == 'VOLUME': @@ -206,6 +208,7 @@ class PARTICLE_PT_emission(ParticleButtonsPanel, bpy.types.Panel): row.prop(part, "jitter_factor", text="Jittering Amount", slider=True) elif part.distribution == 'GRID': row.prop(part, "grid_resolution") + row.prop(part, "grid_random", text="Random", slider=True) class PARTICLE_PT_hair_dynamics(ParticleButtonsPanel, bpy.types.Panel): |