Remove unused mjMOUSE_SELECT option.

PiperOrigin-RevId: 799957524
Change-Id: I69d091781dc2a2e4a762d2255d04fc411295602a
This commit is contained in:
Haroon Qureshi
2025-08-27 03:18:15 -07:00
committed by Copybara-Service
parent 7443e685ac
commit ed6fa7fe09
5 changed files with 10 additions and 9 deletions
+8 -3
View File
@@ -16,9 +16,6 @@ General
.. admonition:: Breaking API changes
:class: attention
- The promotion of islanding to default involved removing the enable flag ``mjENBL_ISLAND`` and
converting it to a disable flag :ref:`mjDSBL_ISLAND <mjtDisableBit>`.
- The update of ``mjData.qacc_warmstart`` was moved from the end of the solver call (:ref:`mj_fwdConstraint`) to the
end of :ref:`mj_step`, and is now updated with all other state variables. This change makes :ref:`mj_forward`
fully idempotent.
@@ -37,6 +34,14 @@ General
principled and well-defined. Since this change to RK4 is effectively a bug fix, migration to the previous behavior
is not provided.
.. admonition:: Breaking ABI changes
:class: attention
- Removed ``mjMOUSE_SELECT`` flag for :ref:`mjtMouse` as it is no longer in use.
- The promotion of islanding to default involved removing the enable flag ``mjENBL_ISLAND`` and
converting it to a disable flag :ref:`mjDSBL_ISLAND <mjtDisableBit>`.
- Added support for shells with a curved reference configuration. See this `example
<https://github.com/google-deepmind/mujoco/blob/main/model/flex/basket.xml>`__.
+1 -2
View File
@@ -2673,8 +2673,7 @@ typedef enum mjtMouse_ { // mouse interaction mode
mjMOUSE_ROTATE_H, // rotate, horizontal plane
mjMOUSE_MOVE_V, // move, vertical plane
mjMOUSE_MOVE_H, // move, horizontal plane
mjMOUSE_ZOOM, // zoom
mjMOUSE_SELECT // selection
mjMOUSE_ZOOM // zoom
} mjtMouse;
typedef enum mjtPertBit_ { // mouse perturbations
mjPERT_TRANSLATE = 1, // translation
+1 -2
View File
@@ -44,8 +44,7 @@ typedef enum mjtMouse_ { // mouse interaction mode
mjMOUSE_ROTATE_H, // rotate, horizontal plane
mjMOUSE_MOVE_V, // move, vertical plane
mjMOUSE_MOVE_H, // move, horizontal plane
mjMOUSE_ZOOM, // zoom
mjMOUSE_SELECT // selection
mjMOUSE_ZOOM // zoom
} mjtMouse;
-1
View File
@@ -574,7 +574,6 @@ ENUMS: Mapping[str, EnumDecl] = dict([
('mjMOUSE_MOVE_V', 3),
('mjMOUSE_MOVE_H', 4),
('mjMOUSE_ZOOM', 5),
('mjMOUSE_SELECT', 6),
]),
)),
('mjtPertBit',
-1
View File
@@ -581,7 +581,6 @@ public enum mjtMouse : int{
mjMOUSE_MOVE_V = 3,
mjMOUSE_MOVE_H = 4,
mjMOUSE_ZOOM = 5,
mjMOUSE_SELECT = 6,
}
public enum mjtPertBit : int{
mjPERT_TRANSLATE = 1,