Radiant:
binds... * doubleClick/Enter in Entity inspector Class list = convert entities * ctrl during creating brush = cube brush misc... * on worldspawn entity create/convert to one do most expected move-selected-primitives-to-worldspawn * convert point entity to group one = placeholder brush at origin + remove origin key * convert group entity to point one: set origin key to contained primitives center * fix uniform rotation operations for eclassmodel, miscmodel entities * scale miscmodel entities uniformly * added func_detail to world and detail filters * region->set_xy: using active projection, not just xy one; is subtractive (no region off before applying) * new brush prefab: icosahedron * refactored CSGTool, improved Hollow::diagonal algorithm stability improved view_cubiclipping.png
This commit is contained in:
@@ -338,6 +338,7 @@ bool filter( const Entity& entity ) const {
|
||||
|
||||
//filter_entity_classname g_filter_entity_world( "worldspawn" );
|
||||
filter_entity_classname g_filter_entity_func_group( "func_group" );
|
||||
filter_entity_classname g_filter_entity_func_detail( "func_detail" );
|
||||
filter_entity_classname g_filter_entity_light( "light" );
|
||||
filter_entity_classname g_filter_entity_misc_model( "misc_model" );
|
||||
filter_entity_classname g_filter_entity_misc_gamemodel( "misc_gamemodel" );
|
||||
@@ -360,8 +361,10 @@ class filter_entity_world : public EntityFilter
|
||||
{
|
||||
public:
|
||||
bool filter( const Entity& entity ) const {
|
||||
return string_equal( entity.getKeyValue( "classname" ), "worldspawn" )
|
||||
|| string_equal( entity.getKeyValue( "classname" ), "func_group" );
|
||||
const char* value = entity.getKeyValue( "classname" );
|
||||
return string_equal( value, "worldspawn" )
|
||||
|| string_equal( value, "func_group" )
|
||||
|| string_equal( value, "func_detail" );
|
||||
}
|
||||
};
|
||||
|
||||
@@ -370,6 +373,7 @@ filter_entity_world g_filter_entity_world;
|
||||
void Entity_InitFilters(){
|
||||
add_entity_filter( g_filter_entity_world, EXCLUDE_WORLD );
|
||||
add_entity_filter( g_filter_entity_func_group, EXCLUDE_FUNC_GROUPS );
|
||||
add_entity_filter( g_filter_entity_func_detail, EXCLUDE_DETAILS );
|
||||
add_entity_filter( g_filter_entity_world, EXCLUDE_ENT, true );
|
||||
add_entity_filter( g_filter_entity_trigger, EXCLUDE_TRIGGERS );
|
||||
add_entity_filter( g_filter_entity_misc_model, EXCLUDE_MODELS );
|
||||
|
||||
Reference in New Issue
Block a user