Maniphest T88783

Material Icon Generator Freezes Blender
Closed, Duplicate

Assigned To
None
Authored By
Ovionis (Phigon)
Jun 3 2021, 9:02 AM
Tags
  • BF Blender
Subscribers
Ankit Meel (ankitm)
Ovionis (Phigon)

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1650 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.11

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-22 03:14, hash: rB7adbe62a09ca

Short description of error
While changing shader nodes (or loading them for the first time), Blender will completely freeze while it generates a tiny material icon.

Exact steps for others to reproduce the error
Have the Material panel open in the Properties window (or another panel that loads the material icon)
Change settings in the material's nodes.
Easier to also input new images into the nodes, to make sure it reloads the shader.

Related Objects

Event Timeline

Ovionis (Phigon) created this task.Jun 3 2021, 9:02 AM
Ovionis (Phigon) added a comment.Jun 3 2021, 9:15 AM

I tried to disable the icons from bpy.types.MATERIAL_UL_matslots.draw_item but found that even when the icons aren't being "used", they're still generated.

I also thought changing to Cycles and Workbench would fix it....and it sort of did.
Workbench doesn't appear to update material changes but Cycles generates without long freezes. It pauses but for like, at most, a second. And I can only get the long freezes with it, by changing the image size.

But, a fix/bypass I can personally do (since I always use eevee) is to remove the 'HIDE_HEADER' flag from bpy.types.EEVEE_MATERIAL_PT_context_material.bl_options (and re-register it), to give myself the option to just close this panel since it's not actually needed hardly ever.

Ankit Meel (ankitm) added a subscriber: Ankit Meel (ankitm).

also T71293