Radiant:
misc... * fix scaling for doom3 brush format * Pointfile function: try to also load .pts leak line file (q1), if .lin isn't found * snap transform origin for flip commands * change light intensity save format from %f to %g to prevent .99999 on transforms * support 'stupid quake bug' (invert pitch in angles)(generic and miscmodel ents)(cfg: entities="quake" in .game) * clipper: place 1st and 2nd points far, 3rd near to ease 3 points clipping
This commit is contained in:
@@ -272,7 +272,14 @@ void Pointfile_Parse( CPointfile& pointfile ){
|
||||
size = LoadFile( name.c_str(), (void**)&data );
|
||||
if ( size == -1 ) {
|
||||
globalErrorStream() << "Pointfile " << name.c_str() << " not found\n";
|
||||
return;
|
||||
/* try .pts (q1) */
|
||||
name.clear();
|
||||
name << StringRange( mapname, path_get_filename_base_end( mapname ) ) << ".pts";
|
||||
size = LoadFile( name.c_str(), (void**)&data );
|
||||
if ( size == -1 ) {
|
||||
globalErrorStream() << "Pointfile " << name.c_str() << " not found\n";
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// store a pointer
|
||||
|
||||
Reference in New Issue
Block a user