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
This commit is contained in:
Brecht Van Lommel
2025-01-07 10:57:46 +01:00
committed by Brecht Van Lommel
parent a0e03a8d94
commit 0c2ec3dcf9

View File

@@ -1625,7 +1625,7 @@ static int bake(const BakeAPIRender *bkr,
for (i = 0; i < tot_highpoly; i++) {
ok = RE_bake_engine(re,
depsgraph,
highpoly[i].ob,
highpoly[i].ob_eval,
i,
pixel_array_high,
&targets,