Page MenuHome

`Materials` tab not opened at the first time running the script
Confirmed, LowPublicKNOWN ISSUE


System Information
Operating system: macOS 10.14.2 (18C54)
Graphics card: Intel Iris Plus Graphics 640 1536 MB

Blender Version
Broken: (example: 2.80, 89207DF7222A, master, 2019-05-27, as found on the splash screen)

Short description of error
Materials tab not open at the first time running the script in attached .blend file

Exact steps for others to reproduce the error

  • Open the attached .blend file
  • Click Run Script the first time
  • It just opens the Object tab
  • Click Run Script the second time
  • It then opens the Materials tab

It should open Materials tab at the first time clicking Run Script

Event Timeline

Demeter Dzadik (Mets) lowered the priority of this task from 90 to 80.May 30 2019, 6:57 PM

Can reproduce. First time it throws this error in the console:
TypeError: bpy_struct: item.attr = val: enum "MATERIAL" not found in ()
Second time onwards it works, until you reload the file or run the script from a different screen area.

Brecht Van Lommel (brecht) raised the priority of this task from 80 to 90.May 30 2019, 11:58 PM
Brecht Van Lommel (brecht) lowered the priority of this task from 90 to Low.May 31 2019, 5:51 PM

The properties editor contents is only really refreshed the first time it is drawn, not immediately when changing the type.

Brecht Van Lommel (brecht) changed the subtype of this task from "Report" to "Known Issue".Jan 27 2020, 11:49 AM