Remove wxASSERT in new cbbox code which was a nuisance to the legacy 3DViewer

This commit is contained in:
Cirilo Bernardo 2016-02-25 09:52:00 +11:00
parent 5306db0c98
commit b2bdca4b7b
1 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,8 @@ void CBBOX::Union( const SFVEC3F &aPoint )
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
m_min.x = fmin( m_min.x, aBBox.m_min.x );