OpenToonz - An open-source full-featured 2D animation creation software
C
fix convert tzp
shun-iwasawafe8ffe4d519f
diff --git a/toonz/sources/toonz/convertfolderpopup.cpp b/toonz/sources/toonz/convertfolderpopup.cppindex 3083ea83f..95a7108dc 100644--- a/toonz/sources/toonz/convertfolderpopup.cpp+++ b/toonz/sources/toonz/convertfolderpopup.cpp@@ -62,9 +62,12 @@ void ConvertFolderPopup::Converter::run() {DVGui::ProgressDialog* progressDialog = m_parent->m_progressDialog;int levelCount = m_parent->m_srcFilePaths.size();+ QDir targetDir(m_parent->m_convertFolderFld->getPath());+for (int i = 0; !m_parent->m_notifier->abortTask() && i < levelCount; i++) {TFilePath sourceLevelPath = sc->decodeFilePath(m_parent->m_srcFilePaths[i]);- QString levelName = QString::fromStdString(sourceLevelPath.getLevelName());+ QString levelName =+ targetDir.relativeFilePath(sourceLevelPath.getQString());TFilePath dstFolder = sourceLevelPath.getParentDir();// check already existent levelsdiff --git a/toonz/sources/toonz/toonz.qrc b/toonz/sources/toonz/toonz.qrcindex 527f11652..708740e0a 100644--- a/toonz/sources/toonz/toonz.qrc+++ b/toonz/sources/toonz/toonz.qrc@@ -664,6 +664,8 @@<file>Resources/tape.png</file><file>Resources/type_in.png</file><file>Resources/type_out.png</file>+ <file>Resources/tzpicon.png</file>+ <file>Resources/tzuicon.png</file><file>Resources/work.png</file><file>Resources/zoom.png</file><file>Resources/browser_scene_open.svg</file>