Commit 1748b7d9 authored by Jan Möbius's avatar Jan Möbius

Removed extra updates

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8845 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 50adeb3a
...@@ -182,7 +182,6 @@ void TopologyPlugin::clearAddFaceVertices() { ...@@ -182,7 +182,6 @@ void TopologyPlugin::clearAddFaceVertices() {
TriMesh::VertexHandle vh = m->vertex_handle( addFaceVertices_[i].second ); TriMesh::VertexHandle vh = m->vertex_handle( addFaceVertices_[i].second );
if ( vh.is_valid()) { if ( vh.is_valid()) {
m->status(vh).set_selected(false); m->status(vh).set_selected(false);
object->update();
} }
} }
...@@ -191,10 +190,10 @@ void TopologyPlugin::clearAddFaceVertices() { ...@@ -191,10 +190,10 @@ void TopologyPlugin::clearAddFaceVertices() {
PolyMesh::VertexHandle vh = m->vertex_handle( addFaceVertices_[i].second ); PolyMesh::VertexHandle vh = m->vertex_handle( addFaceVertices_[i].second );
if ( vh.is_valid()) { if ( vh.is_valid()) {
m->status(vh).set_selected(false); m->status(vh).set_selected(false);
object->update();
} }
} }
emit updatedObject(object->id(),UPDATE_SELECTION);
} }
addFaceVertices_.clear(); addFaceVertices_.clear();
...@@ -472,7 +471,6 @@ void TopologyPlugin::split_face(QMouseEvent* _event) { ...@@ -472,7 +471,6 @@ void TopologyPlugin::split_face(QMouseEvent* _event) {
m.split(fh,vh); m.split(fh,vh);
m.update_normals(); m.update_normals();
object->update();
emit updatedObject(object->id(), UPDATE_TOPOLOGY); emit updatedObject(object->id(), UPDATE_TOPOLOGY);
emit updateView(); emit updateView();
emit createBackup(object->id(),"Split Face"); emit createBackup(object->id(),"Split Face");
...@@ -527,7 +525,6 @@ void TopologyPlugin::delete_face(QMouseEvent* _event) { ...@@ -527,7 +525,6 @@ void TopologyPlugin::delete_face(QMouseEvent* _event) {
m.garbage_collection(); m.garbage_collection();
} }
object->update();
emit updatedObject(object->id(), UPDATE_TOPOLOGY); emit updatedObject(object->id(), UPDATE_TOPOLOGY);
emit updateView(); emit updateView();
emit createBackup(object->id(),"Delete Face"); emit createBackup(object->id(),"Delete Face");
...@@ -585,7 +582,6 @@ void TopologyPlugin::flip_edge(QMouseEvent* _event) { ...@@ -585,7 +582,6 @@ void TopologyPlugin::flip_edge(QMouseEvent* _event) {
emit log(LOGOUT,"Picked Edge " + QString::number(closest_edge.idx())); emit log(LOGOUT,"Picked Edge " + QString::number(closest_edge.idx()));
object->update();
emit updatedObject(object->id(), UPDATE_TOPOLOGY); emit updatedObject(object->id(), UPDATE_TOPOLOGY);
emit updateView(); emit updateView();
emit createBackup(object->id(),"Edge Flip"); emit createBackup(object->id(),"Edge Flip");
...@@ -657,7 +653,6 @@ void TopologyPlugin::collapse_edge(QMouseEvent* _event) { ...@@ -657,7 +653,6 @@ void TopologyPlugin::collapse_edge(QMouseEvent* _event) {
emit log(LOGOUT,"Picked Edge " + QString::number(closest_edge.idx())); emit log(LOGOUT,"Picked Edge " + QString::number(closest_edge.idx()));
object->update();
emit updatedObject(object->id(), UPDATE_TOPOLOGY); emit updatedObject(object->id(), UPDATE_TOPOLOGY);
emit updateView(); emit updateView();
emit createBackup(object->id(),"Edge Collapse"); emit createBackup(object->id(),"Edge Collapse");
...@@ -718,7 +713,6 @@ void TopologyPlugin::split_edge(QMouseEvent* _event) { ...@@ -718,7 +713,6 @@ void TopologyPlugin::split_edge(QMouseEvent* _event) {
emit log(LOGOUT,"Picked Edge " + QString::number(closest_edge.idx())); emit log(LOGOUT,"Picked Edge " + QString::number(closest_edge.idx()));
object->update();
emit updatedObject(object->id(), UPDATE_TOPOLOGY); emit updatedObject(object->id(), UPDATE_TOPOLOGY);
emit updateView(); emit updateView();
emit createBackup(object->id(),"Edge Split"); emit createBackup(object->id(),"Edge Split");
......
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