From 4e6a00947602538f62d7cdc9a641368291c665ca Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 2 Apr 2004 14:43:31 +0000 Subject: [PATCH] Frederic Bouvier: Add a select method to FGAircraftModel to draw the aircraft or not when calling ssgCullAndDraw on the whole scene. --- src/Model/acmodel.hxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Model/acmodel.hxx b/src/Model/acmodel.hxx index cf337bd5e..a59bd954a 100644 --- a/src/Model/acmodel.hxx +++ b/src/Model/acmodel.hxx @@ -37,6 +37,7 @@ public: virtual void update (double dt); virtual void draw (); virtual SGModelPlacement * get3DModel() { return _aircraft; } + void select( bool s ) { _selector->select( s ? 0xffffffff : 0 ); } private: