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:
authorAntonioya <blendergit@gmail.com>2018-10-15 19:54:09 +0300
committerAntonioya <blendergit@gmail.com>2018-10-15 19:54:23 +0300
commitcf910575b1ac5c292c49bcaf141493a262aaab8c (patch)
treeb0fb3f67d4fb841e85b6fd8f79cfc9666badd4c7 /release/scripts/startup/bl_ui/properties_grease_pencil_common.py
parent9ecf68e8ae060c8d46a809ca3e6aacf399f23033 (diff)
Add popover for Annotations in topbar
Part of T57211
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py2
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 af3170d4a22..052652faf1a 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -711,7 +711,7 @@ class AnnotationDataPanel:
@staticmethod
def draw_header(self, context):
- if context.space_data.type != 'VIEW_3D':
+ if context.space_data.type not in {'VIEW_3D', 'TOPBAR'}:
self.layout.prop(context.space_data, "show_annotation", text="")
@staticmethod