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-13 13:28:02 +0300
committerJulien Duroure <julien.duroure@gmail.com>2022-03-13 13:28:02 +0300
commit43477e00ce44cf561a38365d35c769010392c102 (patch)
tree1f43a5517fe72cce459001273a3f48159566c63a /io_scene_gltf2/blender/exp/gltf2_blender_gather_tree.py
parent5a557e72fc1e63802837b385a303b5dd6e44f284 (diff)
glTF exporter: add filter hook for user extensions.
You can change filter tag to change default filtering
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.py2
1 files changed, 2 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 549c4ed0..643cbea0 100644
--- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_tree.py
+++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_tree.py
@@ -5,6 +5,7 @@ import bpy
import uuid
from . import gltf2_blender_export_keys
+from io_scene_gltf2.io.exp.gltf2_io_user_extensions import export_user_extensions
from mathutils import Quaternion, Matrix
class VExportNode:
@@ -255,6 +256,7 @@ class VExportTree:
def filter(self):
self.filter_tag()
+ export_user_extensions('gather_tree_filter_tag_hook', self.export_settings, self)
self.filter_perform()