Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Export Panel

Jeremy Bullock1a7fc56ca2d1
diff --git a/toonz/sources/toonz/mainwindow.cpp b/toonz/sources/toonz/mainwindow.cpp
index 42368fe70..7e5f795dd 100644
--- a/toonz/sources/toonz/mainwindow.cpp
+++ b/toonz/sources/toonz/mainwindow.cpp
@@ -2098,9 +2098,9 @@ void MainWindow::defineActions() {
// createRightClickMenuAction(MI_OpenCurrentScene, tr("&Current Scene"),
// "");
-#ifdef LINETEST
+
createMenuWindowsAction(MI_OpenExport, tr("&Export"), "");
-#endif
+
createMenuWindowsAction(MI_OpenFileBrowser, tr("&File Browser"), "");
createMenuWindowsAction(MI_OpenFileViewer, tr("&Flipbook"), "");
createMenuWindowsAction(MI_OpenFunctionEditor, tr("&Function Editor"), "");
diff --git a/toonz/sources/toonz/menubarcommandids.h b/toonz/sources/toonz/menubarcommandids.h
index 11a655871..1e7269bc1 100644
--- a/toonz/sources/toonz/menubarcommandids.h
+++ b/toonz/sources/toonz/menubarcommandids.h
@@ -96,8 +96,8 @@
#define MI_OpenToolOptionBar "MI_OpenToolOptionBar"
#define MI_OpenLevelView "MI_OpenLevelView"
#define MI_OpenStopMotionPanel "MI_OpenStopMotionPanel"
-#ifdef LINETEST
#define MI_OpenExport "MI_OpenExport"
+#ifdef LINETEST
#define MI_OpenLineTestView "MI_OpenLineTestView"
#define MI_OpenLineTestCapture "MI_OpenLineTestCapture"
#define MI_Capture "MI_Capture"
diff --git a/toonz/sources/toonz/tpanels.cpp b/toonz/sources/toonz/tpanels.cpp
index e300e4e83..019498803 100644
--- a/toonz/sources/toonz/tpanels.cpp
+++ b/toonz/sources/toonz/tpanels.cpp
@@ -1103,7 +1103,6 @@ public:
// ExportFactory
//-----------------------------------------------------------------------------
-#ifdef LINETEST
class ExportFactory final : public TPanelFactory {
public:
ExportFactory() : TPanelFactory("Export") {}
@@ -1125,7 +1124,6 @@ OpenFloatingPanel openExportPanelCommand(MI_OpenExport, "Export",
// ColorModelViewerFactory
//-----------------------------------------------------------------------------
-#endif
#ifndef LINETEST
class ColorModelViewerFactory final : public TPanelFactory {