EgtExecutor :
- corrette funzioni ExeAddCurveCompoLine, ExeAddCurveCompoArcTg e ExeAddCurveCompoArc2P che non portavano in locale alla curva il punto finale.
This commit is contained in:
@@ -1500,7 +1500,7 @@ ExeAddCurveCompoLine( int nId, const Point3d& ptP, int nRefType)
|
||||
// porto in locale il nuovo punto
|
||||
Point3d ptPL = GetPointLocal( pGeomDB, ptP, nRefType, frLoc) ;
|
||||
// eseguo la modifica
|
||||
bOk = bOk && pCompo->AddLine( ptP) ;
|
||||
bOk = bOk && pCompo->AddLine( ptPL) ;
|
||||
ExeSetModified() ;
|
||||
// se richiesto, salvo il comando Lua equivalente
|
||||
if ( IsCmdLog()) {
|
||||
@@ -1530,7 +1530,7 @@ ExeAddCurveCompoArcTg( int nId, const Point3d& ptP, int nRefType)
|
||||
// porto in locale il nuovo punto
|
||||
Point3d ptPL = GetPointLocal( pGeomDB, ptP, nRefType, frLoc) ;
|
||||
// eseguo la modifica
|
||||
bOk = bOk && pCompo->AddArcTg( ptP) ;
|
||||
bOk = bOk && pCompo->AddArcTg( ptPL) ;
|
||||
ExeSetModified() ;
|
||||
// se richiesto, salvo il comando Lua equivalente
|
||||
if ( IsCmdLog()) {
|
||||
@@ -1561,7 +1561,7 @@ ExeAddCurveCompoArc2P( int nId, const Point3d& ptMid, const Point3d& ptP, int nR
|
||||
Point3d ptMidL = GetPointLocal( pGeomDB, ptMid, nRefType, frLoc) ;
|
||||
Point3d ptPL = GetPointLocal( pGeomDB, ptP, nRefType, frLoc) ;
|
||||
// eseguo la modifica
|
||||
bOk = bOk && pCompo->AddArc2P( ptMidL, ptP) ;
|
||||
bOk = bOk && pCompo->AddArc2P( ptMidL, ptPL) ;
|
||||
ExeSetModified() ;
|
||||
// se richiesto, salvo il comando Lua equivalente
|
||||
if ( IsCmdLog()) {
|
||||
|
||||
Reference in New Issue
Block a user