EgtExecutor :

- aggiunto controllo.
This commit is contained in:
Daniele Bariletti
2026-03-31 15:01:56 +02:00
parent 4b8f8ee87e
commit 41790f7d57
+1 -1
View File
@@ -1866,7 +1866,7 @@ ExeShowSurfBezierControlPoints( int nSrfId, int nDestGrpId, int* pnCount)
VERIFY_GEOMDB( pGeomDB, GDB_ID_NULL)
// recupero la superficie di bezier
IGeoObj* pGeoObj = pGeomDB->GetGeoObj( nSrfId) ;
if ( pGeoObj->GetType() != SRF_BEZIER)
if ( pGeoObj == nullptr || pGeoObj->GetType() != SRF_BEZIER)
return GDB_ID_NULL ;
// recupero il riferimento della superficie
Frame3d frSurf ;