Преглед на файлове

Fix: Morph Deform I/O removes wrong input

Joseph Brandenburg преди 8 месеца
родител
ревизия
910d04f2c3
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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",