Commit 80351a03 authored by Jan Möbius's avatar Jan Möbius
Browse files

Enabled smoother plugin for quad meshes

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6270 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 682a4baf
......@@ -136,10 +136,10 @@ void SmootherPlugin::simpleLaplace() {
emit updatedObject( o_it->id() );
} else if ( o_it->dataType( DATA_TRIANGLE_MESH ) ) {
} else if ( o_it->dataType( DATA_POLY_MESH ) ) {
// Get the mesh to work on
PolyMesh* mesh = dynamic_cast< MeshObject< PolyMesh,DATA_POLY_MESH >* > (*o_it)->mesh();
PolyMesh* mesh = PluginFunctions::polyMesh(*o_it);
// Property for the active mesh to store original point positions
OpenMesh::VPropHandleT< TriMesh::Point > origPositions;
......
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