EgtInterface :

- aggiunta gestione selezione per percorso.
This commit is contained in:
Dario Sassi
2015-03-17 11:10:43 +00:00
parent 10814a2d04
commit 4a618e287b
3 changed files with 94 additions and 2 deletions
+2 -2
View File
@@ -1054,7 +1054,7 @@ __stdcall EgtCreateCurveArc2PVNEx( int nParentId, const double ptStart[3],
ToString( Vector3d( vtDirS)) + "},{" +
ToString( Vector3d( vtNorm)) + "}," +
RefTypeToString( nRefType) + ")" +
" -- Id=" + ToString( nId) ;
" -- Id=" + ToString( nNewId) ;
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
}
// restituisco l'identificativo della nuova entità
@@ -1400,7 +1400,7 @@ MyCreateCurveCompoByChain( int nParentId, const INTVECTOR& vIds,
int nFirstId = GDB_ID_NULL ;
Point3d ptNearL = GetPointLocal( pGeomDB, ptNear.v, nRefType, frDest) ;
INTVECTOR vId2s ;
while ( chainC.GetChainFromNear( ptNearL, vId2s)) {
while ( chainC.GetChainFromNear( ptNearL, false, vId2s)) {
// creo una curva composita
PtrOwner<ICurveComposite> pCrvCompo( CreateCurveComposite()) ;
if ( IsNull( pCrvCompo))