[Bf-blender-cvs] [aae5f2b0461] master: Fix image editor tool-settings missing from topbar

Campbell Barton noreply at git.blender.org
Wed Jan 2 06:43:07 CET 2019


Commit: aae5f2b04611fee5de003083c6545fc89db33aa4
Author: Campbell Barton
Date:   Wed Jan 2 16:14:22 2019 +1100
Branches: master
https://developer.blender.org/rBaae5f2b04611fee5de003083c6545fc89db33aa4

Fix image editor tool-settings missing from topbar

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

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

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

diff --git a/source/blender/makesrna/intern/rna_workspace.c b/source/blender/makesrna/intern/rna_workspace.c
index f0c00bd1940..1a06bf7b086 100644
--- a/source/blender/makesrna/intern/rna_workspace.c
+++ b/source/blender/makesrna/intern/rna_workspace.c
@@ -147,7 +147,7 @@ const EnumPropertyItem *rna_WorkSpace_tools_mode_itemf(
 		case SPACE_VIEW3D:
 			return rna_enum_context_mode_items;
 		case SPACE_IMAGE:
-			return rna_enum_space_image_mode_items;
+			return rna_enum_space_image_mode_all_items;
 	}
 	return DummyRNA_DEFAULT_items;
 }



More information about the Bf-blender-cvs mailing list