mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
model_path
This commit is contained in:
parent
80f14fc6ac
commit
2a6a39dd4a
@ -544,7 +544,7 @@ bool TinyOsxGraphicsWindow::set_icon_filename(const Filename &icon_filename)
|
|||||||
VirtualFileSystem *vfs = VirtualFileSystem::get_global_ptr();
|
VirtualFileSystem *vfs = VirtualFileSystem::get_global_ptr();
|
||||||
|
|
||||||
Filename icon_pathname = icon_filename;
|
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.
|
// The filename doesn't exist.
|
||||||
tinydisplay_cat.warning()
|
tinydisplay_cat.warning()
|
||||||
<< "Could not find icon filename " << icon_filename << "\n";
|
<< "Could not find icon filename " << icon_filename << "\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user