From 646a5798e601b68a7d450812f12188b5714ba64d Mon Sep 17 00:00:00 2001
From: Phil <35943148+Phil-Palmer@users.noreply.github.com>
Date: Mon, 4 Jan 2021 00:12:57 -0500
Subject: [PATCH] Apply suggestions from code review
Tidying (bracing style, spaces, remove final comma from enum, fix JSDoc comments).
Co-authored-by: David Rowe
Deprecated: This property is deprecated and will be removed. If you need it, please contact - * the developers.
+ *Deprecated: This property is deprecated and will be removed.
* @property {boolean} isInSittingState -true
if the user wearing the HMD is determined to be sitting;
* false
if the user wearing the HMD is determined to be standing. This can affect whether the avatar
* is allowed to stand, lean or recenter its footing, depending on user preferences.
@@ -416,10 +415,7 @@ class MyAvatar : public Avatar {
Q_PROPERTY(float sprintSpeed READ getSprintSpeed WRITE setSprintSpeed NOTIFY sprintSpeedChanged);
Q_PROPERTY(bool isInSittingState READ getIsInSittingState WRITE setIsInSittingState);
- /**jsdoc
- * @deprecated This property is deprecated and will be removed. If you need it, please contact the developers.
- */
- Q_PROPERTY(MyAvatar::SitStandModelType userRecenterModel READ getUserRecenterModel WRITE setUserRecenterModel);
+ Q_PROPERTY(MyAvatar::SitStandModelType userRecenterModel READ getUserRecenterModel WRITE setUserRecenterModel); // Deprecated
/**jsdoc
* @deprecated This property is deprecated and will be removed. If you need it, please contact the developers.
@@ -532,8 +528,7 @@ public:
/**jsdoc
* Specifies different avatar leaning and recentering behaviors.
- *Deprecated: This enumeration is deprecated and will be removed. If you need it, please contact - * the developers
+ *Deprecated: This type is deprecated and will be removed.
*Value | Name | Description |
---|