[Bf-blender-cvs] [2053e1f533b] master: Fix image space missing mask display panel

Campbell Barton noreply at git.blender.org
Tue Jun 15 02:51:53 CEST 2021


Commit: 2053e1f533b3772f38a19426f22d5c5e10c6bafb
Author: Campbell Barton
Date:   Tue Jun 15 10:50:48 2021 +1000
Branches: master
https://developer.blender.org/rB2053e1f533b3772f38a19426f22d5c5e10c6bafb

Fix image space missing mask display panel

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

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

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

diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 11eaf55a98b..3fafa328289 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -914,6 +914,12 @@ class IMAGE_PT_active_mask_point(MASK_PT_point, Panel):
     bl_category = "Mask"
 
 
+class IMAGE_PT_mask_display(MASK_PT_display, Panel):
+    bl_space_type = 'IMAGE_EDITOR'
+    bl_region_type = 'UI'
+    bl_category = "Mask"
+
+
 # --- end mask ---
 
 class IMAGE_PT_snapping(Panel):
@@ -1616,6 +1622,7 @@ classes = (
     IMAGE_PT_active_tool,
     IMAGE_PT_mask,
     IMAGE_PT_mask_layers,
+    IMAGE_PT_mask_display,
     IMAGE_PT_active_mask_spline,
     IMAGE_PT_active_mask_point,
     IMAGE_PT_snapping,



More information about the Bf-blender-cvs mailing list