Drop osg includes that nothing uses
The physics heightfield, recast mesh object, Bullet NIF loader and world scene headers included osg/ref_ptr, osg/Referenced or osg/Object without using any of them, which made non-render code look tied to OSG; scene.cpp, the one file that does use osg::ref_ptr, now includes it itself.
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
|
||||
#include <components/bullethelpers/heightfield.hpp>
|
||||
|
||||
#include <osg/Object>
|
||||
|
||||
#include <BulletCollision/CollisionDispatch/btCollisionObject.h>
|
||||
#include <BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h>
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#ifndef OPENMW_MWPHYSICS_HEIGHTFIELD_H
|
||||
#define OPENMW_MWPHYSICS_HEIGHTFIELD_H
|
||||
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include <LinearMath/btScalar.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
#include <BulletCollision/CollisionDispatch/btCollisionObject.h>
|
||||
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include <components/debug/debuglog.hpp>
|
||||
#include <components/detournavigator/agentbounds.hpp>
|
||||
#include <components/detournavigator/debug.hpp>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
#include <osg/Vec2i>
|
||||
#include <osg/Vec4i>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include "positioncellgrid.hpp"
|
||||
#include "ptr.hpp"
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
|
||||
#include <LinearMath/btTransform.h>
|
||||
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
#include <string>
|
||||
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/Referenced>
|
||||
#include <osg/ref_ptr>
|
||||
|
||||
#include <BulletCollision/CollisionShapes/btCompoundShape.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user