Remove wxASSERT in new cbbox code which was a nuisance to the legacy 3DViewer
This commit is contained in:
parent
5306db0c98
commit
b2bdca4b7b
|
@ -111,7 +111,8 @@ void CBBOX::Union( const SFVEC3F &aPoint )
|
||||||
|
|
||||||
void CBBOX::Union( const CBBOX &aBBox )
|
void CBBOX::Union( const CBBOX &aBBox )
|
||||||
{
|
{
|
||||||
wxASSERT( aBBox.IsInitialized() );
|
if( !aBBox.IsInitialized() )
|
||||||
|
return;
|
||||||
|
|
||||||
// get the minimun value between the added bounding box and the existent bounding box
|
// get the minimun value between the added bounding box and the existent bounding box
|
||||||
m_min.x = fmin( m_min.x, aBBox.m_min.x );
|
m_min.x = fmin( m_min.x, aBBox.m_min.x );
|
||||||
|
|
Loading…
Reference in New Issue