diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-09-13 12:04:07 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-09-13 13:38:49 +0300 |
commit | f7ee2348c00d7263c33b1e05173942349e9bb312 (patch) | |
tree | aef9b4038f8366ed12badc8650e062e0690ba38d /release/scripts/startup/bl_ui/properties_particle.py | |
parent | f85ea4ae3cb991aa593f842496639720084f1277 (diff) |
Fix Particles Keyed Physics target UI greyed out
Picking the 'Target Object' as well as the 'System' number was greyed
out as long as 'Use Timing' was disabled. 'Use Timing' is unrelated for
the above two, these should always be active...
part of T69741
Reviewers: sergey
Maniphest Tasks: T69741
Differential Revision: https://developer.blender.org/D5782
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_particle.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_particle.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_particle.py b/release/scripts/startup/bl_ui/properties_particle.py index 0b8617e40ca..d121091932f 100644 --- a/release/scripts/startup/bl_ui/properties_particle.py +++ b/release/scripts/startup/bl_ui/properties_particle.py @@ -960,10 +960,10 @@ class PARTICLE_PT_physics_relations(ParticleButtonsPanel, Panel): #col.alert = key.valid col.prop(key, "object") col.prop(key, "system", text="System") - - col.active = psys.use_keyed_timing - col.prop(key, "time") - col.prop(key, "duration") + sub = col.column(align=True) + sub.active = psys.use_keyed_timing + sub.prop(key, "time") + sub.prop(key, "duration") elif part.physics_type == 'BOIDS': sub = layout.column() # doesn't work yet |