[Bf-blender-cvs] [b4a21355d77] xr-actions-D9124: Cleanup: Comments
Peter Kim
noreply at git.blender.org
Sun Nov 15 15:53:26 CET 2020
Commit: b4a21355d77ec515f75015cb24b85a020198d149
Author: Peter Kim
Date: Sun Nov 15 23:38:37 2020 +0900
Branches: xr-actions-D9124
https://developer.blender.org/rBb4a21355d77ec515f75015cb24b85a020198d149
Cleanup: Comments
===================================================================
M intern/ghost/GHOST_C-api.h
M intern/ghost/intern/GHOST_XrSession.cpp
===================================================================
diff --git a/intern/ghost/GHOST_C-api.h b/intern/ghost/GHOST_C-api.h
index 645cc42ee66..c34528f684f 100644
--- a/intern/ghost/GHOST_C-api.h
+++ b/intern/ghost/GHOST_C-api.h
@@ -1067,7 +1067,7 @@ GHOST_TSuccess GHOST_XrEventsHandle(GHOST_XrContextHandle xr_context);
/* actions */
/**
- * Create an OpenXR action set for input / output.
+ * Create an OpenXR action set for input/output.
*/
int GHOST_XrCreateActionSet(GHOST_XrContextHandle xr_context, const GHOST_XrActionSetInfo *info);
@@ -1077,7 +1077,7 @@ int GHOST_XrCreateActionSet(GHOST_XrContextHandle xr_context, const GHOST_XrActi
void GHOST_XrDestroyActionSet(GHOST_XrContextHandle xr_context, const char *action_set_name);
/**
- * Create OpenXR input / output actions.
+ * Create OpenXR input/output actions.
*/
int GHOST_XrCreateActions(GHOST_XrContextHandle xr_context,
const char *action_set_name,
@@ -1109,10 +1109,7 @@ void GHOST_XrDestroyActionSpaces(GHOST_XrContextHandle xr_context,
const GHOST_XrActionSpaceInfo *infos);
/**
- * Create input / output path bindings for OpenXR actions.
- *
- * \param replace_existing: Whether to replace all existing bindings for the profiles
- * specified in infos.
+ * Create input/output path bindings for OpenXR actions.
*/
int GHOST_XrCreateActionBindings(GHOST_XrContextHandle xr_context,
const char *action_set_name,
@@ -1133,7 +1130,7 @@ void GHOST_XrDestroyActionBindings(GHOST_XrContextHandle xr_context,
int GHOST_XrAttachActionSets(GHOST_XrContextHandle xr_context);
/**
- * Update button / tracking states for OpenXR actions.
+ * Update button/tracking states for OpenXR actions.
*
* \param action_set_name: The name of the action set to sync. If NULL, all action sets
* attached to the session will be synced.
diff --git a/intern/ghost/intern/GHOST_XrSession.cpp b/intern/ghost/intern/GHOST_XrSession.cpp
index 8d6879502f9..7b709acc6ad 100644
--- a/intern/ghost/intern/GHOST_XrSession.cpp
+++ b/intern/ghost/intern/GHOST_XrSession.cpp
@@ -199,7 +199,7 @@ static void create_reference_spaces(OpenXRSessionData &oxr, const GHOST_XrPose &
"Failed to get stage reference space bounds.");
if (extents.width == 0.0f || extents.height == 0.0f) {
printf(
- "Warning: Invalid stage reference space bounds, disabling absolute tracking. To use "
+ "Warning: Invalid stage reference space bounds, disabling absolute tracking. To enable "
"absolute tracking, please define a tracking space via the XR runtime.\n");
/* Fallback to local space. */
More information about the Bf-blender-cvs
mailing list