Browse Source

Merge pull request #330 from Jrius/py_anim_fix

Fix error when exporting Python animation attributes
pull/333/head
Adam Johnson 3 years ago committed by GitHub
parent
commit
2621deb514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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