diff options
Diffstat (limited to 'io_scene_gltf2/blender/exp/gltf2_blender_gather_materials_unlit.py')
-rw-r--r-- | io_scene_gltf2/blender/exp/gltf2_blender_gather_materials_unlit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials_unlit.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials_unlit.py index b3012ea0..f000bb56 100644 --- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials_unlit.py +++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_materials_unlit.py @@ -38,7 +38,7 @@ def detect_shadeless_material(blender_material, export_settings): info = {} for node in blender_material.node_tree.nodes: - if node.type == 'OUTPUT_MATERIAL': + if node.type == 'OUTPUT_MATERIAL' and node.is_active_output: socket = node.inputs[0] break else: |