diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2015-02-11 16:23:03 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2015-02-11 16:23:03 +0300 |
commit | 560c05e8bd94acae41470e118b7a7745243f0cec (patch) | |
tree | 60b893340e425810942cf6a4e7742e055b83d5d4 | |
parent | 259d47a15e752250f34e98c438bf41aa31441cf8 (diff) |
Fix T43628: Circular dependency error preventing multiple highpoly objects to bake
Throwing an RPT_ERROR was stopping baking after the first object.
-rw-r--r-- | source/blender/editors/object/object_bake_api.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_bake_api.c b/source/blender/editors/object/object_bake_api.c index fca527f8931..1ce5068c4b1 100644 --- a/source/blender/editors/object/object_bake_api.c +++ b/source/blender/editors/object/object_bake_api.c @@ -379,7 +379,10 @@ static bool bake_object_check(Object *ob, ReportList *reports) if (node) { if (BKE_node_is_connected_to_output(ntree, node)) { - BKE_reportf(reports, RPT_ERROR, + /* we don't return false since this may be a false positive + * this can't be RPT_ERROR though, otherwise it prevents + * multiple highpoly objects to be baked at once */ + BKE_reportf(reports, RPT_INFO, "Circular dependency for image \"%s\" from object \"%s\"", image->id.name + 2, ob->id.name + 2); } |