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:
authorAntonio Vazquez <blendergit@gmail.com>2020-01-23 18:56:26 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-01-23 18:56:26 +0300
commitfb671035be082a67e6ffc58fb098c0d5140ba6b0 (patch)
treed8befc157c786d22c4ae66aa490b990adc7958ef /release
parent8482ba6d2e1a97e038175a7fb693ed40c03ca5d9 (diff)
parentd9d11e2faf0502eab215f8f13661972f9b459d3a (diff)
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_particle.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py
index 2028857640e..34ff386893b 100644
--- a/release/scripts/startup/bl_ui/properties_particle.py
+++ b/release/scripts/startup/bl_ui/properties_particle.py
@@ -582,7 +582,10 @@ class PARTICLE_PT_rotation(ParticleButtonsPanel, Panel):
else:
part = context.space_data.pin_id
- self.layout.prop(part, "use_rotations", text="")
+ layout = self.layout
+ layout.prop(part, "use_rotations", text="")
+ layout.enabled = particle_panel_enabled(context, psys) and part.use_rotations
+
def draw(self, context):
layout = self.layout