diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-03-18 21:50:38 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-03-18 21:50:38 +0300 |
commit | 63f9cb5a0b5930a67c6fa8db833293f21b57ff63 (patch) | |
tree | f3747936edd6ba415c6c33cdb487bf47b15ccda1 /release | |
parent | 298d8a7b4aedb76600b3774727ec203e6c4d0586 (diff) |
Fix T96608: GPencil Simplify must check general Simplify switch
As the grease pencil simplify is a subotion of general simplify, if the general switch is disabled, the grease pencil simplify must be disabled too.
This patch also disable the UI panel.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index c1d6dcfd3f4..947a7e5c7a7 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -677,7 +677,7 @@ class GreasePencilSimplifyPanel: rd = context.scene.render - layout.active = rd.simplify_gpencil + layout.active = rd.use_simplify and rd.simplify_gpencil col = layout.column() col.prop(rd, "simplify_gpencil_onplay") |