mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-04-19 14:09:21 +02:00
Disable Test signal when start mapping
This commit is contained in:
@@ -470,6 +470,9 @@ void MainWindow::addMesh()
|
||||
if (getCurrentPaintId() == NULL_UID)
|
||||
return;
|
||||
|
||||
// Disable Test signal when add Mesh
|
||||
outputWindow->getCanvas()->enableTestSignal(false);
|
||||
|
||||
// Retrieve current paint (as texture).
|
||||
Paint::ptr paint = getMappingManager().getPaintById(getCurrentPaintId());
|
||||
Q_CHECK_PTR(paint);
|
||||
@@ -503,6 +506,9 @@ void MainWindow::addTriangle()
|
||||
if (getCurrentPaintId() == NULL_UID)
|
||||
return;
|
||||
|
||||
// Disable Test signal when add Triangle
|
||||
outputWindow->getCanvas()->enableTestSignal(false);
|
||||
|
||||
// Retrieve current paint (as texture).
|
||||
Paint::ptr paint = getMappingManager().getPaintById(getCurrentPaintId());
|
||||
Q_CHECK_PTR(paint);
|
||||
@@ -536,6 +542,9 @@ void MainWindow::addEllipse()
|
||||
if (getCurrentPaintId() == NULL_UID)
|
||||
return;
|
||||
|
||||
// Disable Test signal when add Ellipse
|
||||
outputWindow->getCanvas()->enableTestSignal(false);
|
||||
|
||||
// Retrieve current paint (as texture).
|
||||
Paint::ptr paint = getMappingManager().getPaintById(getCurrentPaintId());
|
||||
Q_CHECK_PTR(paint);
|
||||
|
||||
Reference in New Issue
Block a user