Fix incorrect camera transform of animation view in the import window
This commit is contained in:
parent
32eba1ee17
commit
29fa291317
@ -609,7 +609,7 @@ void SceneImportSettingsDialog::_update_camera() {
|
|||||||
float rot_y = cam_rot_y;
|
float rot_y = cam_rot_y;
|
||||||
float zoom = cam_zoom;
|
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;
|
camera_aabb = contents_aabb;
|
||||||
} else {
|
} else {
|
||||||
if (mesh_preview->get_mesh().is_valid()) {
|
if (mesh_preview->get_mesh().is_valid()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user