From 46cd88d33f5e45aec0ac3864ff6d221c04f12ade Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Tue, 24 Jan 2017 20:46:56 +0100 Subject: [PATCH] Move Duplicate.. and SetNextSource.. commands to Application --- src/Application/Application.h | 2 ++ src/Application/Modes/ProjectionMappingMode.h | 3 --- src/Application/Modes/TextureMappingMode.h | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Application/Application.h b/src/Application/Application.h index 9dcb000..b3ffb2a 100644 --- a/src/Application/Application.h +++ b/src/Application/Application.h @@ -9,6 +9,8 @@ #include "RmSurfaceCmd.h" #include "MvLayerUpCmd.h" #include "MvLayerDnCmd.h" +#include "DuplicateSurfaceCmd.h" +#include "SetNextSourceCmd.h" #include "ApplicationBaseMode.h" #include "PresentationMode.h" #include "ProjectionMappingMode.h" diff --git a/src/Application/Modes/ProjectionMappingMode.h b/src/Application/Modes/ProjectionMappingMode.h index c71ed72..9e2f926 100644 --- a/src/Application/Modes/ProjectionMappingMode.h +++ b/src/Application/Modes/ProjectionMappingMode.h @@ -20,8 +20,6 @@ #include "StartDragSurfaceCmd.h" #include "TogglePerspectiveCmd.h" #include "DeselectSurfaceCmd.h" -#include "SetNextSourceCmd.h" -#include "DuplicateSurfaceCmd.h" #include "ToggleAnimatedSourceCmd.h" #include "ScaleSurfaceFromToCmd.h" #include "MvSurfaceVertCmd.h" @@ -29,7 +27,6 @@ #include "Gui.h" #include "ScaleWidget.h" -//#include "LayerPanelWidget.h" namespace ofx { namespace piMapper { diff --git a/src/Application/Modes/TextureMappingMode.h b/src/Application/Modes/TextureMappingMode.h index c5c9792..5b26034 100644 --- a/src/Application/Modes/TextureMappingMode.h +++ b/src/Application/Modes/TextureMappingMode.h @@ -7,7 +7,6 @@ #include "SelNextTexCoordCmd.h" #include "SelPrevTexCoordCmd.h" #include "DeselectTexCoordCmd.h" -#include "SetNextSourceCmd.h" #include "SelNextSurfaceCmd.h" #include "ToggleAnimatedSourceCmd.h" #include "TranslateCanvasCmd.h"