diff options
author | Antonioya <blendergit@gmail.com> | 2018-10-15 19:54:09 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-10-15 19:54:23 +0300 |
commit | cf910575b1ac5c292c49bcaf141493a262aaab8c (patch) | |
tree | b0fb3f67d4fb841e85b6fd8f79cfc9666badd4c7 /release/scripts/startup/bl_ui/properties_grease_pencil_common.py | |
parent | 9ecf68e8ae060c8d46a809ca3e6aacf399f23033 (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.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 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 |