//**********************************************
bool NewGeom_SalomeViewer::enableDrawMode(bool isEnabled)
{
- // TODO: Has to be replaced when SALOME patch become avialable
+ // TODO: Has to be replaced when SALOME patch become available
if (mySelector)
return mySelector->viewer()->enableDrawMode(isEnabled);
return false;
return hasResults(aObjects, aTypes);
}
-void setColor(ResultPtr theResult, std::vector<int>& theColor)
+void setColor(ResultPtr theResult, const std::vector<int>& theColor)
{
if (!theResult.get())
return;