Commit f49cfe52 authored by Mike Kremer's avatar Mike Kremer

Topology plugin now uses the new update policy.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8708 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 96ccf568
......@@ -466,7 +466,7 @@ void TopologyPlugin::split_face(QMouseEvent* _event) {
m.update_normals();
object->update();
emit updatedObject(object->id());
emit updatedObject(object->id(), UPDATE_TOPOLOGY);
emit updateView();
emit createBackup(object->id(),"Split Face");
}
......@@ -521,7 +521,7 @@ void TopologyPlugin::delete_face(QMouseEvent* _event) {
}
object->update();
emit updatedObject(object->id());
emit updatedObject(object->id(), UPDATE_TOPOLOGY);
emit updateView();
emit createBackup(object->id(),"Delete Face");
} else return;
......@@ -579,7 +579,7 @@ void TopologyPlugin::flip_edge(QMouseEvent* _event) {
emit log(LOGOUT,"Picked Edge " + QString::number(closest_edge.idx()));
object->update();
emit updatedObject(object->id());
emit updatedObject(object->id(), UPDATE_TOPOLOGY);
emit updateView();
emit createBackup(object->id(),"Edge Flip");
}
......@@ -651,7 +651,7 @@ void TopologyPlugin::collapse_edge(QMouseEvent* _event) {
emit log(LOGOUT,"Picked Edge " + QString::number(closest_edge.idx()));
object->update();
emit updatedObject(object->id());
emit updatedObject(object->id(), UPDATE_TOPOLOGY);
emit updateView();
emit createBackup(object->id(),"Edge Collapse");
}
......@@ -712,7 +712,7 @@ void TopologyPlugin::split_edge(QMouseEvent* _event) {
emit log(LOGOUT,"Picked Edge " + QString::number(closest_edge.idx()));
object->update();
emit updatedObject(object->id());
emit updatedObject(object->id(), UPDATE_TOPOLGY);
emit updateView();
emit createBackup(object->id(),"Edge Split");
}
......
......@@ -68,7 +68,7 @@ class TopologyPlugin : public QObject, BaseInterface , MouseInterface, KeyInterf
signals:
// BaseInterface
void updateView();
void updatedObject(int);
void updatedObject(int _id, UpdateType _type);
// PickingInterface
void addHiddenPickMode( const std::string _mode );
......
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