File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,11 @@ namespace ignition
5757 // / Destroys the collada loader, the stl loader and all the meshes
5858 private: virtual ~MeshManager ();
5959
60+ // / Return a pointer to the mesh manager
61+ // / \todo(ahcorde) Remove inheritance from Singleton base class
62+ // / \return a pointer to the mesh manager
63+ public: static MeshManager* Instance ();
64+
6065 // / \brief Load a mesh from a file.
6166 // / The mesh will be searched on the global SystemPaths instance provided
6267 // / by Util.hh.
Original file line number Diff line number Diff line change @@ -1579,3 +1579,9 @@ void MeshManager::ConvertPolylinesToVerticesAndEdges(
15791579 }
15801580 }
15811581}
1582+
1583+ // ////////////////////////////////////////////////
1584+ MeshManager* MeshManager::Instance ()
1585+ {
1586+ return SingletonT<MeshManager>::Instance ();
1587+ }
You can’t perform that action at this time.
0 commit comments