[Bf-blender-cvs] [edfcaea2990] greasepencil-object: UI: Add again show annotation overlay switch

Antonio Vazquez noreply at git.blender.org
Thu Jul 12 19:27:23 CEST 2018


Commit: edfcaea299030dff6ac7538e075c307f18b00648
Author: Antonio Vazquez
Date:   Thu Jul 12 19:20:32 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rBedfcaea299030dff6ac7538e075c307f18b00648

UI: Add again show annotation overlay switch

This was removed by error in a previous merge.

===================================================================

M	release/scripts/startup/bl_ui/space_view3d.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 9064b7078d3..ed1b4ff2380 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4057,6 +4057,8 @@ class VIEW3D_PT_overlay_guides(Panel):
 
         if shading.type == 'MATERIAL':
             col.prop(overlay, "show_look_dev")
+            
+        col.prop(context.space_data, "show_annotation", text="Annotations")
 
 
 class VIEW3D_PT_overlay_object(Panel):



More information about the Bf-blender-cvs mailing list