T62717: When switching from Workbench to EEVEE during sculpting
the sculptmesh was not drawn. One click later it was. From EEVEE to
Workbench this was not an issue.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
This introduces a regression: It is not possible to sculpt (without dyntopo or multires) with the assigned shaders (full shaded mesh). dyntopo & multires uses their own data structure so they must use a custom generic shader but standard drawing can (and must for consistency) use the full shaded mesh batch when possible.
Comment Actions
Reverted the existing diff and did the minimum change.
As this works, I am not 100% sure we found the root cause.
It might be the solution if the root cause is that the sculptmesh and original mesh is one click off; but I haven't been able prove this.
Comment Actions
- This is not the only place that can change the shading type, there is also toggle_shading_exec.
- It's also possible to change an editor to a 3D viewport and get a different shading type.
- Generally there should not be any hardcoded checks for Cycles, it's not the only other render engine.
Do we understand the root cause of this?