[Bf-blender-cvs] [cd3030bb8db] xr-controller-support: Fix RNG_TYPE_LEN value

Peter Kim noreply at git.blender.org
Tue May 18 15:07:10 CEST 2021


Commit: cd3030bb8db20dea8833b8a637395d640cec9634
Author: Peter Kim
Date:   Fri May 14 21:30:16 2021 +0900
Branches: xr-controller-support
https://developer.blender.org/rBcd3030bb8db20dea8833b8a637395d640cec9634

Fix RNG_TYPE_LEN value

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

M	source/blender/makesdna/DNA_screen_types.h

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

diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index db39ede68d2..219dbce7bb7 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -644,7 +644,7 @@ typedef enum eRegionType {
   /* Region representing an XR headset's display (internally, corresponds to an XR surface). */
   RGN_TYPE_XR = 13,
 
-#define RGN_TYPE_LEN (RGN_TYPE_TOOL_HEADER + 1)
+#define RGN_TYPE_LEN (RGN_TYPE_XR + 1)
 } eRegionType;
 
 /* use for function args */



More information about the Bf-blender-cvs mailing list