mirror of
https://github.com/godotengine/godot.git
synced 2024-11-22 12:12:28 +00:00
Merge pull request #92974 from Chaosus/import_settings_animation_bugfix
Fix incorrect camera transform of animation view in the import window
This commit is contained in:
commit
fdb6100d77
@ -609,7 +609,7 @@ void SceneImportSettingsDialog::_update_camera() {
|
||||
float rot_y = cam_rot_y;
|
||||
float zoom = cam_zoom;
|
||||
|
||||
if (selected_type == "Node" || selected_type.is_empty()) {
|
||||
if (selected_type == "Node" || selected_type == "Animation" || selected_type.is_empty()) {
|
||||
camera_aabb = contents_aabb;
|
||||
} else {
|
||||
if (mesh_preview->get_mesh().is_valid()) {
|
||||
|
Loading…
Reference in New Issue
Block a user