From 6ca1f054928962aa0a7bc4d8a1133a76dbf35ead Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sun, 21 Aug 2016 10:38:40 -1000 Subject: [PATCH] Minor character cooking performance adjustment --- hecl/blender/BlenderConnection.cpp | 1 + hecl/blender/hecl/sact/__init__.py | 1 + 2 files changed, 2 insertions(+) diff --git a/hecl/blender/BlenderConnection.cpp b/hecl/blender/BlenderConnection.cpp index 99e58846e..447ce9e59 100644 --- a/hecl/blender/BlenderConnection.cpp +++ b/hecl/blender/BlenderConnection.cpp @@ -1064,6 +1064,7 @@ BlenderConnection::DataStream::Actor::Action::Action(BlenderConnection& conn) subtypeAABBs.emplace_back(); subtypeAABBs.back().first.read(conn); subtypeAABBs.back().second.read(conn); + printf("AABB %d\n", i); } } diff --git a/hecl/blender/hecl/sact/__init__.py b/hecl/blender/hecl/sact/__init__.py index b062c1671..41aef1b98 100644 --- a/hecl/blender/hecl/sact/__init__.py +++ b/hecl/blender/hecl/sact/__init__.py @@ -206,6 +206,7 @@ def write_action_aabb(writebuf, arm_obj, mesh_obj): # Cook def cook(writebuf): + bpy.context.scene.hecl_auto_remap = False sact_data = bpy.context.scene.hecl_sact_data # Output armatures