Merge pull request #1230 from manongjohn/fix_svg_browser_import
Fix SVG import from Browser
This commit is contained in:
commit
73e924ca86
1 changed files with 2 additions and 1 deletions
|
@ -959,7 +959,8 @@ TXshLevel *loadLevel(ToonzScene *scene,
|
||||||
std::string format = actualPath.getType();
|
std::string format = actualPath.getType();
|
||||||
if (format == "tzp" || format == "tzu") convertingPopup->show();
|
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,
|
xl = scene->loadLevel(actualPath, rd.m_options ? &*rd.m_options : 0,
|
||||||
levelName, fIds);
|
levelName, fIds);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue