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 @@ -1614,3 +1614,9 @@ void MeshManager::ConvertPolylinesToVerticesAndEdges(
16141614 }
16151615 }
16161616}
1617+
1618+ // ////////////////////////////////////////////////
1619+ MeshManager* MeshManager::Instance ()
1620+ {
1621+ return SingletonT<MeshManager>::Instance ();
1622+ }
You can’t perform that action at this time.
0 commit comments