[Gtkradiant] [Bug 467] radiant accepts to load textures with spaces in name?
gtkradiant@zerowing.idsoftware.com
gtkradiant@zerowing.idsoftware.com
Tue, 23 Apr 2002 08:28:55 -0500
http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=467
------- Additional Comments From wjoseph@europe.ea.com 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
checked.
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.
or
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!