* fix messages when modifying on switching the active axis
(cherry picked from commit a713188388
)
This commit is contained in:
parent
6a83c87dda
commit
25244e9843
|
@ -996,26 +996,26 @@ void SpatialEditorViewport::_sinput(const InputEvent &p_event) {
|
||||||
case TRANSFORM_VIEW: {
|
case TRANSFORM_VIEW: {
|
||||||
|
|
||||||
_edit.plane=TRANSFORM_X_AXIS;
|
_edit.plane=TRANSFORM_X_AXIS;
|
||||||
set_message("View Plane Transform.",2);
|
set_message("X-Axis Transform.",2);
|
||||||
name="";
|
name="";
|
||||||
_update_name();
|
_update_name();
|
||||||
} break;
|
} break;
|
||||||
case TRANSFORM_X_AXIS: {
|
case TRANSFORM_X_AXIS: {
|
||||||
|
|
||||||
_edit.plane=TRANSFORM_Y_AXIS;
|
_edit.plane=TRANSFORM_Y_AXIS;
|
||||||
set_message("X-Axis Transform.",2);
|
set_message("Y-Axis Transform.",2);
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
case TRANSFORM_Y_AXIS: {
|
case TRANSFORM_Y_AXIS: {
|
||||||
|
|
||||||
_edit.plane=TRANSFORM_Z_AXIS;
|
_edit.plane=TRANSFORM_Z_AXIS;
|
||||||
set_message("Y-Axis Transform.",2);
|
set_message("Z-Axis Transform.",2);
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
case TRANSFORM_Z_AXIS: {
|
case TRANSFORM_Z_AXIS: {
|
||||||
|
|
||||||
_edit.plane=TRANSFORM_VIEW;
|
_edit.plane=TRANSFORM_VIEW;
|
||||||
set_message("Z-Axis Transform.",2);
|
set_message("View Plane Transform.",2);
|
||||||
|
|
||||||
} break;
|
} break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue