diff options
author | abaire <erik.abair@gmail.com> | 2021-01-28 12:48:12 -0800 |
---|---|---|
committer | Erik Abair <erik.abair@gmail.com> | 2021-02-24 08:22:27 -0800 |
commit | 61cc1c8624cdf2ef56b807c70f76dd96cc0ebcb7 (patch) | |
tree | 6e941c9222b788269c31352afeda108254e918fb /modules/gltf/gltf_state.h | |
parent | e5bb89cdd5e92fa6fdeff78aad08bf0cbfbcc692 (diff) | |
download | redot-engine-61cc1c8624cdf2ef56b807c70f76dd96cc0ebcb7.tar.gz |
Relaxes Node naming constraints in glTF documents to match the Editor.
Diffstat (limited to 'modules/gltf/gltf_state.h')
-rw-r--r-- | modules/gltf/gltf_state.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gltf/gltf_state.h b/modules/gltf/gltf_state.h index 4ce5aa9491..9030962b03 100644 --- a/modules/gltf/gltf_state.h +++ b/modules/gltf/gltf_state.h @@ -80,6 +80,7 @@ class GLTFState : public Resource { Vector<Ref<GLTFCamera>> cameras; Vector<Ref<GLTFLight>> lights; Set<String> unique_names; + Set<String> unique_animation_names; Vector<Ref<GLTFSkeleton>> skeletons; Map<GLTFSkeletonIndex, GLTFNodeIndex> skeleton_to_node; @@ -147,6 +148,9 @@ public: Array get_unique_names(); void set_unique_names(Array p_unique_names); + Array get_unique_animation_names(); + void set_unique_animation_names(Array p_unique_names); + Array get_skeletons(); void set_skeletons(Array p_skeletons); |