mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
model_path -> get_model_path()
This commit is contained in:
parent
2b34362166
commit
7404da17c9
@ -734,7 +734,7 @@ bool osxGraphicsWindow::set_icon_filename(const Filename &icon_filename)
|
||||
VirtualFileSystem *vfs = VirtualFileSystem::get_global_ptr();
|
||||
|
||||
Filename icon_pathname = icon_filename;
|
||||
if (!vfs->resolve_filename(icon_pathname, model_path)) {
|
||||
if (!vfs->resolve_filename(icon_pathname, get_model_path())) {
|
||||
// The filename doesn't exist.
|
||||
osxdisplay_cat.warning()
|
||||
<< "Could not find icon filename " << icon_filename << "\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user