diff --git a/radiant/csg.cpp b/radiant/csg.cpp index c774a13c..4b252702 100644 --- a/radiant/csg.cpp +++ b/radiant/csg.cpp @@ -791,9 +791,8 @@ void post( const scene::Path& path, scene::Instance& instance ) const { ASSERT_MESSAGE( !brush->empty(), "brush left with no faces after split" ); } else - // the plane does not intersect this brush - if ( !m_split && split.counts[ePlaneBack] != 0 ) { - // the brush is "behind" the plane + // the plane does not intersect this brush and the brush is in front of the plane + if ( !m_split && split.counts[ePlaneFront] != 0 ) { m_gj = true; Path_deleteTop( path ); } diff --git a/radiant/selection.cpp b/radiant/selection.cpp index 9a49afca..d80ae172 100644 --- a/radiant/selection.cpp +++ b/radiant/selection.cpp @@ -1416,11 +1416,11 @@ void testSelect( const View& view, const Matrix4& pivot2world ){ selector.addSelectable( best, &m_selectable_screen ); } - { - SelectionIntersection best; - Circle_BestPoint( local2view, eClipCullCW, m_circle_sphere.m_vertices.data(), m_circle_sphere.m_vertices.size(), best ); - selector.addSelectable( best, &m_selectable_sphere ); - } +// { +// SelectionIntersection best; +// Circle_BestPoint( local2view, eClipCullCW, m_circle_sphere.m_vertices.data(), m_circle_sphere.m_vertices.size(), best ); +// selector.addSelectable( best, &m_selectable_sphere ); +// } } m_axis_screen = m_pivot.m_axis_screen;