UI: Dope Sheet: Custom theme color for interpolation modes
Split the "Interpolation Line" theme property into three for each interpolation mode, and use them accordingly. In the current theme refactor, almost all theme properties of the dope sheet are getting either removed (unused), or moved (shared). This decluttering opens up the possibility to allow more theming, and let artists read the Dope Sheet better. ## Avoiding Confusion There's two "Bézier" interpolation types: - Called "Bézier" in the interpolation type menu, and - Called "Bézier" in the code, for the types that are labeled as **"Easing" and "Dynamic"** in the interpolation type menu. Since this commit is about the interpolation lines, which are **not** drawn for the former, **this PR only covers Constant, Linear, and the latter form of Bézier interpolation types.** Pull Request: https://projects.blender.org/blender/blender/pulls/144255
This commit is contained in:
committed by
Sybren A. Stüvel
parent
97e3fb0e03
commit
75eaecf350
@@ -494,7 +494,9 @@ const bTheme U_theme_default = {
|
||||
.header_text_hi = RGBA(0xffffffff),
|
||||
.shade1 = RGBA(0xc0c0c000),
|
||||
.grid = RGBA(0x161616ff),
|
||||
.ds_ipoline = RGBA(0x94e575cc),
|
||||
.anim_interpolation_linear = RGBA(0x94e575cc),
|
||||
.anim_interpolation_constant = RGBA(0xe59c7bcc),
|
||||
.anim_interpolation_other = RGBA(0x5dbabeb3),
|
||||
.keyborder = RGBA(0x000000ff),
|
||||
.keyborder_select = RGBA(0x000000ff),
|
||||
.vertex_size = 3,
|
||||
|
||||
Reference in New Issue
Block a user