Make Camera3D gizmo the same aspect ratio as its viewport
This commit is contained in:
parent
245e6454a0
commit
6c5dc78f59
4 changed files with 64 additions and 20 deletions
|
|
@ -7248,6 +7248,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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue