Page MenuHome

Unable to override Timeline buttons after moving the timeline to be a dopesheet editor mode
Open, Confirmed, LowPublic

Description

System Information
Operating system: Debian Linux
Graphics card: gtx 1060

Blender Version
Broken: 2.80, latest 2.8 Git branch
Worked: 2.79b release

Short description of error

In Blender 2.8 it's not possible anymore to override the space_time.py file.

Exact steps for others to reproduce the error
Move on any button of the panel header (timeline) and edit source to open the space_time.py.
Any changes made on the file are not visible.

Details

Type
Bug

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Needs Information from User priority.Wed, Feb 13, 4:49 PM

I can edit space_time.py and the changes are visible on the next startup.
Do you mean that the changes are not saved to the space_time.py file for you?

I mean changes are not visible live. At startup yes, it works.
While digging into it I discovered the python override has other bugs.
If you try, for example to override the text in the render sampling, and hit run script, it's going to fail because it doesn't find

from .space_view3d import (
    VIEW3D_PT_shading_lighting,
    VIEW3D_PT_shading_color,
    VIEW3D_PT_shading_options,
)

Changing it to:

from bl_ui.space_view3d import (
    VIEW3D_PT_shading_lighting,
    VIEW3D_PT_shading_color,
    VIEW3D_PT_shading_options,
)

works and the change is visible live (after clicking run script) but get anyway another error:

RuntimeError: Error: Registering panel class: parent 'RENDER_PT_eevee_volumetric' for 'RENDER_PT_eevee_volumetric_shadows' not found

I guess this bug report title should be changed to something more generic as this issue happens (almost) everywhere with Blender 2.8

Brecht Van Lommel (brecht) lowered the priority of this task from Needs Information from User to Confirmed, Low.Wed, Feb 13, 6:01 PM

Seems like an unintentional change to me.