[Gtkradiant] [Bug 467] radiant accepts to load textures with spaces in name?
Tue, 23 Apr 2002 08:28:55 -0500
------- Additional Comments From firstname.lastname@example.org 2002-04-23 08:28 -------
Checking the name on saving the map is what you do when you don't trust the
rest of the app to get it right. Checking the name on loading the map is too
late anyway, because the parser will b0rk on a dud name before it can be
Clean solutions would be ones that stop bad names from ever being applied in
the first place.
1) global method:
make texture dir search ignore files with invalid names.
make shader parser ignore shaders with invalid names (already does).
make surfacedialog ignore invalid names.
2) game-specific method:
make quake-specific texdefs ignore invalid names
method #2 seems simpler to me.
------- You are receiving this mail because: -------
Whoops! I have no idea!