* do not delete q3map2_*.shader on minimap generation


Radiant:

misc...
	* fix: crash in CSG::BrushDeleteSelected
	* fix: crash in Brush::windingForClipPlane
	* disabled snapping of transform/pivot origin
This commit is contained in:
Garux
2017-08-02 09:04:00 +03:00
parent e8686a54bf
commit fa294e4215
4 changed files with 9 additions and 3 deletions

View File

@@ -419,8 +419,9 @@ void post( const scene::Path& path, scene::Instance& instance ) const {
if ( brush != 0
&& Instance_getSelectable( instance )->isSelected()
&& path.size() > 1 ) {
scene::Node& parent = path.parent();
Path_deleteTop( path );
if( Node_getTraversable( path.parent() )->empty() ){
if( Node_getTraversable( parent )->empty() ){
m_eraseParent = true;
//globalOutputStream() << "Empty node?!.\n";
}