Skip to content

Commit ed6fa7f

Browse files
haroonqcopybara-github
authored andcommitted
Remove unused mjMOUSE_SELECT option.
PiperOrigin-RevId: 799957524 Change-Id: I69d091781dc2a2e4a762d2255d04fc411295602a
1 parent 7443e68 commit ed6fa7f

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

doc/changelog.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ General
1616
.. admonition:: Breaking API changes
1717
:class: attention
1818

19-
- The promotion of islanding to default involved removing the enable flag ``mjENBL_ISLAND`` and
20-
converting it to a disable flag :ref:`mjDSBL_ISLAND <mjtDisableBit>`.
21-
2219
- The update of ``mjData.qacc_warmstart`` was moved from the end of the solver call (:ref:`mj_fwdConstraint`) to the
2320
end of :ref:`mj_step`, and is now updated with all other state variables. This change makes :ref:`mj_forward`
2421
fully idempotent.
@@ -37,6 +34,14 @@ General
3734
principled and well-defined. Since this change to RK4 is effectively a bug fix, migration to the previous behavior
3835
is not provided.
3936

37+
.. admonition:: Breaking ABI changes
38+
:class: attention
39+
40+
- Removed ``mjMOUSE_SELECT`` flag for :ref:`mjtMouse` as it is no longer in use.
41+
42+
- The promotion of islanding to default involved removing the enable flag ``mjENBL_ISLAND`` and
43+
converting it to a disable flag :ref:`mjDSBL_ISLAND <mjtDisableBit>`.
44+
4045
- Added support for shells with a curved reference configuration. See this `example
4146
<https://github.com/google-deepmind/mujoco/blob/main/model/flex/basket.xml>`__.
4247

doc/includes/references.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2673,8 +2673,7 @@ typedef enum mjtMouse_ { // mouse interaction mode
26732673
mjMOUSE_ROTATE_H, // rotate, horizontal plane
26742674
mjMOUSE_MOVE_V, // move, vertical plane
26752675
mjMOUSE_MOVE_H, // move, horizontal plane
2676-
mjMOUSE_ZOOM, // zoom
2677-
mjMOUSE_SELECT // selection
2676+
mjMOUSE_ZOOM // zoom
26782677
} mjtMouse;
26792678
typedef enum mjtPertBit_ { // mouse perturbations
26802679
mjPERT_TRANSLATE = 1, // translation

include/mujoco/mjvisualize.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ typedef enum mjtMouse_ { // mouse interaction mode
4444
mjMOUSE_ROTATE_H, // rotate, horizontal plane
4545
mjMOUSE_MOVE_V, // move, vertical plane
4646
mjMOUSE_MOVE_H, // move, horizontal plane
47-
mjMOUSE_ZOOM, // zoom
48-
mjMOUSE_SELECT // selection
47+
mjMOUSE_ZOOM // zoom
4948
} mjtMouse;
5049

5150

python/mujoco/introspect/enums.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,6 @@
574574
('mjMOUSE_MOVE_V', 3),
575575
('mjMOUSE_MOVE_H', 4),
576576
('mjMOUSE_ZOOM', 5),
577-
('mjMOUSE_SELECT', 6),
578577
]),
579578
)),
580579
('mjtPertBit',

unity/Runtime/Bindings/MjBindings.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,6 @@ public enum mjtMouse : int{
581581
mjMOUSE_MOVE_V = 3,
582582
mjMOUSE_MOVE_H = 4,
583583
mjMOUSE_ZOOM = 5,
584-
mjMOUSE_SELECT = 6,
585584
}
586585
public enum mjtPertBit : int{
587586
mjPERT_TRANSLATE = 1,

0 commit comments

Comments
 (0)