Browse Source

Fix error when exporting Python animation attributes

pull/330/head
Jrius 3 years ago
parent
commit
b37588f5e2
  1. 2
      korman/nodes/node_python.py

2
korman/nodes/node_python.py

@ -766,7 +766,7 @@ class PlasmaAttribObjectNode(idprops.IDPropObjectMixin, PlasmaAttribNodeBase, bp
elif attrib == "ptAttribAnimation": elif attrib == "ptAttribAnimation":
anim = bo.plasma_modifiers.animation anim = bo.plasma_modifiers.animation
agmod = exporter.mgr.find_create_key(plAGModifier, so=ref_so, name=anim.key_name) agmod = exporter.mgr.find_create_key(plAGModifier, so=ref_so, name=anim.key_name)
agmaster = exporter.mgr.find_create_key(plAGMasterModifier, so=ref_so, name=anim.key_name) agmaster = exporter.mgr.find_create_key(plAGMasterMod, so=ref_so, name=anim.key_name)
return agmaster return agmaster
elif attrib == "ptAttribSwimCurrent": elif attrib == "ptAttribSwimCurrent":
swimregion = bo.plasma_modifiers.swimregion swimregion = bo.plasma_modifiers.swimregion

Loading…
Cancel
Save