Commit: 57272d598d2c64932b3ae26991063fce9fe52a90
Author: Campbell Barton
Date: Sun Oct 3 13:40:19 2021 +1100
Branches: master
https://developer.blender.org/rB57272d598d2c64932b3ae26991063fce9fe52a90
Cleanup: rename eRegionType -> eRegion_Type
Match eSpace_Type.
===================================================================
M source/blender/editors/screen/screen_ops.c
M source/blender/makesdna/DNA_screen_types.h
===================================================================
diff --git a/source/blender/editors/screen/screen_ops.c
b/source/blender/editors/screen/screen_ops.c
index 674a2deb929..3a0192aef54 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -4410,7 +4410,7 @@ static void SCREEN_OT_region_context_menu(wmOperatorType
*ot)
* Animation Step.
* \{ */
static bool screen_animation_region_supports_time_follow(eSpace_Type spacetype,
- eRegionType
regiontype)
+ eRegion_Type
regiontype)
{
return (regiontype == RGN_TYPE_WINDOW &&
ELEM(spacetype, SPACE_SEQ, SPACE_GRAPH, SPACE_ACTION, SPACE_NLA)) ||
@@ -4418,7 +4418,7 @@ static bool
screen_animation_region_supports_time_follow(eSpace_Type spacetype,
}
static bool match_region_with_redraws(const ScrArea *area,
- eRegionType regiontype,
+ eRegion_Type regiontype,
eScreen_Redraws_Flag redraws,
bool from_anim_edit)
{
diff --git a/source/blender/makesdna/DNA_screen_types.h
b/source/blender/makesdna/DNA_screen_types.h
index d5b7458ae7b..f557890e3e8 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -650,7 +650,7 @@ enum {
/* regiontype, first two are the default set */
/* Do NOT change order, append on end. Types are hardcoded needed */
-typedef enum eRegionType {
+typedef enum eRegion_Type {
RGN_TYPE_WINDOW = 0,
RGN_TYPE_HEADER = 1,
RGN_TYPE_CHANNELS = 2,
@@ -668,7 +668,7 @@ typedef enum eRegionType {
RGN_TYPE_TOOL_HEADER = 12,
#define RGN_TYPE_LEN (RGN_TYPE_TOOL_HEADER + 1)
-} eRegionType;
+} eRegion_Type;
/* use for function args */
#define RGN_TYPE_ANY -1
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs