mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-18 10:34:41 +00:00
Corrected mismatched connect between signal and slot when getting shot from current trackball
This commit is contained in:
parent
4d1654ac30
commit
048654d6e1
@ -614,7 +614,7 @@ ShotfWidget::ShotfWidget(QWidget *p, RichShotf* rpf, QWidget *gla_curr): MeshLab
|
||||
QHBoxLayout* lay = new QHBoxLayout(p);
|
||||
|
||||
|
||||
this->setValue(paramName,rp->val->getShotf());
|
||||
this->setShotValue(paramName,rp->val->getShotf());
|
||||
if(gla_curr) // if we have a connection to the current glarea we can setup the additional button for getting the current view direction.
|
||||
{
|
||||
getShotButton = new QPushButton("Get shot",p);
|
||||
@ -677,7 +677,7 @@ void ShotfWidget::getShot()
|
||||
|
||||
ShotfWidget::~ShotfWidget() {}
|
||||
|
||||
void ShotfWidget::setValue(QString name,Shotf newVal)
|
||||
void ShotfWidget::setShotValue(QString name,Shotf newVal)
|
||||
{
|
||||
if(name==paramName)
|
||||
{
|
||||
|
||||
@ -284,7 +284,7 @@ public:
|
||||
|
||||
public slots:
|
||||
void getShot();
|
||||
void setValue(QString name, vcg::Shotf val);
|
||||
void setShotValue(QString name, vcg::Shotf val);
|
||||
signals:
|
||||
void askRasterShot(QString);
|
||||
void askMeshShot(QString);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user