Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Duroure <julien.duroure@gmail.com>2022-03-29 18:54:13 +0300
committerJulien Duroure <julien.duroure@gmail.com>2022-03-29 18:54:13 +0300
commit9818afc829a06185440c431e520016f1d4286d06 (patch)
tree8065983bbef50f0fc0803411f2c0c3e72600a820 /io_scene_gltf2/blender/exp/gltf2_blender_gather_tree.py
parent64f462358522f914cad4828b3a2e7a4aba900676 (diff)
glTF exporter: Armature extports all actionsscreenshots-manual
When scene contains only 1 armature, it will export all actions, not only active + NLA
Diffstat (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_gather_tree.py')
-rw-r--r--io_scene_gltf2/blender/exp/gltf2_blender_gather_tree.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_tree.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_tree.py
index 3a7b0fa5..cf4983e1 100644
--- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_tree.py
+++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_tree.py
@@ -244,6 +244,9 @@ class VExportTree:
else:
return []
+ def get_all_node_of_type(self, node_type):
+ return [n.uuid for n in self.nodes.values() if n.blender_type == node_type]
+
def display(self, mode):
if mode == "simple":
for n in self.roots: