From 8255c6d52c187fffd8780266e22d1b961e4714b9 Mon Sep 17 00:00:00 2001 From: Jrius <2261279+Jrius@users.noreply.github.com> Date: Wed, 1 Sep 2021 21:11:17 +0200 Subject: [PATCH] Apply suggestions from CR Co-authored-by: Adam Johnson --- korman/exporter/animation.py | 2 +- korman/exporter/physics.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/korman/exporter/animation.py b/korman/exporter/animation.py index a421edf..e335b0c 100644 --- a/korman/exporter/animation.py +++ b/korman/exporter/animation.py @@ -397,7 +397,7 @@ class AnimationConverter: def convert_scale_keyframe(scale): # Scale: very likely to cause issues. - return (a * b for a, b in zip(adjust_scale, scale)) + return [a * b for a, b in zip(adjust_scale, scale)] convert_pos = convert_pos_keyframe convert_rot = convert_rot_keyframe diff --git a/korman/exporter/physics.py b/korman/exporter/physics.py index 5af16ab..202d527 100644 --- a/korman/exporter/physics.py +++ b/korman/exporter/physics.py @@ -93,7 +93,7 @@ class PhysicsConverter: if so.sim is None: simIface = self._mgr.add_object(pl=plSimulationInterface, bl=bo) - physical = self._mgr.add_object(pl=plGenericPhysical, bl=bo, name=bo.name) + physical = self._mgr.add_object(pl=plGenericPhysical, bl=bo) simIface.physical = physical.key physical.object = so.key