Radiant:
binds... * douplicated basic shortcuts: arrows - camera freemove, ESC - deSelect, backSpace - delete menus... * modify+: snap to grid (ctrl+g) misc... * fixed warning on import (q3map2_type not found) * patch thicken * removed douplicate accelerators registering * trigger_* entities get textures/common/trigger tex on creation ( unless different is set in .game file via shader_trigger key ) * opening *.map, sent via cmd line (can assign *.map files in system to be opened with radiant) * -aero cmd line key to enable aero transparency * opening maps with bad tex defs (.#QNAN, .#IND, .#INF) (happens sometimes after rotating & often scaling with tex lock (in BP mode)); error->warning
This commit is contained in:
@@ -231,6 +231,12 @@ inline bool Tokeniser_getFloat( Tokeniser& tokeniser, float& f ){
|
||||
if ( token != 0 && string_parse_float( token, f ) ) {
|
||||
return true;
|
||||
}
|
||||
//fallback for 1.#IND 1.#INF 1.#QNAN cases, happening sometimes after rotating & often scaling with tex lock in BP mode
|
||||
else if ( token != 0 && strstr( token, ".#" ) ) {
|
||||
globalErrorStream() << "Warning: " << Unsigned( tokeniser.getLine() ) << ":" << Unsigned( tokeniser.getColumn() ) << ": expected parse problem at '" << token << "': wanted '#number'\nProcessing anyway\n";
|
||||
*strstr( token, ".#" ) = '\0';
|
||||
return true;
|
||||
}
|
||||
Tokeniser_unexpectedError( tokeniser, token, "#number" );
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user