1 --- flightgear-3.2.0/src/Model/panelnode.cxx.orig 2014-08-17 15:40:24.000000000 +0200
2 +++ flightgear-3.2.0/src/Model/panelnode.cxx 2014-11-02 12:27:29.031193511 +0100
6 #include <osg/BlendFunc>
7 +#include <osg/Version>
9 #include <simgear/compiler.h>
10 #include <simgear/structure/exception.hxx>
15 +#if OSG_VERSION_LESS_THAN(3,3,2)
16 FGPanelNode::computeBound() const
18 +FGPanelNode::computeBoundingBox() const
23 --- flightgear-3.2.0/src/Model/panelnode.hxx.orig 2014-08-17 15:40:24.000000000 +0200
24 +++ flightgear-3.2.0/src/Model/panelnode.hxx 2014-11-02 12:27:11.551194127 +0100
28 #include <osg/Drawable>
29 +#include <osg/Version>
32 #include <simgear/structure/SGSharedPtr.hxx>
34 { drawImplementation(*renderInfo.getState()); }
36 void drawImplementation(osg::State& state) const;
37 +#if OSG_VERSION_LESS_THAN(3,3,2)
38 virtual osg::BoundingBox computeBound() const;
40 + virtual osg::BoundingBox computeBoundingBox() const;
43 /** Return true, FGPanelNode does support accept(PrimitiveFunctor&). */
44 virtual bool supports(const osg::PrimitiveFunctor&) const { return true; }