From 29d9bb0a5e125d9fad97047a27e942b7b2db9b78 Mon Sep 17 00:00:00 2001 From: Rodney Date: Oct 04 2023 12:06:48 +0000 Subject: Merge pull request #5122 from ChengduLittleA/svg_sequence_loading Fix SVG import from Browser --- diff --git a/toonz/sources/toonz/iocommand.cpp b/toonz/sources/toonz/iocommand.cpp index d6c8744..68144a8 100644 --- a/toonz/sources/toonz/iocommand.cpp +++ b/toonz/sources/toonz/iocommand.cpp @@ -926,7 +926,8 @@ TXshLevel *loadLevel(ToonzScene *scene, std::string format = actualPath.getType(); if (format == "tzp" || format == "tzu") convertingPopup->show(); - if (fIds.size() != 0 && doesFileActuallyExist) + // SVGs are treated as PLI. Ignore the fIds lists + if (format != "svg" && fIds.size() != 0 && doesFileActuallyExist) xl = scene->loadLevel(actualPath, rd.m_options ? &*rd.m_options : 0, levelName, fIds); else