diff --git a/src/meshlabplugins/edit_select/edit_select.cpp b/src/meshlabplugins/edit_select/edit_select.cpp index c7eaf530b..4054c5403 100644 --- a/src/meshlabplugins/edit_select/edit_select.cpp +++ b/src/meshlabplugins/edit_select/edit_select.cpp @@ -243,10 +243,10 @@ bool EditSelectPlugin::StartEdit(MeshModel &m, GLArea *gla ) { gla->setCursor(QCursor(QPixmap(":/images/sel_rect.png"),1,1)); - connect(this, SIGNAL(setSelectionRendering(bool)),gla,SLOT(setSelectFaceRendering(bool)) ); - connect(this, SIGNAL(setSelectionRendering(bool)),gla,SLOT(setSelectVertRendering(bool)) ); + connect(this, SIGNAL(setDecorator(QString,bool)),gla,SLOT(setDecorator(QString,bool)) ); - setSelectionRendering(true); + setDecorator("Show Selected Faces",true); + setDecorator("Show Selected Vertices",true); if(selectionMode) m.updateDataMask(MeshModel::MM_FACEFACETOPO); diff --git a/src/meshlabplugins/edit_select/edit_select.h b/src/meshlabplugins/edit_select/edit_select.h index b05093517..5bca4af79 100644 --- a/src/meshlabplugins/edit_select/edit_select.h +++ b/src/meshlabplugins/edit_select/edit_select.h @@ -57,7 +57,7 @@ public: std::vector LastSelVert; signals: - void setSelectionRendering(bool); + void setDecorator(QString,bool); private: typedef enum {SMAdd, SMClear,SMSub} ComposingSelMode; // How the selection are composed