Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_dopesheet.py
| Context not available. | |||||
| layout.separator() | layout.separator() | ||||
| layout.prop(st, "use_realtime_update") | layout.prop(st, "use_realtime_update") | ||||
| layout.prop(st, "show_sliders") | |||||
| # T67776: show_sliders is not used in the Shape Key Editor. | |||||
sybren: There is no need to mention the task number here. The commit should mention the number, and the… | |||||
sybrenUnsubmitted Done Inline ActionsThis comment mentions what happens, which is already clear from the code. The why should be documented, though. Something like "Sliders are always shown in the shapekey editor, regardless of this setting" would be clearer IMO. sybren: This comment mentions what happens, which is already clear from the code. The //why// should be… | |||||
| col = layout.column() | |||||
| col.active = context.space_data.mode != 'SHAPEKEY' | |||||
| col.prop(st, "show_sliders") | |||||
| layout.prop(st, "show_group_colors") | layout.prop(st, "show_group_colors") | ||||
| layout.prop(st, "show_interpolation") | layout.prop(st, "show_interpolation") | ||||
| layout.prop(st, "show_extremes") | layout.prop(st, "show_extremes") | ||||
| Context not available. | |||||
There is no need to mention the task number here. The commit should mention the number, and the Git history can be used to find the commit in which this functionality changed.