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:
authorAaron Carlisle <carlisle.b3d@gmail.com>2021-08-08 23:09:23 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-08-08 23:09:23 +0300
commit4c26bb02327f0e836e55929d900b2f50d303f433 (patch)
treea1733d1846d1e4936b5a49db1004dab1aef4f281 /release/scripts/startup/bl_ui/properties_mask_common.py
parent0be26f563e63dcf9fa725c27bf713b0b09bc4372 (diff)
UI: Show Mask Display Options Conistently
This commit makes the display options for mask only show in the header for the clip and image editors. Prior to this change they would display in the header for the clip editor and in the sidebar for the image editors.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_mask_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_mask_common.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_mask_common.py b/release/scripts/startup/bl_ui/properties_mask_common.py
index 09a1f40d3a9..40a704a65dd 100644
--- a/release/scripts/startup/bl_ui/properties_mask_common.py
+++ b/release/scripts/startup/bl_ui/properties_mask_common.py
@@ -237,9 +237,8 @@ class MASK_PT_point:
class MASK_PT_display:
# subclasses must define...
# ~ bl_space_type = 'CLIP_EDITOR'
- # ~ bl_region_type = 'UI'
+ # ~ bl_region_type = 'HEADER'
bl_label = "Mask Display"
- bl_options = {'DEFAULT_CLOSED'}
@classmethod
def poll(cls, context):