Page MenuHome

eevee/blender freezing for a few seconds when renaming a few materials via python
Open, Needs Triage by DeveloperPublic

Description

System Information
Operating system: Linux-4.13.10-041310-generic-x86_64-with-debian-stretch-sid 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.67

Blender Version
Broken: version: 2.81 (sub 15), branch: master, commit date: 2019-10-24 19:00, hash: rB892c3891ed0b

Short description of error
In the attached blend, I have a few objects and materials. In the script in the text editor I'm batch renaming the materials.
Whenever I call this script and the 3d view is in lookdev or eevee rendered shading, I'm seeing blender freezing for a few seconds, AFTER the renaming concluded.
I'm not chaning any material parameters. There's is no indication that the shaders are recompiling. It's just the material names that changed.
I am using bump nodes in some of the materials, so it may be again related to this previous issue I've submitted recently.
Removing all node groups using the bump node, leads to no more freezing.

Renaming node trees in a similar fashion, will also cause the freeze however, even if only node tree's that don't contain a bump node are renamed.

video demo

Exact steps for others to reproduce the error

  • open the blend file in 2.81
  • in with eevee shading, run the script, notice how the terminal says renaming is finished
    • immedately try rotatiing he viewport, notice how Blender is unresponsive for a few seconds
  • repeat in solid or rendered cyclices shading
    • notice how there's no freeze

Details

Type
Bug

Event Timeline

MACHIN3 (MACHIN3) updated the task description. (Show Details)

Yeah, exactly the same behavior on Windows

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-13 08:24, hash: rBc73a99ef902b

Also confirming identical behavior...

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.70

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-08 22:59, hash: rB0a0d735acd6e

The same bahavior

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.20

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-13 16:25, hash: rB9bd0d8b5505a