From 2113f984ce010e832b132ef75add12e47b13bba7 Mon Sep 17 00:00:00 2001 From: Shon Ferguson <shonferg@users.sourceforge.net> Date: Sun, 4 Jun 2006 02:35:16 +0000 Subject: [PATCH] Removed exception so KF files could be read. --- niflib.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/niflib.cpp b/niflib.cpp index 2476e8bc..94cfe653 100644 --- a/niflib.cpp +++ b/niflib.cpp @@ -335,8 +335,6 @@ vector<NiObjectRef> ReadNifList( istream & in ) { NiAVObjectRef av_root = DynamicCast<NiAVObject>( FindRoot(blocks) ); if ( av_root != NULL ) { BuildUpBindPositions( av_root ); - } else { - throw runtime_error("Root object is not a NiAVObject derived class."); } //TODO: Evaluate this and see if it can be moved to NiTriBasedGeom::FixLinks() -- GitLab