mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
* BugFix: When querying against root with Torque::FS::DumpDirectories, correctly return directories with their path.
* Adjustment: Add commenting to some of the new programming. * Adjustment: Tweak fileCreatedTime and fileModifiedTime functions to use the VFS.
This commit is contained in:
parent
b63122ea76
commit
0e93373824
7 changed files with 77 additions and 34 deletions
|
|
@ -50,12 +50,7 @@ bool MountDefaults()
|
|||
return false;
|
||||
|
||||
#ifdef TORQUE_SECURE_VFS
|
||||
// Set working directory to where the executable is
|
||||
StringTableEntry executablePath = Platform::getExecutablePath();
|
||||
SetCwd(executablePath);
|
||||
|
||||
// FIXME: Should we use the asset path here as well?
|
||||
mounted = Mount("/", createNativeFS(executablePath));
|
||||
mounted = Mount("/", createNativeFS(path));
|
||||
if (!mounted)
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue