Commit a6dc7436 authored by Mike Kremer's avatar Mike Kremer

Pass id list as const reference.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13915 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 68a05320
......@@ -83,7 +83,7 @@ void VolumeMeshSelectionPlugin::invertVertexSelection(int _objectId) {
emit updatedObject(_objectId, UPDATE_SELECTION);
}
void VolumeMeshSelectionPlugin::selectVertices(int _objectId, const IdList _ids, bool _deselect) {
void VolumeMeshSelectionPlugin::selectVertices(int _objectId, const IdList& _ids, bool _deselect) {
if(_ids.empty()) return;
......@@ -255,7 +255,7 @@ void VolumeMeshSelectionPlugin::invertEdgeSelection(int _objectId) {
emit updatedObject(_objectId, UPDATE_SELECTION);
}
void VolumeMeshSelectionPlugin::selectEdges(int _objectId, const IdList _ids, bool _deselect) {
void VolumeMeshSelectionPlugin::selectEdges(int _objectId, const IdList& _ids, bool _deselect) {
if(_ids.empty()) return;
......@@ -427,7 +427,7 @@ void VolumeMeshSelectionPlugin::invertHalfEdgeSelection(int _objectId) {
emit updatedObject(_objectId, UPDATE_SELECTION);
}
void VolumeMeshSelectionPlugin::selectHalfEdges(int _objectId, const IdList _ids, bool _deselect) {
void VolumeMeshSelectionPlugin::selectHalfEdges(int _objectId, const IdList& _ids, bool _deselect) {
if(_ids.empty()) return;
......@@ -571,7 +571,7 @@ void VolumeMeshSelectionPlugin::invertFaceSelection(int _objectId) {
emit updatedObject(_objectId, UPDATE_SELECTION);
}
void VolumeMeshSelectionPlugin::selectFaces(int _objectId, const IdList _ids, bool _deselect) {
void VolumeMeshSelectionPlugin::selectFaces(int _objectId, const IdList& _ids, bool _deselect) {
if(_ids.empty()) return;
......@@ -743,7 +743,7 @@ void VolumeMeshSelectionPlugin::invertHalfFaceSelection(int _objectId) {
emit updatedObject(_objectId, UPDATE_SELECTION);
}
void VolumeMeshSelectionPlugin::selectHalfFaces(int _objectId, const IdList _ids, bool _deselect) {
void VolumeMeshSelectionPlugin::selectHalfFaces(int _objectId, const IdList& _ids, bool _deselect) {
if(_ids.empty()) return;
......@@ -886,7 +886,7 @@ void VolumeMeshSelectionPlugin::invertCellSelection(int _objectId) {
emit updatedObject(_objectId, UPDATE_SELECTION);
}
void VolumeMeshSelectionPlugin::selectCells(int _objectId, const IdList _ids, bool _deselect) {
void VolumeMeshSelectionPlugin::selectCells(int _objectId, const IdList& _ids, bool _deselect) {
if(_ids.empty()) return;
......
......@@ -186,7 +186,7 @@ public slots:
void invertVertexSelection(int _objectId);
/// Select specific vertices of a volume mesh
void selectVertices(int _objectId, const IdList _ids, bool _deselect = false);
void selectVertices(int _objectId, const IdList& _ids, bool _deselect = false);
/// Get current vertex selection
IdList getVertexSelection(int _objectId);
......@@ -206,7 +206,7 @@ public slots:
void invertEdgeSelection(int _objectId);
/// Select specific edges of a volume mesh
void selectEdges(int _objectId, const IdList _ids, bool _deselect = false);
void selectEdges(int _objectId, const IdList& _ids, bool _deselect = false);
/// Get current edge selection
IdList getEdgeSelection(int _objectId);
......@@ -226,7 +226,7 @@ public slots:
void invertHalfEdgeSelection(int _objectId);
/// Select specific half-edges of a volume mesh
void selectHalfEdges(int _objectId, const IdList _ids, bool _deselect = false);
void selectHalfEdges(int _objectId, const IdList& _ids, bool _deselect = false);
/// Get current half-edge selection
IdList getHalfEdgeSelection(int _objectId);
......@@ -243,7 +243,7 @@ public slots:
void invertFaceSelection(int _objectId);
/// Select specific faces of a volume mesh
void selectFaces(int _objectId, const IdList _ids, bool _deselect = false);
void selectFaces(int _objectId, const IdList& _ids, bool _deselect = false);
/// Get current face selection
IdList getFaceSelection(int _objectId);
......@@ -263,7 +263,7 @@ public slots:
void invertHalfFaceSelection(int _objectId);
/// Select specific half-faces of a volume mesh
void selectHalfFaces(int _objectId, const IdList _ids, bool _deselect = false);
void selectHalfFaces(int _objectId, const IdList& _ids, bool _deselect = false);
/// Get current half-face selection
IdList getHalfFaceSelection(int _objectId);
......@@ -280,7 +280,7 @@ public slots:
void invertCellSelection(int _objectId);
/// Select specific cells of a volume mesh
void selectCells(int _objectId, const IdList _ids, bool _deselect = false);
void selectCells(int _objectId, const IdList& _ids, bool _deselect = false);
/// Get current cell selection
IdList getCellSelection(int _objectId);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment