fix crash on save palette level
This commit is contained in:
parent
6af69b10e6
commit
ba3971fbf0
1 changed files with 1 additions and 1 deletions
|
@ -3025,7 +3025,7 @@ public:
|
|||
|
||||
if (sl && sl->getPath().getType() == "pli")
|
||||
sl->save(palettePath, TFilePath(), true);
|
||||
else if (sl->getType() & FULLCOLOR_TYPE)
|
||||
else if (sl && sl->getType() & FULLCOLOR_TYPE)
|
||||
FullColorPalette::instance()->savePalette(scene);
|
||||
else
|
||||
StudioPalette::instance()->save(palettePath, palette);
|
||||
|
|
Loading…
Reference in a new issue