From e93d1123c3de26afd2096795632db2a4500aa0ef Mon Sep 17 00:00:00 2001 From: Tats Date: Thu, 3 Mar 2016 22:25:07 -0500 Subject: [PATCH] Cosmetic change. --- MainWindow.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MainWindow.h b/MainWindow.h index a455036..07e00fb 100644 --- a/MainWindow.h +++ b/MainWindow.h @@ -451,9 +451,10 @@ public: uid getCurrentPaintId() const { return currentPaintId; } uid getCurrentMappingId() const { return currentMappingId; } + Mapping::ptr getCurrentMapping() const { return mappingManager->getMappingById(currentMappingId); } Paint::ptr getCurrentPaint() const { return mappingManager->getPaintById(currentPaintId); } - OutputGLWindow* getOutputWindow() const { return outputWindow; } + bool hasCurrentPaint() const { return _hasCurrentPaint; } bool hasCurrentMapping() const { return _hasCurrentMapping; } void setCurrentPaint(int uid); @@ -461,6 +462,7 @@ public: void removeCurrentPaint(); void removeCurrentMapping(); + OutputGLWindow* getOutputWindow() const { return outputWindow; } MapperGLCanvas* getSourceCanvas() const { return sourceCanvas; } MapperGLCanvas* getDestinationCanvas() const { return destinationCanvas; }