David Rose 17 سال پیش
والد
کامیت
2a6a39dd4a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      panda/src/tinydisplay/tinyOsxGraphicsWindow.mm

+ 1 - 1
panda/src/tinydisplay/tinyOsxGraphicsWindow.mm

@@ -544,7 +544,7 @@ bool TinyOsxGraphicsWindow::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.
     tinydisplay_cat.warning()
       << "Could not find icon filename " << icon_filename << "\n";