Page MenuHome

Cycles bake from multires bug
Open, Needs Triage by DeveloperPublic

Description

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: Quadro P400/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.02

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: rBf6cb5f54494e
Worked: (optional)

Short description of error
Error in python IU code causes runtime error: 2.80\scripts\addons\cycles\ui.py line 1903

col.prop(rd, "use_bake_lores_mesh")

should be

layout.prop(rd, "use_bake_lores_mesh")

Exact steps for others to reproduce the error
Add multires modifier, set render mode to cycles, go to bake panel, select bake from multires

Details

Type
Bug

Related Objects

Mentioned Here
P400 T47489

Event Timeline

Bake Type has to be displacement to reproduce and no Image Texture can be active. It is only a problem while baking is not setup properly.

diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index b072d9e583e..cacc0e40bd7 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -1900,7 +1900,7 @@ class CYCLES_RENDER_PT_bake_output(CyclesButtonsPanel, Panel):
             layout.prop(rd, "use_bake_clear", text="Clear Image")

             if rd.bake_type == 'DISPLACEMENT':
-                col.prop(rd, "use_bake_lores_mesh")
+                layout.prop(rd, "use_bake_lores_mesh")
         else:

             layout.prop(cbk, "margin")