EgtMachKernel :
- ottimizzate rotazioni di +/- 90 deg.
This commit is contained in:
+2
-2
@@ -147,11 +147,11 @@ Machine::LoadTool( Exit* pExit, const string& sTool)
|
||||
int nT = m_pGeomDB->GetFirstGroupInGroup( nExGrp) ;
|
||||
if ( nT == GDB_ID_NULL)
|
||||
return false ;
|
||||
m_pGeomDB->Rotate( nT, ORIG, X_AX, 90) ;
|
||||
m_pGeomDB->Rotate( nT, ORIG, X_AX, 0, 1) ;
|
||||
// se mortasa, lo ruoto 90 deg attorno a Z
|
||||
int nType ;
|
||||
if ( m_pMchMgr->TdbGetCurrToolParam( TPA_TYPE, nType) && nType == TT_MORTISE_STD)
|
||||
m_pGeomDB->Rotate( nT, ORIG, Z_AX, 90) ;
|
||||
m_pGeomDB->Rotate( nT, ORIG, Z_AX, 0, 1) ;
|
||||
pExit->SetTool( sTool) ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user