mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
minor style change
This commit is contained in:
parent
7a7563ba2d
commit
10557d33c5
@ -23,7 +23,7 @@
|
||||
|
||||
ModelPool *ModelPool::_global_ptr = (ModelPool *)NULL;
|
||||
|
||||
static Loader _model_loader;
|
||||
static Loader model_loader;
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: ModelPool::ns_has_model
|
||||
@ -58,7 +58,7 @@ ns_load_model(const string &filename) {
|
||||
|
||||
loader_cat.info()
|
||||
<< "Loading model " << filename << "\n";
|
||||
PT(PandaNode) node = _model_loader.load_sync(filename);
|
||||
PT(PandaNode) node = model_loader.load_sync(filename);
|
||||
if (node.is_null()) {
|
||||
// This model was not found.
|
||||
return (PandaNode *)NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user