mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
from_os_specific
This commit is contained in:
parent
190bce1824
commit
5b24209a3d
@ -77,8 +77,9 @@ read_all() {
|
|||||||
Config::ConfigTable::Symbol::iterator si;
|
Config::ConfigTable::Symbol::iterator si;
|
||||||
for (si = dc_files.begin(); si != dc_files.end(); ++si) {
|
for (si = dc_files.begin(); si != dc_files.end(); ++si) {
|
||||||
string dc_file = ExecutionEnvironment::expand_string((*si).Val());
|
string dc_file = ExecutionEnvironment::expand_string((*si).Val());
|
||||||
if (already_read.insert(dc_file).second) {
|
Filename filename = Filename::from_os_specific(dc_file);
|
||||||
if (!read(dc_file)) {
|
if (already_read.insert(filename).second) {
|
||||||
|
if (!read(filename)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user