diff --git a/simgear/scene/viewer/Compositor.hxx b/simgear/scene/viewer/Compositor.hxx index 94849ba9..2fcb9037 100644 --- a/simgear/scene/viewer/Compositor.hxx +++ b/simgear/scene/viewer/Compositor.hxx @@ -137,6 +137,7 @@ public: Pass * getPass(const std::string &name) const; int getOrderOffset() const { return _order_offset; } + static void resetOrderOffset() { _order_offset = 0; } protected: osg::View *_view; osg::GraphicsContext *_gc;