delete the dialog when endEdit is called. This removed it from the screen when the edit tool is toggled off.

This commit is contained in:
Paolo Cignoni cignoni 2008-10-08 11:57:19 +00:00
parent 44e3571552
commit 8dd7270daa

View File

@ -326,7 +326,11 @@ void EditSegment::StartEdit(QAction * mode, MeshModel & m, GLArea * parent) {
parent->update();
}
void EditSegment::EndEdit(QAction * mode, MeshModel & m, GLArea * parent) {
qDebug() << "Mesh Segmentation End Edit" << endl;
//qDebug() << "Mesh Segmentation End Edit" << endl;
delete meshCutDialog;
meshCutDialog = 0;
delete meshcut_dock;
meshcut_dock = 0;
}
void EditSegment::Decorate(QAction * ac, MeshModel & m, GLArea * gla) {
if (!glarea_map.contains(gla)) {