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>2019-09-06 18:20:54 +0300
committerAntonio Vazquez <blendergit@gmail.com>2019-09-06 18:23:00 +0300
commita5a003ed5589657cc53f41ba6042b28a4631cfed (patch)
tree65e79c4bf58e8a6e76d1d16edc8596ac22056c6b /release
parent6d8a86c07d5f5c290a9e606a7e03dccac9ddcf43 (diff)
GPencil: New option to fade not selected objects
Before, it was only possible to fade the active object. The new option allows to fade all non gpencil selected object. This is a common request by artists. {F7719513} Reviewers: mendio, pepeland Reviewed By: mendio Differential Revision: https://developer.blender.org/D5704
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index a86d09c55e6..d144c2ffab6 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -6137,9 +6137,10 @@ class VIEW3D_PT_overlay_gpencil_options(Panel):
row = col.row()
row.prop(overlay, "use_gpencil_paper", text="")
- sub = row.row()
+ sub = row.row(align=True)
sub.active = overlay.use_gpencil_paper
- sub.prop(overlay, "gpencil_paper_opacity", text="Fade 3D Objects", slider=True)
+ sub.prop(overlay, "gpencil_paper_opacity", text="Fade Objects", slider=True)
+ sub.prop(overlay, "use_gpencil_fade_objects", text="", icon='OUTLINER_OB_GREASEPENCIL')
if context.object.mode == 'PAINT_GPENCIL':
row = col.row()