diff --git a/CamData.cpp b/CamData.cpp index a2d284e..f573efe 100644 --- a/CamData.cpp +++ b/CamData.cpp @@ -149,6 +149,8 @@ CamData::SetOwner( int nId, IGeomDB* pGDB) { m_nOwnerId = nId ; m_pGeomDB = pGDB ; + if ( m_pGeomDB != nullptr) + m_pGeomDB->SetStipple( m_nOwnerId, ( m_nMove == 0 ? 3 : 0), 0x8C8C) ; return ( m_nOwnerId != GDB_ID_NULL && m_pGeomDB != nullptr) ; } diff --git a/Milling.cpp b/Milling.cpp index 41e7ef7..cbd3989 100644 --- a/Milling.cpp +++ b/Milling.cpp @@ -2501,7 +2501,7 @@ Milling::AddStandardMilling( const ICurveComposite* pCompo, const Vector3d& vtTo bAboveEnd = GetPointAboveRaw( ptP1, vtTool) ; else { Vector3d vtCorr = CalcCorrDir( pCompo, nMaxInd + 1) ; - bAboveEnd = GetPointOutOfRaw( ptP1, vtTool, vtCorr, dElev, dSafeZ) ; + bAboveEnd = GetPointOutOfRaw( ptP1, vtTool, vtCorr, dEndElev, dSafeZ) ; } } // correggo elevazione finale per punto fine uscita (se testa da sopra senza aggregato approccio mai Z-)