diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-30 10:34:53 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-30 10:34:53 +0100 |
commit | 833c0d24dbf3c442857fd9d7b1fd17918fadddc9 (patch) | |
tree | 65160bf840cff9875d016280123735d20e9cc6c7 /editor | |
parent | adb4ecf7a5189441802c4cdcf6da78b89eb2c70e (diff) | |
parent | 8b3be51d17b34672d135f3c6bd9498cb5b0bcedb (diff) | |
download | redot-engine-833c0d24dbf3c442857fd9d7b1fd17918fadddc9.tar.gz |
Merge pull request #72342 from TokageItLab/immutabletrack
Add remove immutable tracks option to glTF importer
Diffstat (limited to 'editor')
-rw-r--r-- | editor/import/resource_importer_scene.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/import/resource_importer_scene.cpp b/editor/import/resource_importer_scene.cpp index 102fa903b8..aa5f9ff29a 100644 --- a/editor/import/resource_importer_scene.cpp +++ b/editor/import/resource_importer_scene.cpp @@ -1865,6 +1865,7 @@ void ResourceImporterScene::get_import_options(const String &p_path, List<Import r_options->push_back(ImportOption(PropertyInfo(Variant::BOOL, "animation/import"), true)); r_options->push_back(ImportOption(PropertyInfo(Variant::FLOAT, "animation/fps", PROPERTY_HINT_RANGE, "1,120,1"), 30)); r_options->push_back(ImportOption(PropertyInfo(Variant::BOOL, "animation/trimming"), false)); + r_options->push_back(ImportOption(PropertyInfo(Variant::BOOL, "animation/remove_immutable_tracks"), true)); r_options->push_back(ImportOption(PropertyInfo(Variant::STRING, "import_script/path", PROPERTY_HINT_FILE, script_ext_hint), "")); r_options->push_back(ImportOption(PropertyInfo(Variant::DICTIONARY, "_subresources", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR), Dictionary())); |