From: curt Date: Fri, 9 May 2003 18:51:16 +0000 (+0000) Subject: Remove dependency on model.hxx. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eafdb7089066a1cd72dc550616cf5d13be061ca8;p=flightgear.git Remove dependency on model.hxx. --- diff --git a/src/Model/placement.cxx b/src/Model/placement.cxx index d8bf21e2f..ac856e689 100644 --- a/src/Model/placement.cxx +++ b/src/Model/placement.cxx @@ -15,8 +15,6 @@ #include -#include "model.hxx" - #include "placement.hxx" SG_USING_STD(vector); @@ -44,21 +42,6 @@ FGModelPlacement::~FGModelPlacement () { } -#if 0 -void -FGModelPlacement::init( const string &fg_root, - const string &path, - SGPropertyNode *prop_root, - double sim_time_sec, int dummy ) -{ - ssgBranch * model = fgLoad3DModel( fg_root, path, prop_root, sim_time_sec ); - if (model != 0) - _position->addKid(model); - _selector->addKid(_position); - _selector->clrTraversalMaskBits(SSGTRAV_HOT); -} -#endif - void FGModelPlacement::init( ssgBranch * model ) {