blender/scripts
Philipp Oeser cbbeeccd08 Fix #124027: EEVEE light influence UI disappears when light is pinned
As desribed in #90039, we dont have a context object when pinning data,
this was accessed though leading to python errors.

The object was only used for the active state of certain layouts, do to
resolve the errors (and disappearing UI), check if we actually get an
object from context. That means the correct active state of certain
layouts is lost (it could either be always ON or always OFF, PR is using
the former -- since the default visibility is ON, so that would be more
common).

Pull Request: https://projects.blender.org/blender/blender/pulls/124091
2024-07-03 13:43:39 +02:00
..
addons_core Extensions: fix missing redraw after setting tags, report adding a repo 2024-07-03 16:56:01 +10:00
freestyle Cleanup: unused imports 2024-04-19 16:09:30 +10:00
modules Docs: corrections to bpy.utils.register_tool 2024-07-02 16:18:08 +10:00
presets Fix #123543: Delete retiming keys deletes strip 2024-06-28 17:06:44 +02:00
site Cleanup: spelling in comments, update dictionary 2023-09-03 21:35:07 +10:00
startup Fix #124027: EEVEE light influence UI disappears when light is pinned 2024-07-03 13:43:39 +02:00
templates_osl License headers: remove GPL header from OSL template script 2023-08-04 13:24:15 +10:00
templates_py Cleanup: Python script formatting 2024-06-06 11:26:28 +10:00