[Bf-blender-cvs] [03ede79c4fb] master: Fix T61593: Python can't access HUD region-type

Campbell Barton noreply at git.blender.org
Sat Feb 16 11:30:49 CET 2019


Commit: 03ede79c4fbee3b8c97259b6a6cc1d6de7c4dc34
Author: Campbell Barton
Date:   Sat Feb 16 21:25:29 2019 +1100
Branches: master
https://developer.blender.org/rB03ede79c4fbee3b8c97259b6a6cc1d6de7c4dc34

Fix T61593: Python can't access HUD region-type

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

M	source/blender/makesrna/intern/rna_screen.c

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

diff --git a/source/blender/makesrna/intern/rna_screen.c b/source/blender/makesrna/intern/rna_screen.c
index 4c764edba62..185c4ab3ce9 100644
--- a/source/blender/makesrna/intern/rna_screen.c
+++ b/source/blender/makesrna/intern/rna_screen.c
@@ -39,6 +39,7 @@ const EnumPropertyItem rna_enum_region_type_items[] = {
 	{RGN_TYPE_TOOLS, "TOOLS", 0, "Tools", ""},
 	{RGN_TYPE_TOOL_PROPS, "TOOL_PROPS", 0, "Tool Properties", ""},
 	{RGN_TYPE_PREVIEW, "PREVIEW", 0, "Preview", ""},
+	{RGN_TYPE_HUD, "HUD", 0, "Floating Region", ""},
 	{RGN_TYPE_NAV_BAR, "NAVIGATION_BAR", 0, "Navigation Bar", ""},
 	{RGN_TYPE_EXECUTE, "EXECUTE", 0, "Execute Buttons", ""},
 	{0, NULL, 0, NULL, NULL},



More information about the Bf-blender-cvs mailing list