Q3map2:
* 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:
parent
e8686a54bf
commit
fa294e4215
|
|
@ -2014,6 +2014,11 @@ void windingForClipPlane( Winding& winding, const Plane3& plane ) const {
|
|||
continue;
|
||||
}
|
||||
|
||||
if( buffer[swap].points.empty() ){
|
||||
//globalErrorStream() << "windingForClipPlane: about to feed empty winding\n";
|
||||
break;
|
||||
}
|
||||
|
||||
buffer[!swap].clear();
|
||||
|
||||
#if BRUSH_CONNECTIVITY_DEBUG
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3400,7 +3400,7 @@ void RadiantSelectionSystem::ConstructPivot() const {
|
|||
m_object_pivot = bounds.origin;
|
||||
}
|
||||
|
||||
vector3_snap( m_object_pivot, GetSnapGridSize() );
|
||||
//vector3_snap( m_object_pivot, GetSnapGridSize() );
|
||||
m_pivot2world = matrix4_translation_for_vec3( m_object_pivot );
|
||||
|
||||
switch ( m_manipulator_mode )
|
||||
|
|
|
|||
|
|
@ -546,7 +546,7 @@ int MiniMapBSPMain( int argc, char **argv ){
|
|||
StripExtension( source );
|
||||
DefaultExtension( source, ".bsp" );
|
||||
Sys_Printf( "Loading %s\n", source );
|
||||
BeginMapShaderFile( source );
|
||||
//BeginMapShaderFile( source ); //do not delete q3map2_*.shader on minimap generation
|
||||
LoadShaderInfo();
|
||||
LoadBSPFile( source );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user