Explorar el Código

Fix: Morph Deform I/O removes wrong input

Joseph Brandenburg hace 8 meses
padre
commit
910d04f2c3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      i_o.py

+ 1 - 1
i_o.py

@@ -498,7 +498,7 @@ def do_import(data, context):
                 continue
             n = tree.nodes.new(bl_idname)
             if bl_idname in ["DeformerMorphTargetDeform"]:
-                n.inputs.remove(n.inputs[1]) # get rid of the wildcard
+                n.inputs.remove(n.inputs[-1]) # get rid of the wildcard
 
             if n.bl_idname in [ "SchemaArrayInput",
                                 "SchemaArrayInputGet",