Merge commit 'c0fe5f14a8f18139e15639856a8ec6799498bdb2' into 3dm_import

This commit is contained in:
Daniele Bariletti
2023-08-28 16:07:31 +02:00
+1 -1
View File
@@ -1600,7 +1600,7 @@ CurveComposite::CopyParamRange( double dUStart, double dUEnd) const
// eseguo il trim della copia
if ( ! pCopy->TrimStartEndAtParam( dUStart, dUEnd))
return nullptr ;
return ( ::Release( pCopy)) ;
return ( pCopy->m_CrvSmplS.empty() ? nullptr : ::Release( pCopy)) ;
}
//----------------------------------------------------------------------------