pep8 edits and avoid naming conflicts with python builtins
[blender.git] / source / blender / blenloader / intern / writefile.c
index 2bb70ce20b517e8cccaaa7fd0a74f4f117beb2fd..c5e59959ddd2520b7c66638499a105a53b8d8d31 100644 (file)
@@ -1666,7 +1666,8 @@ static void write_customdata(WriteData *wd, ID *id, int count, CustomData *data,
                                writestruct(wd, DATA, structname, datasize, layer->data);
                        }
                        else
-                               printf("error: this CustomDataLayer must not be written to file\n");
+                               printf("%s error: layer '%s':%d - can't be written to file\n",
+                                      __func__, structname, layer->type);
                }
        }