diff --git a/EXE_NstCreateFlatParts.cpp b/EXE_NstCreateFlatParts.cpp index 8484802..52e35ec 100644 --- a/EXE_NstCreateFlatParts.cpp +++ b/EXE_NstCreateFlatParts.cpp @@ -695,21 +695,21 @@ ExeAdjustFlatPartLayer( int nLayerId) nId = nNextId ; } // se rimasta una sola curva composita la spezzo in due parti - if ( pGeomDB->GetGroupObjs( nLayerId) == 1) { - int nId = pGeomDB->GetFirstInGroup( nLayerId) ; - ICurveComposite* pCompo = GetCurveComposite( pGeomDB->GetGeoObj( nId)) ; - if ( pCompo != nullptr) { - int nTotCurve = pCompo->GetCurveCount() ; - // se contiene pił curve semplici, la spezzo ad una giunzione - if ( nTotCurve >= 2) { - int nHalfCurve = nTotCurve / 2 ; - ExeSplitCurveAtParam( nId, nHalfCurve) ; - } - // altrimenti la spezzo esattamente a metą - else - ExeSplitCurve( nId, 2) ; - } - } + //if ( pGeomDB->GetGroupObjs( nLayerId) == 1) { + // int nId = pGeomDB->GetFirstInGroup( nLayerId) ; + // ICurveComposite* pCompo = GetCurveComposite( pGeomDB->GetGeoObj( nId)) ; + // if ( pCompo != nullptr) { + // int nTotCurve = pCompo->GetCurveCount() ; + // // se contiene pił curve semplici, la spezzo ad una giunzione + // if ( nTotCurve >= 2) { + // int nHalfCurve = nTotCurve / 2 ; + // ExeSplitCurveAtParam( nId, nHalfCurve) ; + // } + // // altrimenti la spezzo esattamente a metą + // else + // ExeSplitCurve( nId, 2) ; + // } + //} // Aggiorno l'ordinamento bOk = bOk && ExeReorderCurvesInGroup( nLayerId, ORIG, RTY_GLOB) ; // Inserisco in ogni curva info su angoli con precedente e successiva diff --git a/EgtExecutor.rc b/EgtExecutor.rc index d615f86..2230031 100644 Binary files a/EgtExecutor.rc and b/EgtExecutor.rc differ