[Bf-blender-cvs] [81944920a74] xr-actions-D9124: Fix build error on Linux / gcc
Peter Kim
noreply at git.blender.org
Tue Feb 16 12:16:55 CET 2021
Commit: 81944920a74ee65f5b9c43f0200a897854a1b3ce
Author: Peter Kim
Date: Tue Feb 16 20:12:57 2021 +0900
Branches: xr-actions-D9124
https://developer.blender.org/rB81944920a74ee65f5b9c43f0200a897854a1b3ce
Fix build error on Linux / gcc
===================================================================
M source/blender/windowmanager/xr/intern/wm_xr_intern.h
===================================================================
diff --git a/source/blender/windowmanager/xr/intern/wm_xr_intern.h b/source/blender/windowmanager/xr/intern/wm_xr_intern.h
index 67fc7ab22ae..d59f010fc66 100644
--- a/source/blender/windowmanager/xr/intern/wm_xr_intern.h
+++ b/source/blender/windowmanager/xr/intern/wm_xr_intern.h
@@ -24,8 +24,6 @@
#include "wm_xr.h"
-enum wmXrActionType;
-enum wmXrOpFlag;
struct wmXrActionSet;
struct GHash;
@@ -131,7 +129,7 @@ typedef struct wmXrDrawData {
typedef struct wmXrAction {
char *name;
- enum wmXrActionType type;
+ char type; /* wmXrActionType */
unsigned int count_subaction_paths;
char **subaction_paths;
/** States for each subaction path. */
@@ -148,7 +146,7 @@ typedef struct wmXrAction {
/** Operator to be called on XR events. */
struct wmOperatorType *ot;
IDProperty *op_properties;
- enum wmXrOpFlag op_flag;
+ char op_flag; /* wmXrOpFlag */
} wmXrAction;
typedef struct wmXrActionSet {
More information about the Bf-blender-cvs
mailing list