EgtMachKernel 1.8h1 :
- migliorata gestione oggetti utente operazioni - aggiunta SimGetOperationInfo.
This commit is contained in:
+2
-2
@@ -365,7 +365,7 @@ MachMgr::SetRotAxisBlock( const string& sAxis, double dVal)
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
MachMgr::GetRotAxisBlocked( int nInd, string& sAxis, double& dVal)
|
||||
MachMgr::GetRotAxisBlocked( int nInd, string& sAxis, double& dVal) const
|
||||
{
|
||||
// se bloccaggi non ancora impostati
|
||||
if ( ! m_vAxisBlock.empty()) {
|
||||
@@ -376,7 +376,7 @@ MachMgr::GetRotAxisBlocked( int nInd, string& sAxis, double& dVal)
|
||||
return true ;
|
||||
}
|
||||
// altrimenti cerco negli assi rotanti correnti
|
||||
Machine* pMch = GetCurrMachine() ;
|
||||
const Machine* pMch = GetCurrMachine() ;
|
||||
if ( pMch == nullptr)
|
||||
return false ;
|
||||
int nMyInd = 0 ;
|
||||
|
||||
Reference in New Issue
Block a user