Silence annoying error message in writefile on undo step storage.
Fix T75318: Error spam in console when opening file from 2.7x.
This commit is contained in:
parent
45f8d1783b
commit
878cd0e124
Notes:
blender-bot
2023-02-13 23:00:16 +01:00
Referenced by issue #75318, Error spam in console when opening file from 2.7x
|
@ -2194,7 +2194,7 @@ static void write_customdata(WriteData *wd,
|
|||
datasize = structnum * count;
|
||||
writestruct_id(wd, DATA, structname, datasize, layer->data);
|
||||
}
|
||||
else {
|
||||
else if (!wd->use_memfile) { /* Do not warn on undo. */
|
||||
printf("%s error: layer '%s':%d - can't be written to file\n",
|
||||
__func__,
|
||||
structname,
|
||||
|
|
Loading…
Reference in New Issue