Game Development Community

Reload directory structure changes for editor?

by Clint S. Brewer · in Torque Game Engine · 03/08/2005 (2:15 pm) · 2 replies

Anyone know if there is an existing way to make the editor reload the existing files?

for instance If I am working with terrain textures and I create and save a new texture while the game is running, I can not load that new texture because it doesn't show up in the list of files.

I have to exit the app and restart in order to use that new texture.
it'd be nice to not have to do that.

thanks,
-clint

#1
03/09/2005 (11:56 am)
setModPaths(getModPaths());
#2
03/09/2005 (1:27 pm)
Thanks Manoel, worked like a charm. I'll add a button to the LoadFileDlg.gui to do this.