update file format to 0.2 for blending mode, visibility and alpha lock attributes
This commit is contained in:
@@ -71,7 +71,7 @@ struct PPIThumb
|
||||
struct PPIDocVersion
|
||||
{
|
||||
int major = 0;
|
||||
int minor = 1;
|
||||
int minor = 2;
|
||||
};
|
||||
|
||||
struct PPISoftVersion
|
||||
@@ -92,7 +92,7 @@ struct PPIHeader
|
||||
{
|
||||
if (strcmp(magic, "PPI") != 0)
|
||||
return false;
|
||||
if (doc_version.major != 0 || doc_version.minor != 1)
|
||||
if (doc_version.major != 0 || (doc_version.minor < 1 && doc_version.minor > 2))
|
||||
return false;
|
||||
if (!thumb_header.valid())
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user