Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-09-28 20:25:50 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-28 20:25:50 +0400
commitbee8e456f6da9d08ab2a1caa6cf452b9c2a95d36 (patch)
tree3af2d7953d26858946368745c4b7446fcfcb4534 /source/blender/blenloader
parenta4032683310f406161852d435ecd759275f8db1c (diff)
dont give an error on when texface conversion fails on load. give a warning instead.
this is needed because python converts report errors to exceptions (as if the file load operator couldn't complete), but infact it does load the file so rather then stopping the script, just report this as a warning.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index f1f055b4004..ce4fb85fef3 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -7058,7 +7058,7 @@ void convert_tface_mt(FileData *fd, Main *main)
G.main = main;
if(!(do_version_tface(main, 1))) {
- BKE_report(fd->reports, RPT_ERROR, "Texface conversion problem. Error in console");
+ BKE_report(fd->reports, RPT_WARNING, "Texface conversion problem. Error in console");
}
//XXX hack, material.c uses G.main allover the place, instead of main