mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
search in current directory too
This commit is contained in:
parent
3978b8ecef
commit
ab35f28160
@ -73,7 +73,8 @@ DynamicTextFont(const Filename &font_filename, int face_index) {
|
||||
}
|
||||
|
||||
Filename path(font_filename);
|
||||
if (!path.resolve_filename(get_model_path())) {
|
||||
path.resolve_filename(get_model_path());
|
||||
if (!path.exists()) {
|
||||
text_cat.error()
|
||||
<< "Unable to find font file " << font_filename << "\n";
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user