mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 22:53:01 +00:00
Fix Import Tracks import setting for single clip
This commit is contained in:
parent
329652b6fe
commit
0d0e8b0a8a
@ -995,7 +995,7 @@ Node *ResourceImporterScene::_pre_fix_animations(Node *p_node, Node *p_root, con
|
||||
AnimationImportTracks(int(node_settings["import_tracks/scale"]))
|
||||
};
|
||||
|
||||
if (anims.size() > 1 && (import_tracks_mode[0] != ANIMATION_IMPORT_TRACKS_IF_PRESENT || import_tracks_mode[1] != ANIMATION_IMPORT_TRACKS_IF_PRESENT || import_tracks_mode[2] != ANIMATION_IMPORT_TRACKS_IF_PRESENT)) {
|
||||
if (!anims.is_empty() && (import_tracks_mode[0] != ANIMATION_IMPORT_TRACKS_IF_PRESENT || import_tracks_mode[1] != ANIMATION_IMPORT_TRACKS_IF_PRESENT || import_tracks_mode[2] != ANIMATION_IMPORT_TRACKS_IF_PRESENT)) {
|
||||
_optimize_track_usage(ap, import_tracks_mode);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user