glTF exporter: Fix typo in socket name

This commit is contained in:
Julien Duroure
2024-05-24 09:17:41 +02:00
parent 5789031072
commit c9daea2d5b
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
bl_info = {
'name': 'glTF 2.0 format',
'author': 'Julien Duroure, Scurest, Norbert Nopper, Urs Hanselmann, Moritz Becher, Benjamin Schmithüsen, Jim Eckerlein, and many external contributors',
"version": (4, 2, 29),
"version": (4, 2, 30),
'blender': (4, 2, 0),
'location': 'File > Import-Export',
'description': 'Import-Export as glTF 2.0',

View File

@@ -519,7 +519,7 @@ def get_multiply_factors(nav):
prev.node.type == 'MIX' and
prev.node.data_type == 'RGBA' and
prev.node.blend_type == 'MULTIPLY' and
prev.get_constant('Fac') == 1
prev.get_constant('Factor')[0] == 1
)
if is_mul:
fac1 = prev