From a4758aad6e3e80549febae83e75fddd69fd3916c Mon Sep 17 00:00:00 2001 From: Dario Sassi Date: Wed, 10 Jun 2026 14:40:23 +0200 Subject: [PATCH] =?UTF-8?q?EgtMachKernel=20:=20-=20layer=20per=20frame=20o?= =?UTF-8?q?ra=20=C3=A8=20AVIEW=20e=20alla=20creazione=20viene=20nascosto.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SurfFinishing.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SurfFinishing.cpp b/SurfFinishing.cpp index ec8a563..a023b4e 100644 --- a/SurfFinishing.cpp +++ b/SurfFinishing.cpp @@ -637,14 +637,14 @@ SurfFinishing::MyApply( bool bRecalc, bool bPostApply) UpdateFrameAndToolDir( nAuxId, bRecalc) ; // recupero il gruppo per posizionamento Frame e versore utensile - int nFrameId = m_pGeomDB->GetFirstNameInGroup( m_nOwnerId, MCH_FRAME) ; + int nFrameId = m_pGeomDB->GetFirstNameInGroup( m_nOwnerId, MCH_AUXVIEW) ; // se non c'รจ lo aggiungo if ( nFrameId == GDB_ID_NULL) { nFrameId = m_pGeomDB->AddGroup( GDB_ID_NULL, m_nOwnerId, Frame3d()) ; if ( nFrameId == GDB_ID_NULL) return false ; - m_pGeomDB->SetName( nFrameId, MCH_FRAME) ; - m_pGeomDB->SetStatus( nFrameId, GDB_ST_ON) ; + m_pGeomDB->SetName( nFrameId, MCH_AUXVIEW) ; + m_pGeomDB->SetStatus( nFrameId, GDB_ST_OFF) ; } // se richiesto il ricalcolo lo aggiorno else if ( bRecalc) @@ -7334,7 +7334,7 @@ SurfFinishing::GetLocalToolDir( Vector3d& vtToolLoc) const return false ; // ricerca del vettore direzione utensile locale all'interno del gruppo Owner della lavorazione di finitura corrente - int nFrameId = m_pGeomDB->GetFirstNameInGroup( m_nOwnerId, MCH_FRAME) ; + int nFrameId = m_pGeomDB->GetFirstNameInGroup( m_nOwnerId, MCH_AUXVIEW) ; if ( nFrameId == GDB_ID_NULL) return false ; int nId = m_pGeomDB->GetFirstInGroup( nFrameId) ;