Radiant:
misc... * restrict unwanted angle(s) keys commits on moving generic, eclassmodel, miscmodel entities * reverted angle(s), origin, scale entity keys save format from %f to %g * fix uniform rotation operations for generic entities with angles key * use more precise meth for rotating point entities with only angle rotated * snap tiny inaccuracies in angle(s) and origin point entities keys * workaround: don't discard empty group ents, having origin key * entity class convertion: prevent converting worldspawn; prevent converting point entity to empty group
This commit is contained in:
@@ -70,7 +70,8 @@ bool pre( scene::Node& node ) const {
|
||||
|
||||
Entity* entity = Node_getEntity( node );
|
||||
if ( entity != 0 ) {
|
||||
if( entity->isContainer() && Node_getTraversable( node )->empty() && !string_equal( entity->getKeyValue( "classname" ), "worldspawn" ) ){
|
||||
if( entity->isContainer() && Node_getTraversable( node )->empty() && !string_equal( entity->getKeyValue( "classname" ), "worldspawn" )
|
||||
&& string_empty( entity->getKeyValue( "origin" ) ) ){
|
||||
globalErrorStream() << "discarding empty group entity: # = " << g_count_entities << "; classname = " << entity->getKeyValue( "classname" ) << "\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user