UI: Color Interpolation Icons
Color the interpolation icons matching the new interpolation theme
settings added in 75eaecf350
This makes a clearer connection with the lines drawn in Dope Sheet.
See PR for details and screenshots.
Pull Request: https://projects.blender.org/blender/blender/pulls/148215
This commit is contained in:
committed by
Pablo Vazquez
parent
3de61b7f7f
commit
88c2c67ae4
@@ -593,22 +593,22 @@ DEF_ICON(HANDLE_AUTO)
|
||||
DEF_ICON(HANDLE_AUTOCLAMPED)
|
||||
DEF_ICON(HANDLE_FREE)
|
||||
DEF_ICON(HANDLE_VECTOR)
|
||||
DEF_ICON(IPO_BACK)
|
||||
DEF_ICON_COLOR(IPO_BACK)
|
||||
DEF_ICON(IPO_BEZIER)
|
||||
DEF_ICON(IPO_BOUNCE)
|
||||
DEF_ICON(IPO_CIRC)
|
||||
DEF_ICON(IPO_CONSTANT)
|
||||
DEF_ICON(IPO_CUBIC)
|
||||
DEF_ICON_COLOR(IPO_BOUNCE)
|
||||
DEF_ICON_COLOR(IPO_CIRC)
|
||||
DEF_ICON_COLOR(IPO_CONSTANT)
|
||||
DEF_ICON_COLOR(IPO_CUBIC)
|
||||
DEF_ICON(IPO_EASE_IN_OUT)
|
||||
DEF_ICON(IPO_EASE_IN)
|
||||
DEF_ICON(IPO_EASE_OUT)
|
||||
DEF_ICON(IPO_ELASTIC)
|
||||
DEF_ICON(IPO_EXPO)
|
||||
DEF_ICON(IPO_LINEAR)
|
||||
DEF_ICON(IPO_QUAD)
|
||||
DEF_ICON(IPO_QUART)
|
||||
DEF_ICON(IPO_QUINT)
|
||||
DEF_ICON(IPO_SINE)
|
||||
DEF_ICON_COLOR(IPO_ELASTIC)
|
||||
DEF_ICON_COLOR(IPO_EXPO)
|
||||
DEF_ICON_COLOR(IPO_LINEAR)
|
||||
DEF_ICON_COLOR(IPO_QUAD)
|
||||
DEF_ICON_COLOR(IPO_QUART)
|
||||
DEF_ICON_COLOR(IPO_QUINT)
|
||||
DEF_ICON_COLOR(IPO_SINE)
|
||||
DEF_ICON(KEY_DEHLT)
|
||||
DEF_ICON(KEY_HLT)
|
||||
DEF_ICON(KEYFRAME_HLT)
|
||||
|
||||
@@ -1517,6 +1517,9 @@ static void svg_replace_color_attributes(std::string &svg,
|
||||
{"blender_crease", nullptr, TH_CREASE},
|
||||
{"blender_seam", nullptr, TH_SEAM},
|
||||
{"blender_sharp", nullptr, TH_SHARP},
|
||||
{"blender_ipo_linear", btheme->space_action.anim_interpolation_linear},
|
||||
{"blender_ipo_constant", btheme->space_action.anim_interpolation_constant},
|
||||
{"blender_ipo_other", btheme->space_action.anim_interpolation_other},
|
||||
};
|
||||
|
||||
for (const ColorItem &item : items) {
|
||||
|
||||
Reference in New Issue
Block a user