diff --git a/panda/src/gobj/materialPool.cxx b/panda/src/gobj/materialPool.cxx index 35d91e3c45..ffe0793847 100644 --- a/panda/src/gobj/materialPool.cxx +++ b/panda/src/gobj/materialPool.cxx @@ -23,6 +23,17 @@ MaterialPool *MaterialPool::_global_ptr = (MaterialPool *)NULL; +//////////////////////////////////////////////////////////////////// +// Function: MaterialPool::write +// Access: Published, Static +// Description: Lists the contents of the material pool to the +// indicated output stream. +//////////////////////////////////////////////////////////////////// +void MaterialPool:: +write(ostream &out, unsigned int) { + get_ptr()->ns_list_contents(out); +} + //////////////////////////////////////////////////////////////////// // Function: MaterialPool::ns_get_material // Access: Public @@ -91,14 +102,3 @@ get_ptr() { } return _global_ptr; } - -//////////////////////////////////////////////////////////////////// -// Function: MaterialPool::write -// Access: Public, Static -// Description: Lists the contents of the material pool to the -// indicated output stream. -//////////////////////////////////////////////////////////////////// -INLINE void MaterialPool:: -write(ostream &out, unsigned int) { - get_ptr()->ns_list_contents(out); -}