mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
committed by
Rémi Verschelde
parent
7be11742b5
commit
321a4bfcd8
@@ -1357,9 +1357,14 @@ void SpatialEditorViewport::_sinput(const Ref<InputEvent> &p_event) {
|
||||
}
|
||||
|
||||
if (_edit.mode != TRANSFORM_NONE) {
|
||||
|
||||
static const char *_transform_name[4] = { "None", "Rotate", "Translate", "Scale" };
|
||||
undo_redo->create_action(_transform_name[_edit.mode]);
|
||||
static const char *_transform_name[4] = {
|
||||
TTRC("None"),
|
||||
TTRC("Rotate"),
|
||||
// TRANSLATORS: This refers to the movement that changes the position of an object.
|
||||
TTRC("Translate"),
|
||||
TTRC("Scale"),
|
||||
};
|
||||
undo_redo->create_action(TTRGET(_transform_name[_edit.mode]));
|
||||
|
||||
List<Node *> &selection = editor_selection->get_selected_node_list();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user