Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastián Barschkis <sebbas@sebbas.org>2021-03-12 14:29:48 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2021-03-12 19:24:53 +0300
commitb01e9ad4f0e34f83c582d1a3c1e3c90f2586dcf5 (patch)
treed540c14a2f835451fd6dee4b5195c937fd43306d /release/scripts/startup/bl_ui/properties_particle.py
parentabe1a061f8aab5c9357ff92fd6b579a8a9553f0d (diff)
Fluid: Enable scale options for fluid particles
There is no reason to hide the 'Scale' and 'Scale Randomness' options for fluid particles that are rendered as 'Object'. It is possible that hiding these options was just an oversight and not intentional.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_particle.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_particle.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py
index 60caa39b723..a9f040db9b5 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -1263,6 +1263,8 @@ class PARTICLE_PT_render(ParticleButtonsPanel, Panel):
if (
part.type == 'EMITTER' or
+ part.type in {'FLIP', 'SPRAY', 'BUBBLE', 'FOAM', 'TRACER',
+ 'SPRAYFOAM', 'SPRAYBUBBLE', 'FOAMBUBBLE', 'SPRAYFOAMBUBBLE'} or
(part.render_type in {'OBJECT', 'COLLECTION'} and part.type == 'HAIR')
):
if part.render_type != 'NONE':