diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-06 01:28:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-06 01:28:00 +0300 |
commit | 6d2b486e431dae57536a5a7d9b64c62144754363 (patch) | |
tree | c08b4fb3a5f33ee71615e38d1b77bd6820fd4e9c /source/blender/windowmanager | |
parent | 7b5835c793fbc5459ad64be4e8c7ceabd45cd668 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/WM_types.h | 10 | ||||
-rw-r--r-- | source/blender/windowmanager/intern/wm_event_system.c | 2 | ||||
-rw-r--r-- | source/blender/windowmanager/xr/intern/wm_xr_intern.h | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h index 14a69d9c435..28c7a270554 100644 --- a/source/blender/windowmanager/WM_types.h +++ b/source/blender/windowmanager/WM_types.h @@ -732,16 +732,16 @@ typedef struct wmXrActionData { eXrActionType type; /** State. Set appropriately based on type. */ float state[2]; - /** State of the other subaction path for bimanual actions. */ + /** State of the other sub-action path for bimanual actions. */ float state_other[2]; /** Input threshold for float/vector2f actions. */ float float_threshold; - /** Controller aim pose corresponding to the action's subaction path. */ + /** Controller aim pose corresponding to the action's sub-action path. */ float controller_loc[3]; float controller_rot[4]; - /** Controller aim pose of the other subaction path for bimanual actions. */ + /** Controller aim pose of the other sub-action path for bimanual actions. */ float controller_loc_other[3]; float controller_rot_other[4]; @@ -749,14 +749,14 @@ typedef struct wmXrActionData { struct wmOperatorType *ot; struct IDProperty *op_properties; - /** Whether bimanual interaction is occuring. */ + /** Whether bimanual interaction is occurring. */ bool bimanual; } wmXrActionData; #endif /** Timer flags. */ typedef enum { - /** Do not attempt to free customdata pointer even if non-NULL. */ + /** Do not attempt to free custom-data pointer even if non-NULL. */ WM_TIMER_NO_FREE_CUSTOM_DATA = 1 << 0, } wmTimerFlags; diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c index c92208c4818..b4abc4f2fde 100644 --- a/source/blender/windowmanager/intern/wm_event_system.c +++ b/source/blender/windowmanager/intern/wm_event_system.c @@ -3465,7 +3465,7 @@ static void wm_event_free_and_remove_from_queue_if_valid(wmEvent *event) /** * Special handling for XR events. * - * Although XR events are added to regular window queues, they are handled in an "offscreen area" + * Although XR events are added to regular window queues, they are handled in an "off-screen area" * context that is owned entirely by XR runtime data and not tied to a window. */ static void wm_event_handle_xrevent(bContext *C, diff --git a/source/blender/windowmanager/xr/intern/wm_xr_intern.h b/source/blender/windowmanager/xr/intern/wm_xr_intern.h index ee495755ac6..8fb5424b8c2 100644 --- a/source/blender/windowmanager/xr/intern/wm_xr_intern.h +++ b/source/blender/windowmanager/xr/intern/wm_xr_intern.h @@ -37,7 +37,7 @@ typedef struct wmXrSessionState { /** Copy of XrSessionSettings.base_pose_ data to detect changes that need * resetting to base pose. */ - char prev_base_pose_type; /* eXRSessionBasePoseType */ + char prev_base_pose_type; /* #eXRSessionBasePoseType */ Object *prev_base_pose_object; /** Copy of XrSessionSettings.flag created on the last draw call, stored to detect changes. */ int prev_settings_flag; @@ -52,7 +52,7 @@ typedef struct wmXrSessionState { bool is_view_data_set; /** Last known controller data. */ - ListBase controllers; /* wmXrController */ + ListBase controllers; /* #wmXrController */ /** The currently active action set that will be updated on calls to * wm_xr_session_actions_update(). If NULL, all action sets will be treated as active and @@ -67,14 +67,14 @@ typedef struct wmXrRuntimeData { * be an invalid reference, i.e. the window may have been closed. */ wmWindow *session_root_win; - /** Offscreen area used for XR events. */ + /** Off-screen area used for XR events. */ struct ScrArea *area; /** Although this struct is internal, RNA gets a handle to this for state information queries. */ wmXrSessionState session_state; wmXrSessionExitFn exit_fn; - ListBase actionmaps; /* XrActionMap */ + ListBase actionmaps; /* #XrActionMap */ short actactionmap; short selactionmap; } wmXrRuntimeData; @@ -87,7 +87,7 @@ typedef struct wmXrViewportPair { typedef struct { /** Off-screen buffers/viewports for each view. */ - ListBase viewports; /* wmXrViewportPair */ + ListBase viewports; /* #wmXrViewportPair */ } wmXrSurfaceData; typedef struct wmXrDrawData { |