From 1e822af90f851350c1b3a59018cc04ecc31d0b97 Mon Sep 17 00:00:00 2001 From: Mark Eggert <72320499+TikiBear@users.noreply.github.com> Date: Sun, 5 Sep 2021 20:52:22 -0700 Subject: [PATCH] Code that kills opacity animations Just noting code that kills opacity animations, triggering message, "No controllable animations were found." I'm guessing that just removing the code isn't the answer, though doing so restores opacity animations without obvious harm in my limited testing (Flying Cauldron). I don't know how to figure this one out, unfortunately. --- korman/nodes/node_messages.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/korman/nodes/node_messages.py b/korman/nodes/node_messages.py index a42196c..f97e5c6 100644 --- a/korman/nodes/node_messages.py +++ b/korman/nodes/node_messages.py @@ -296,7 +296,8 @@ class PlasmaAnimCmdMsgNode(idprops.IDPropMixin, PlasmaMessageWithCallbacksNode, self.raise_error("At least one of: target object, material, texture MUST be specified") target = exporter.mesh.material.get_texture_animation_key(obj, material, texture, self.anim_name) - target = [i for i in target if not isinstance(i.object, (plAgeGlobalAnim, plLayerSDLAnimation))] + # this kills opacity animation: + # target = [i for i in target if not isinstance(i.object, (plAgeGlobalAnim, plLayerSDLAnimation))] if not target: self.raise_error("No controllable animations were found.") for i in target: