From cc50f1633a264c92738a7fdc77bb3549fe17ee11 Mon Sep 17 00:00:00 2001
From: Tazpn <tazpn@users.sourceforge.net>
Date: Mon, 24 Sep 2007 04:36:48 +0000
Subject: [PATCH] Another update for FF animation.  Use the first bone name as
 root of text keys.

---
 MaxNifPlugins_Readme.txt | 8 ++++++++
 NifImport/KFImporter.cpp | 1 +
 2 files changed, 9 insertions(+)

diff --git a/MaxNifPlugins_Readme.txt b/MaxNifPlugins_Readme.txt
index f519f66..6396664 100644
--- a/MaxNifPlugins_Readme.txt
+++ b/MaxNifPlugins_Readme.txt
@@ -33,6 +33,14 @@
 
     Change log
     ----------
+      0.2.17
+      ------
+    o Importer
+      - Add initial support for Freedom Force animation import
+    
+    o Exporter
+      - Fix Binormal and Tangent export calculations
+      
       0.2.16
       -----
     o All
diff --git a/NifImport/KFImporter.cpp b/NifImport/KFImporter.cpp
index d3c34ac..ad1aa11 100644
--- a/NifImport/KFImporter.cpp
+++ b/NifImport/KFImporter.cpp
@@ -43,6 +43,7 @@ void KFImporter::ReadBlocks()
 
 				   NiControllerSequenceRef seq = new NiControllerSequence();
 				   seq->SetName( helper->GetName() );
+				   seq->SetTargetName( keys.front()->GetData() ); // Set target name as first
 				   seq->SetTextKey( textKey );
 
 				   float start = FLT_MAX, stop = FLT_MIN;
-- 
GitLab