mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
* hide group entity node when all its children get hidden
This commit is contained in:
+2
-2
@@ -1415,7 +1415,7 @@ void Map_ApplyRegion(){
|
||||
g_region_item.update();
|
||||
|
||||
Scene_Exclude_Region( false );
|
||||
/* newly created brushes have to be visible! */
|
||||
/* not hiding worldspawn node so that newly created brushes are visible */
|
||||
if( scene::Node* w = Map_FindWorldspawn( g_map ) )
|
||||
exclude_node( *w, false );
|
||||
}
|
||||
@@ -1436,7 +1436,7 @@ void Map_RegionSelectedBrushes(){
|
||||
Select_GetBounds( g_region_mins, g_region_maxs );
|
||||
|
||||
Scene_Exclude_Selected( false );
|
||||
/* newly created brushes have to be visible! */
|
||||
/* not hiding worldspawn node so that newly created brushes are visible */
|
||||
if( scene::Node* w = Map_FindWorldspawn( g_map ) )
|
||||
exclude_node( *w, false );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user