From 23a46d56cd39bc597a65637ba9bbe46f7d768091 Mon Sep 17 00:00:00 2001 From: Daniele Bariletti Date: Thu, 15 Jan 2026 11:53:26 +0100 Subject: [PATCH] EgtExecutor : - aggiunto controllo alla funzione MyCurveCurveInters. --- EXE_GeoInters.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/EXE_GeoInters.cpp b/EXE_GeoInters.cpp index 65bb8c0..2c2d680 100644 --- a/EXE_GeoInters.cpp +++ b/EXE_GeoInters.cpp @@ -1032,6 +1032,9 @@ MyCurveCurveInters( const int nId1, const int nId2, const int nDestGrpId, int& n CurveLocal Crv1Loc( pGeomDB, nId1, frDest) ; CurveLocal Crv2Loc( pGeomDB, nId2, frDest) ; + if( Crv1Loc.Get() == nullptr || Crv2Loc.Get() == nullptr) + return GDB_ID_NULL ; + // intersezione fra le curve nel piano XY locale IntersCurveCurve intCC( *Crv1Loc, *Crv2Loc, true) ; int nInters = 0 ;