[Gtkradiant] [Bug 902] New: Shader parser mangles shader entry names
gtkradiant@zerowing.idsoftware.com
gtkradiant@zerowing.idsoftware.com
Wed, 22 Oct 2003 18:00:07 -0500
http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=902
Summary: Shader parser mangles shader entry names
Product: GtkRadiant
Version: 1.3
Platform: All
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: editor
AssignedTo: ttimo@idsoftware.com
ReportedBy: rr2do2@q3f.com
CShader::Parse() calls a QERApp_CleanTextureName on each shader entry name,
causing 'textures/' to be prefixed for every single entry. This is a Bad Thing
as there can be valid shader paths such as 'models/bleh/doh'.
The only place where we should add 'textures' is upon loading from map (though
even that is a bad thing tbh, a hack we should only do for games where the
toolset requires it and we can't fix it)