From b37588f5e293cf7bbcc2203dbfb561229cc07eb1 Mon Sep 17 00:00:00 2001 From: Jrius <2261279+Jrius@users.noreply.github.com> Date: Wed, 25 May 2022 21:54:19 +0200 Subject: [PATCH] Fix error when exporting Python animation attributes --- korman/nodes/node_python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/nodes/node_python.py b/korman/nodes/node_python.py index 3149f3e..4e15eff 100644 --- a/korman/nodes/node_python.py +++ b/korman/nodes/node_python.py @@ -766,7 +766,7 @@ class PlasmaAttribObjectNode(idprops.IDPropObjectMixin, PlasmaAttribNodeBase, bp elif attrib == "ptAttribAnimation": anim = bo.plasma_modifiers.animation 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 elif attrib == "ptAttribSwimCurrent": swimregion = bo.plasma_modifiers.swimregion