Skip to content
Snippets Groups Projects
Commit db795c5a authored by Brecht Van Lommel's avatar Brecht Van Lommel
Browse files

Fix #132716: Selected to active bake broken after recent bugfix

Consistently pass evaluated bake target objects to Cycles, instead
of using the original for this case. This way it can be matched with
evaluated objects being rendered.

Pull Request: https://projects.blender.org/blender/blender/pulls/132722
parent a1ce8bee
No related branches found
No related tags found
No related merge requests found
...@@ -1624,7 +1624,7 @@ static int bake(const BakeAPIRender *bkr, ...@@ -1624,7 +1624,7 @@ static int bake(const BakeAPIRender *bkr,
for (i = 0; i < tot_highpoly; i++) { for (i = 0; i < tot_highpoly; i++) {
ok = RE_bake_engine(re, ok = RE_bake_engine(re,
depsgraph, depsgraph,
highpoly[i].ob, highpoly[i].ob_eval,
i, i,
pixel_array_high, pixel_array_high,
&targets, &targets,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment