1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Merge pull request #68682 from timothyqiu/camera-gizmo-size

Make Camera3D gizmo the same aspect ratio as its viewport
This commit is contained in:
Rémi Verschelde
2022-12-07 13:25:35 +01:00
4 changed files with 64 additions and 20 deletions

View File

@@ -7477,6 +7477,8 @@ void Node3DEditor::_notification(int p_what) {
sun_state->set_custom_minimum_size(sun_vb->get_combined_minimum_size());
environ_state->set_custom_minimum_size(environ_vb->get_combined_minimum_size());
EditorNode::get_singleton()->connect("project_settings_changed", callable_mp(this, &Node3DEditor::update_all_gizmos).bind(Variant()));
} break;
case NOTIFICATION_ENTER_TREE: {