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:
Bastien Montagne 2020-04-22 16:14:35 +02:00
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
1 changed files with 1 additions and 1 deletions

View File

@ -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,