From 77c1f7f2302bc490a71712972d52650e3bf8eacb Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Thu, 16 Aug 2018 16:15:38 -0400 Subject: [PATCH] Fix crash in dynatext python nodes --- 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 0489af5..44135a4 100644 --- a/korman/nodes/node_python.py +++ b/korman/nodes/node_python.py @@ -654,7 +654,7 @@ class PlasmaAttribTextureNode(idprops.IDPropMixin, PlasmaAttribNodeBase, bpy.typ # Your attribute stuff here... if attrib == "ptAttribDynamicMap": - if not self._is_dyntext(material, texture): + if not self._is_dyntext(texture): self.raise_error("Texture '{}' is not a Dynamic Text Map".format(self.texture_name)) name = "{}_{}_DynText".format(material.name, texture.name) return exporter.mgr.find_create_key(plDynamicTextMap, name=name, so=so)