Commit 853ca319 authored by Jan Möbius's avatar Jan Möbius

Implemented scripting interface for closest boundary selection.



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16061 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 09a7786e
......@@ -212,7 +212,7 @@ void MeshObjectSelectionPlugin::selectBoundaryVertices(int _objectId) {
//=========================================================
void MeshObjectSelectionPlugin::selectClosestBoundaryVertices(int _objectId, int VertexId) {
void MeshObjectSelectionPlugin::selectClosestBoundaryVertices(int _objectId, int _vertexId) {
BaseObjectData* object;
if (!PluginFunctions::getObject(_objectId,object)) {
......@@ -221,11 +221,9 @@ void MeshObjectSelectionPlugin::selectClosestBoundaryVertices(int _objectId, int
}
if (object->dataType() == DATA_TRIANGLE_MESH) {
// \TODO: Adapt implementation
//closestBoundarySelection(PluginFunctions::triMesh(object), VertexId, VERTEX);
closestBoundarySelection(PluginFunctions::triMesh(object),_vertexId, vertexType_, false);
} else if (object->dataType() == DATA_POLY_MESH) {
// \TODO: Adapt implementation
//closestBoundarySelection(PluginFunctions::polyMesh(object), VertexId, VERTEX);
closestBoundarySelection(PluginFunctions::polyMesh(object),_vertexId, vertexType_, false);
} else {
emit log(LOGERR,tr("selectClosestBoundaryVertices: Unsupported object Type"));
return;
......
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