mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-05 15:40:10 +00:00
Resolve merge issues.
This commit is contained in:
parent
84f0ddd51c
commit
4c3c674223
@ -15,7 +15,7 @@
|
||||
namespace CSVRender
|
||||
{
|
||||
PathgridPoint::PathgridPoint(const std::string &name,
|
||||
Ogre::SceneNode *cellNode, const Ogre::Vector3 &pos, CSVWorld::PhysicsSystem *physics)
|
||||
Ogre::SceneNode *cellNode, const Ogre::Vector3 &pos, boost::shared_ptr<CSVWorld::PhysicsSystem> physics)
|
||||
: mBase(cellNode), mPhysics(physics)
|
||||
{
|
||||
mBase = cellNode->createChildSceneNode();
|
||||
|
@ -1,6 +1,8 @@
|
||||
#ifndef OPENCS_VIEW_PATHGRIDPOINT_H
|
||||
#define OPENCS_VIEW_PATHGRIDPOINT_H
|
||||
|
||||
#include <boost/shared_ptr.hpp>
|
||||
|
||||
#include <components/nifogre/ogrenifloader.hpp>
|
||||
|
||||
namespace Ogre
|
||||
@ -19,14 +21,15 @@ namespace CSVRender
|
||||
{
|
||||
class PathgridPoint
|
||||
{
|
||||
CSVWorld::PhysicsSystem *mPhysics; // local copy
|
||||
boost::shared_ptr<CSVWorld::PhysicsSystem> mPhysics; // local copy
|
||||
NifOgre::ObjectScenePtr mPgPoint;
|
||||
Ogre::SceneNode *mBase;
|
||||
|
||||
public:
|
||||
|
||||
PathgridPoint(const std::string &name,
|
||||
Ogre::SceneNode *cellNode, const Ogre::Vector3 &pos, CSVWorld::PhysicsSystem *physics);
|
||||
Ogre::SceneNode *cellNode, const Ogre::Vector3 &pos,
|
||||
boost::shared_ptr<CSVWorld::PhysicsSystem> physics);
|
||||
|
||||
~PathgridPoint();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user