You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Merge pull request #47629 from Calinou/editor-allow-center-selection-without-selection
Allow Center Selection to work without any selection in 2D/3D editors
This commit is contained in:
@@ -3560,10 +3560,6 @@ void Node3DEditorViewport::reset() {
|
||||
}
|
||||
|
||||
void Node3DEditorViewport::focus_selection() {
|
||||
if (!get_selected_count()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Vector3 center;
|
||||
int count = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user