smeshGUI->myAutomaticUpdate = false;
}
- /* menus disable */
- parent->menuBar()->setItemEnabled(11, false); // IMPORT
-
return true;
}
void SMESHGUI::AddNodes(SMESH_Actor * Mactor, int number,
const SMESH::double_array & coords, const SMESH::long_array & indexes)
{
- MESSAGE("SMESHGUI::AddNodes(number="<<number<<")");
+ MESSAGE("SMESHGUI::AddNodes(number="<<number<<", indexes.length()="<<indexes.length()<<")");
QApplication::setOverrideCursor(Qt::waitCursor);
if (Mactor->GetMapper() == NULL)
{
void SMESHGUI::AddTriangles(SMESH_Actor * Mactor, int number,
const SMESH::double_array & coords, const SMESH::long_array & indexes)
{
- MESSAGE("SMESHGUI::AddTriangles(number="<<number<<")");
+ MESSAGE("SMESHGUI::AddTriangles(number="<<number<<", indexes.length="
+ <<indexes.length()<<")");
+
QApplication::setOverrideCursor(Qt::waitCursor);
//vtkUnstructuredGrid* ugrid = vtkUnstructuredGrid::SafeDownCast( Mactor->DataSource );
SMESH_Grid *ugrid = SMESH_Grid::SafeDownCast(Mactor->DataSource);