From 889114f336cfbdfefce29044e52608f1e21de1fd Mon Sep 17 00:00:00 2001 From: Shon Ferguson <shonferg@users.sourceforge.net> Date: Sat, 8 Jul 2006 21:40:43 +0000 Subject: [PATCH] Changed default for new controllers to 12; Active/Clamped. Should get cycle type from NiControllerSequence. --- niflib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/niflib.cpp b/niflib.cpp index 223fd11b..9d75b562 100644 --- a/niflib.cpp +++ b/niflib.cpp @@ -822,7 +822,7 @@ void MergeNifTrees( const Ref<NiNode> & target, const Ref<NiControllerSequence> if ( ctlr == NULL ) { throw runtime_error ("Non-NiSingleInterpolatorController controller found in KF file."); } - ctlr->SetFlags(8); // at least make the controller active + ctlr->SetFlags( 12 ); //TODO: This should be set from real data in the NiControllerSequence. This default is for clamp/active. node->AddController( StaticCast<NiTimeController>(ctlr) ); } -- GitLab