diff --git a/toonz/sources/tnztools/vectortapetool.cpp b/toonz/sources/tnztools/vectortapetool.cpp index 592f022..494ab62 100644 --- a/toonz/sources/tnztools/vectortapetool.cpp +++ b/toonz/sources/tnztools/vectortapetool.cpp @@ -23,6 +23,7 @@ #include "tenv.h" // For Qt translation support #include +#include using namespace ToolUtils; @@ -744,6 +745,11 @@ public: } void onActivate() override { + // enable drawing if we are in a scene viewer + QWidget *focusWidget = QApplication::focusWidget(); + if (focusWidget && QString(focusWidget->metaObject()->className()) == "SceneViewer") + m_draw = true; + if (!m_firstTime) return; std::wstring s = ::to_wstring(TapeMode.getValue());