2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2018 Blender Authors
|
2023-06-15 13:09:04 +10:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2022-02-11 14:56:03 +11:00
|
|
|
|
|
|
|
|
/**
|
2023-02-21 16:39:58 +01:00
|
|
|
* Generated by 'tools/utils/blender_theme_as_c.py'
|
2018-10-29 21:47:27 +01:00
|
|
|
*
|
|
|
|
|
* Do not hand edit this file!
|
|
|
|
|
*/
|
2018-06-27 12:28:26 +02:00
|
|
|
|
|
|
|
|
#include "DNA_userdef_types.h"
|
|
|
|
|
|
2024-02-09 13:41:30 +01:00
|
|
|
#include "BLO_userdef_default.h"
|
2018-06-27 12:28:26 +02:00
|
|
|
|
2019-04-17 19:24:38 +02:00
|
|
|
/* clang-format off */
|
|
|
|
|
|
2025-06-12 10:37:47 +02:00
|
|
|
/* NOTE: this is endianness-sensitive. */
|
|
|
|
|
#define RGBA(c) {((c) >> 24) & 0xff, ((c) >> 16) & 0xff, ((c) >> 8) & 0xff, (c) & 0xff}
|
|
|
|
|
#define RGB(c) {((c) >> 16) & 0xff, ((c) >> 8) & 0xff, (c) & 0xff}
|
2018-06-27 12:28:26 +02:00
|
|
|
|
|
|
|
|
const bTheme U_theme_default = {
|
2019-05-08 17:06:35 +10:00
|
|
|
.name = "Default",
|
|
|
|
|
.tui = {
|
|
|
|
|
.wcol_regular = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x545454ff),
|
|
|
|
|
.inner_sel = RGBA(0x4772b3ff),
|
2021-11-05 15:06:27 +01:00
|
|
|
.item = RGBA(0x1d1d1d80),
|
2021-11-05 19:10:03 +01:00
|
|
|
.text = RGBA(0xe6e6e6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_tool = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x545454ff),
|
|
|
|
|
.inner_sel = RGBA(0x4772b3ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.item = RGBA(0xffffffff),
|
|
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_toolbar_item = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x282828ff),
|
|
|
|
|
.inner_sel = RGBA(0x4772b3ff),
|
2021-11-05 15:06:27 +01:00
|
|
|
.item = RGBA(0xffffffb3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_text = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x1d1d1dff),
|
|
|
|
|
.inner_sel = RGBA(0x181818ff),
|
2023-09-15 12:59:57 +02:00
|
|
|
.item = RGBA(0xffffff33),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_radio = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-11-05 15:06:27 +01:00
|
|
|
.inner = RGBA(0x545454ff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner_sel = RGBA(0x4772b3ff),
|
|
|
|
|
.item = RGBA(0x252525ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_option = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-11-05 15:06:27 +01:00
|
|
|
.inner = RGBA(0x545454ff),
|
2021-11-05 19:10:03 +01:00
|
|
|
.inner_sel = RGBA(0x4772b3ff),
|
|
|
|
|
.item = RGBA(0xffffffff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_toggle = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-11-05 15:06:27 +01:00
|
|
|
.inner = RGBA(0x545454ff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner_sel = RGBA(0x4772b3ff),
|
|
|
|
|
.item = RGBA(0x252525ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_num = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x545454ff),
|
|
|
|
|
.inner_sel = RGBA(0x222222ff),
|
|
|
|
|
.item = RGBA(0x4772b3ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_numslider = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x545454ff),
|
|
|
|
|
.inner_sel = RGBA(0x222222ff),
|
|
|
|
|
.item = RGBA(0x4772b3ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_tab = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x1d1d1dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x1d1d1dff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x1d1d1dff),
|
|
|
|
|
.inner_sel = RGBA(0x303030ff),
|
|
|
|
|
.item = RGBA(0x1d1d1dff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0x989898ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_menu = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x282828ff),
|
|
|
|
|
.inner_sel = RGBA(0x4772b3b3),
|
2020-10-08 16:17:20 +02:00
|
|
|
.item = RGBA(0xd9d9d9ff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.text = RGBA(0xe6e6e6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_pulldown = {
|
2023-10-31 13:04:59 +01:00
|
|
|
.outline = RGBA(0x3d3d3d00),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3d00),
|
2023-10-31 13:04:59 +01:00
|
|
|
.inner = RGBA(0x22222200),
|
|
|
|
|
.inner_sel = RGBA(0xffffff1a),
|
|
|
|
|
.item = RGBA(0xffffff8f),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0xd9d9d9ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_menu_back = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x242424ff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x242424ff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x181818ff),
|
|
|
|
|
.inner_sel = RGBA(0x4772b3ff),
|
|
|
|
|
.item = RGBA(0xd9d9d9ff),
|
|
|
|
|
.text = RGBA(0x999999ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_menu_item = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3d00),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3d00),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x18181800),
|
|
|
|
|
.inner_sel = RGBA(0x4772b3ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.item = RGBA(0xffffff8f),
|
2021-10-27 18:20:40 +02:00
|
|
|
.text = RGBA(0xddddddff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_tooltip = {
|
2021-11-05 15:06:27 +01:00
|
|
|
.outline = RGBA(0x242424ff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x242424ff),
|
2021-11-05 15:06:27 +01:00
|
|
|
.inner = RGBA(0x1d1d1dff),
|
|
|
|
|
.inner_sel = RGBA(0x4772b3ff),
|
|
|
|
|
.item = RGBA(0xd9d9d9ff),
|
|
|
|
|
.text = RGBA(0xd9d9d9ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_box = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x1d1d1d80),
|
|
|
|
|
.inner_sel = RGBA(0x545454ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.item = RGBA(0x191919ff),
|
|
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_scroll = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x22222200),
|
|
|
|
|
.inner_sel = RGBA(0xffffffff),
|
|
|
|
|
.item = RGBA(0x545454ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.5f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_progress = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.outline = RGBA(0x3d3d3dff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x3d3d3dff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x222222ff),
|
|
|
|
|
.inner_sel = RGBA(0x4772b3ff),
|
|
|
|
|
.item = RGBA(0x4772b3ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_list_item = {
|
2025-06-12 14:42:54 +02:00
|
|
|
.outline = RGBA(0x2d2d2d00),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x2d2d2dff),
|
2023-09-01 20:02:20 +02:00
|
|
|
.inner = RGBA(0xffffff00),
|
|
|
|
|
.inner_sel = RGBA(0x4772b3ff),
|
2023-09-15 12:59:57 +02:00
|
|
|
.item = RGBA(0xffffff33),
|
2021-10-27 18:20:40 +02:00
|
|
|
.text = RGBA(0xccccccff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_pie_menu = {
|
2021-11-05 15:06:27 +01:00
|
|
|
.outline = RGBA(0x242424ff),
|
2025-06-11 23:20:50 +02:00
|
|
|
.outline_sel = RGBA(0x242424ff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.inner = RGBA(0x181818ff),
|
2021-11-05 15:06:27 +01:00
|
|
|
.inner_sel = RGBA(0x4772b3ff),
|
2021-11-05 19:10:03 +01:00
|
|
|
.item = RGBA(0x545454ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0xd9d9d9ff),
|
|
|
|
|
.text_sel = RGBA(0xffffffff),
|
|
|
|
|
.roundness = 0.2f,
|
|
|
|
|
},
|
|
|
|
|
.wcol_state = {
|
2025-02-12 20:59:47 +01:00
|
|
|
.error = RGBA(0x771111ff),
|
|
|
|
|
.warning = RGBA(0xac8737ff),
|
|
|
|
|
.info = RGBA(0x28487dff),
|
|
|
|
|
.success = RGBA(0x188625ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.inner_anim = RGBA(0x53992eff),
|
2019-07-02 00:35:27 +10:00
|
|
|
.inner_anim_sel = RGBA(0x38a600ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.inner_key = RGBA(0xb3ae36ff),
|
2019-07-02 00:35:27 +10:00
|
|
|
.inner_key_sel = RGBA(0xb29700ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.inner_driven = RGBA(0x9000ccff),
|
|
|
|
|
.inner_driven_sel = RGBA(0x9900e6ff),
|
2019-07-02 00:35:27 +10:00
|
|
|
.inner_overridden = RGBA(0x00c3c300),
|
2019-05-08 17:06:35 +10:00
|
|
|
.inner_overridden_sel = RGBA(0x118f8f00),
|
|
|
|
|
.inner_changed = RGBA(0xcc7529ff),
|
2019-07-02 00:35:27 +10:00
|
|
|
.inner_changed_sel = RGBA(0xd26400ff),
|
|
|
|
|
.blend = 0.5f,
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
2020-10-08 16:17:20 +02:00
|
|
|
.widget_emboss = RGBA(0x00000026),
|
2025-06-19 02:21:35 +02:00
|
|
|
.menu_shadow_fac = 0.2f,
|
|
|
|
|
.menu_shadow_width = 6,
|
2024-09-26 21:55:26 +02:00
|
|
|
.editor_border = RGBA(0x161616ff),
|
|
|
|
|
.editor_outline = RGBA(0xffffff15),
|
|
|
|
|
.editor_outline_active = RGBA(0xffffff2a),
|
2020-03-23 16:00:42 +01:00
|
|
|
.transparent_checker_primary = RGBA(0x333333ff),
|
|
|
|
|
.transparent_checker_secondary = RGBA(0x262626ff),
|
|
|
|
|
.transparent_checker_size = 8,
|
2020-08-26 16:53:58 -05:00
|
|
|
.icon_alpha = 1.0f,
|
|
|
|
|
.icon_saturation = 0.5f,
|
2021-10-27 18:20:40 +02:00
|
|
|
.widget_text_cursor = RGBA(0x71a8ffff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.xaxis = RGBA(0xff3352ff),
|
|
|
|
|
.yaxis = RGBA(0x8bdc00ff),
|
|
|
|
|
.zaxis = RGBA(0x2890ffff),
|
2025-08-05 17:55:12 +02:00
|
|
|
.waxis = RGBA(0xedba18ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.gizmo_hi = RGBA(0xffffffff),
|
|
|
|
|
.gizmo_primary = RGBA(0xf5f14dff),
|
|
|
|
|
.gizmo_secondary = RGBA(0x63ffffff),
|
2020-08-26 16:53:58 -05:00
|
|
|
.gizmo_view_align = RGBA(0xffffffff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.gizmo_a = RGBA(0x4da84dff),
|
|
|
|
|
.gizmo_b = RGBA(0xa33535ff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.icon_scene = RGBA(0xccccccff),
|
|
|
|
|
.icon_collection = RGBA(0xffffffff),
|
|
|
|
|
.icon_object = RGBA(0xe19658ff),
|
2019-05-15 19:11:14 +02:00
|
|
|
.icon_object_data = RGBA(0x00d4a3ff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.icon_modifier = RGBA(0x74a2ffff),
|
|
|
|
|
.icon_shading = RGBA(0xcc6670ff),
|
|
|
|
|
.icon_folder = RGBA(0xccad63ff),
|
2024-08-16 23:16:40 +02:00
|
|
|
.icon_autokey = RGBA(0xab3c48ff),
|
UI: Visual style update to panels
Back in Blender 2.30, the GUI project brought panels into Blender among other important visual updates.
For the first time it was possible to move the wall of buttons around. Providing a clear separation
between sections (it even allowed the grouping of panels in tabs!)
During the 2.5 redesign, the separation between panels became a line on top of each panel, and panels received
theme settings for background and header colors. The default theme used the same color for both.
In 2.8 the background color of panels was different from headers in the default theme, so the separator
line was removed. While the separator line wasn't elegant (only on top, non-themeable, hard-coded emboss effect),
it provided a sort of separation between panels.
This patch solves the panels-separation by simply adding a margin space around them (not visible in default theme yet).
Even though the margin reduces the width of the working area slightly, it makes room for the upcoming always-visible scrollbars.
Other adjustments:
* Use arrow icon instead of triangle to collapse/expand
* Use rounded corners to match the rest of the UI (editor corners, nodes, etc).
{F10953929, size=full}
Margin on panels makes use of the `style->panelouter` property that hasn't been
used in a while. Also slight tweaks to `boxspace` and `templatespace` style properties so they
are multiples of 2 and operations on them round better.
There is technically no need to update the themes for them to work, so no theme changes are included in this patch.
{F10953931, size=full}
{F10953933, size=full}
{F10953934, size=full}
{F10954003, size=full}
----
A new theme setting under Style controls the roundness of all panels (added it to Style instead of ThemeSpace because I think controlling the panel roundness per editor is a bit overkill):
{F11091561, size=full, autoplay, loop}
Reviewed By: HooglyBoogly
Differential Revision: https://developer.blender.org/D12814
2021-10-17 18:22:53 +02:00
|
|
|
.panel_roundness = 0.4f,
|
2025-06-12 20:05:34 +02:00
|
|
|
.panel_header = RGBA(0x3d3d3dff),
|
|
|
|
|
.panel_back = RGBA(0x3d3d3dff),
|
|
|
|
|
.panel_sub_back = RGBA(0x0000001f),
|
2025-06-18 19:16:24 +02:00
|
|
|
.panel_outline = RGBA(0xffffff11),
|
2025-07-31 00:41:56 +02:00
|
|
|
.panel_title = RGBA(0xe6e6e6ff),
|
|
|
|
|
.panel_text = RGBA(0xe6e6e6ff),
|
2025-09-04 15:01:57 +02:00
|
|
|
.panel_active = RGBA(0x4772b3ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
UI: Theme: Shared regions
Continuing recent attempts to combine theme settings
and reduce complexity. part of #140360
This PR adds new root panel in theme called "Regions" which for now
includes two subpanels:
# Asset Shelf
This is just moving asset shelf from root to regions, where
it's more appropriate and less noisy.
No functional changes. (alternative to #144267)
# Channels
Previously known as "Theme Space List", or "Source List",
but in user interface we refer this region as "Channels".
This region is shared by all animation/video editors, and each had
a separate panel for theme properties. Now they're combined, and all
editors follow settings defined in Regions -> Channels.
Additionally, "Source List Title" property, which was never used is removed.
Properties are also renamed to be more intuitive and shorter.
# Toolbar / Sidebar
Previously was registered separately on every single editor. This allowed
for some extra customization, but in 5.0 need for this is reduced very much,
because elements drawn in those regions (tabs & tools) are also generalized,
so it makes sense to want same background color for them as well.
> This replaces 46 properties with 5, reducing the total by 41.
> Videos in PR
Pull Request: https://projects.blender.org/blender/blender/pulls/145609
2025-09-12 13:22:50 +02:00
|
|
|
.regions = {
|
|
|
|
|
.asset_shelf = {
|
|
|
|
|
.back = RGBA(0x303030ff),
|
|
|
|
|
.header_back = RGBA(0x1d1d1dff),
|
|
|
|
|
},
|
|
|
|
|
.channels = {
|
|
|
|
|
.back = RGBA(0x1d1d1dff),
|
|
|
|
|
.text = RGBA(0xb8b8b8ff),
|
|
|
|
|
.text_selected = RGBA(0xffaf23ff),
|
|
|
|
|
},
|
2025-09-12 16:25:56 +02:00
|
|
|
.scrubbing = {
|
|
|
|
|
.back = RGBA(0x161616ff),
|
|
|
|
|
.text = RGBA(0xc3c3c3ff),
|
|
|
|
|
.time_marker = RGBA(0xffffff4d),
|
|
|
|
|
.time_marker_selected = RGBA(0xffffffb3),
|
|
|
|
|
},
|
UI: Theme: Shared regions
Continuing recent attempts to combine theme settings
and reduce complexity. part of #140360
This PR adds new root panel in theme called "Regions" which for now
includes two subpanels:
# Asset Shelf
This is just moving asset shelf from root to regions, where
it's more appropriate and less noisy.
No functional changes. (alternative to #144267)
# Channels
Previously known as "Theme Space List", or "Source List",
but in user interface we refer this region as "Channels".
This region is shared by all animation/video editors, and each had
a separate panel for theme properties. Now they're combined, and all
editors follow settings defined in Regions -> Channels.
Additionally, "Source List Title" property, which was never used is removed.
Properties are also renamed to be more intuitive and shorter.
# Toolbar / Sidebar
Previously was registered separately on every single editor. This allowed
for some extra customization, but in 5.0 need for this is reduced very much,
because elements drawn in those regions (tabs & tools) are also generalized,
so it makes sense to want same background color for them as well.
> This replaces 46 properties with 5, reducing the total by 41.
> Videos in PR
Pull Request: https://projects.blender.org/blender/blender/pulls/145609
2025-09-12 13:22:50 +02:00
|
|
|
.sidebars = {
|
|
|
|
|
.back = RGBA(0x30303000),
|
|
|
|
|
.tab_back = RGBA(0x18181800),
|
2025-09-12 16:25:56 +02:00
|
|
|
},
|
UI: Theme: Shared regions
Continuing recent attempts to combine theme settings
and reduce complexity. part of #140360
This PR adds new root panel in theme called "Regions" which for now
includes two subpanels:
# Asset Shelf
This is just moving asset shelf from root to regions, where
it's more appropriate and less noisy.
No functional changes. (alternative to #144267)
# Channels
Previously known as "Theme Space List", or "Source List",
but in user interface we refer this region as "Channels".
This region is shared by all animation/video editors, and each had
a separate panel for theme properties. Now they're combined, and all
editors follow settings defined in Regions -> Channels.
Additionally, "Source List Title" property, which was never used is removed.
Properties are also renamed to be more intuitive and shorter.
# Toolbar / Sidebar
Previously was registered separately on every single editor. This allowed
for some extra customization, but in 5.0 need for this is reduced very much,
because elements drawn in those regions (tabs & tools) are also generalized,
so it makes sense to want same background color for them as well.
> This replaces 46 properties with 5, reducing the total by 41.
> Videos in PR
Pull Request: https://projects.blender.org/blender/blender/pulls/145609
2025-09-12 13:22:50 +02:00
|
|
|
},
|
2025-07-31 20:19:00 +02:00
|
|
|
.common = {
|
|
|
|
|
.anim = {
|
UI: Theme: Move more animation properties in common
Next step of #140360, continuing after 39c066ee5315ea32d415a7b4a00bb4f1b9ea8c9d
Moves more animation theme properties shared by different editors to the new Common panel.
- Playhead (was shared by 7 editors)
- Marker Line (was shared by 5 editors)
- Marker Line Selected (was shared by 5 editors)
- Channel (was shared by 3 editors)
- Sub-channel (was shared by 3 editors)
- Channel Group (was shared by 2 editors)
- Active Channel Group (was shared by 2 editors)
In total, 27 properties are replaced with 7.
---
User Visible Changes:
- "Current Frame" is renamed to "Playhead". It was general sentiment among
Anim and UI modules to rename this everywhere after "Playhead Snapping" was
added, and this is first step towards that. Name is more recognizable and it's
clear it refers to UI element, rather than something as generic as "current frame".
- Channel, Sub-channel, Channel Group, and Active Channel Group colors in
Dope Sheet had alpha, but ones in Graph and NLA editors didn't. New common
property is used for all three of them and has alpha, meaning two editors gain
alpha as well, but they don't use alpha, still only Dope Sheet does.
- Channel and Sub-channel had different color in NLA and didn't match Dope Sheet
and Graph Editor, now since it's shared it has same color, which is a visual change
(slighlty lighter blue).
Pull Request: https://projects.blender.org/blender/blender/pulls/144060
2025-08-09 09:04:53 +02:00
|
|
|
.playhead = RGBA(0x4772b3ff),
|
2025-07-31 20:19:00 +02:00
|
|
|
.preview_range = RGBA(0xa14d0066),
|
UI: Theme: Common colors for animation channels
Continuation of #140360
New common properties for Channel and Channel Selected,
used in animation editors.
Previously Dope Sheet, Graph Editor, NLA, and Movie Clip Editor
had separate properties for them.
Video and images inside the PR.
---
> [!important]
- Channels looked different in Dope Sheet and Graph Editor. In the former,
they were same color as the background, so only labels and icons were visible,
in the latter they had a darker color, so their outline was visible. We need to pick
which design we go for now that they're combined. I chose color from Graph
Editor for now, with alpha from Dope Sheet, since only that editor uses alpha.
---
There is a confusion with names of channel colors. In 4.5 there is:
- - "Channel" (singular, blue color) which refers to objects, actions,
and action slots that hold/combine channels.
- - "Channels" (plural, black color) which refers to individual channels.
This goes against how we name things. In theme, especially, we refer to object
colors as "Object", singular, not Objects, plular. Same goes for all elements except
this one, where individual elements are referred in plural.
To lessen the confusion, and also avoid unnecessary breaking changes in the
future (in case we want to rename blue things, which seems likely), in this PR
I swap those names. Main reason is that black color marks individual channels,
so it should be singular, and blue colors are combination of many channels,
so they should be plural. Otherwise even talking about them is awkward.
Note that renaming isn't a breaking change, because we already "broke" them
by moving them to common path from individual editors.
Pull Request: https://projects.blender.org/blender/blender/pulls/146091
2025-09-12 14:49:27 +02:00
|
|
|
.channels = RGBA(0x194e8080),
|
|
|
|
|
.channels_sub = RGBA(0x0f2c4d80),
|
UI: Theme: Move more animation properties in common
Next step of #140360, continuing after 39c066ee5315ea32d415a7b4a00bb4f1b9ea8c9d
Moves more animation theme properties shared by different editors to the new Common panel.
- Playhead (was shared by 7 editors)
- Marker Line (was shared by 5 editors)
- Marker Line Selected (was shared by 5 editors)
- Channel (was shared by 3 editors)
- Sub-channel (was shared by 3 editors)
- Channel Group (was shared by 2 editors)
- Active Channel Group (was shared by 2 editors)
In total, 27 properties are replaced with 7.
---
User Visible Changes:
- "Current Frame" is renamed to "Playhead". It was general sentiment among
Anim and UI modules to rename this everywhere after "Playhead Snapping" was
added, and this is first step towards that. Name is more recognizable and it's
clear it refers to UI element, rather than something as generic as "current frame".
- Channel, Sub-channel, Channel Group, and Active Channel Group colors in
Dope Sheet had alpha, but ones in Graph and NLA editors didn't. New common
property is used for all three of them and has alpha, meaning two editors gain
alpha as well, but they don't use alpha, still only Dope Sheet does.
- Channel and Sub-channel had different color in NLA and didn't match Dope Sheet
and Graph Editor, now since it's shared it has same color, which is a visual change
(slighlty lighter blue).
Pull Request: https://projects.blender.org/blender/blender/pulls/144060
2025-08-09 09:04:53 +02:00
|
|
|
.channel_group = RGBA(0x1a332d37),
|
|
|
|
|
.channel_group_active = RGBA(0x216d5b67),
|
UI: Theme: Common colors for animation channels
Continuation of #140360
New common properties for Channel and Channel Selected,
used in animation editors.
Previously Dope Sheet, Graph Editor, NLA, and Movie Clip Editor
had separate properties for them.
Video and images inside the PR.
---
> [!important]
- Channels looked different in Dope Sheet and Graph Editor. In the former,
they were same color as the background, so only labels and icons were visible,
in the latter they had a darker color, so their outline was visible. We need to pick
which design we go for now that they're combined. I chose color from Graph
Editor for now, with alpha from Dope Sheet, since only that editor uses alpha.
---
There is a confusion with names of channel colors. In 4.5 there is:
- - "Channel" (singular, blue color) which refers to objects, actions,
and action slots that hold/combine channels.
- - "Channels" (plural, black color) which refers to individual channels.
This goes against how we name things. In theme, especially, we refer to object
colors as "Object", singular, not Objects, plular. Same goes for all elements except
this one, where individual elements are referred in plural.
To lessen the confusion, and also avoid unnecessary breaking changes in the
future (in case we want to rename blue things, which seems likely), in this PR
I swap those names. Main reason is that black color marks individual channels,
so it should be singular, and blue colors are combination of many channels,
so they should be plural. Otherwise even talking about them is awkward.
Note that renaming isn't a breaking change, because we already "broke" them
by moving them to common path from individual editors.
Pull Request: https://projects.blender.org/blender/blender/pulls/146091
2025-09-12 14:49:27 +02:00
|
|
|
.channel = RGBA(0x12121299),
|
|
|
|
|
.channel_selected = RGBA(0x60c04044),
|
UI: Theme: Move keyframe properties to common
Continuing #140360
This PR moves keyframe theme properties from editors into Common.
Besides Dope Sheet, keyframe properties were in:
- Sequencer (almost all types, and might use more in the future)
- 3D Viewport, where the active object name overlay used a separate Object Keyframe color when
it had keyframes on the current frame. Now it uses the common Keyframe Selected color, instead
of having its own property just for this little text.
- Keyframes in Movie Clip Editor were hard-coded white, now they use a common Keyframe color.
Selected colors used wrong long key selected color, now they use common Keyframe Selected color.
- Movie Clip Editor also used separate colors for what it called "Strips", but they are visually
the exact same thing as "long keys" in Dope Sheet, so they use common long key colors now.
There are Keyframe Border properties in Dope Sheet, Sequencer, and NLA, but they're not shared
because they're drawn on very different backgrounds, in different sizes, with different fill colors, so
it's difficult to make one color work for all of them, and it can restrict customization and accessibility.
Video in PR
---
Details:
- Long keys in Dope Sheet/Clip Editor and Strips in NLA used the same internal "strip" attribute.
Those needed to be separated to properly use long key colors in common, without worrying
about affecting unrelated things, and those two are as unrelated as they can get.
To properly separate them I added new "long_key" attributes, and corresponding
`TH_LONGKEY` and `TH_LONGKEY_SELECT`.
- Long keys in Movie Clip Editor had hardcoded alpha. Now they use alpha of the theme color.
Pull Request: https://projects.blender.org/blender/blender/pulls/144259
2025-08-29 23:22:38 +02:00
|
|
|
.keyframe = RGBA(0xbfbfbfff),
|
|
|
|
|
.keyframe_extreme = RGBA(0xe8b3ccff),
|
|
|
|
|
.keyframe_breakdown = RGBA(0xb3dbe8ff),
|
|
|
|
|
.keyframe_jitter = RGBA(0x94e575ff),
|
|
|
|
|
.keyframe_moving_hold = RGBA(0x808080ff),
|
|
|
|
|
.keyframe_generated = RGBA(0x585858ff),
|
|
|
|
|
.keyframe_selected = RGBA(0xffbe33ff),
|
|
|
|
|
.keyframe_extreme_selected = RGBA(0xf28080ff),
|
|
|
|
|
.keyframe_breakdown_selected = RGBA(0x54bfedff),
|
|
|
|
|
.keyframe_jitter_selected = RGBA(0x61c042ff),
|
|
|
|
|
.keyframe_moving_hold_selected = RGBA(0xffaf23ff),
|
|
|
|
|
.keyframe_generated_selected = RGBA(0xa28962ff),
|
|
|
|
|
.long_key = RGBA(0xffffff1f),
|
|
|
|
|
.long_key_selected = RGBA(0xff8c0099),
|
2025-07-31 20:19:00 +02:00
|
|
|
},
|
UI: Theme: Move curve handle properties in common
Continuing #140360, after 39c066ee5315ea32d415a7b4a00bb4f1b9ea8c9d
Moving curve handle colors & size from space editors into common theme properties.
They are now shared by 3D Viewport, Image Editor, Graph Editor, and Movie Clip Editor,
instead of each of them having their own properties.
(Video in PR)
---
Details:
- NURB U/V lines, active spline, and last selected point colors were defined
in `rna_def_userdef_theme_spaces_curves` but were optional and only called by
3D viewport. Since no other editor calls that function anymore, I removed it and
moved those properties directly inside `rna_def_userdef_theme_space_view3d`.
- In Image Editor & Movie Clip Editor (Mask mode), curves don't ever show
selection colors, and Vector handles are generally never visible, that is
bug/missing in Blender in general, not a result of this PR.
- Handle vertex size were included in Dope Sheet and NLA, where handles don't
exist. Now as a side effect they're removed as well.
Pull Request: https://projects.blender.org/blender/blender/pulls/143762
2025-08-15 21:40:56 +02:00
|
|
|
.curves = {
|
|
|
|
|
.handle_free = RGBA(0x000000ff),
|
|
|
|
|
.handle_auto = RGBA(0x909000ff),
|
|
|
|
|
.handle_vect = RGBA(0x409030ff),
|
|
|
|
|
.handle_align = RGBA(0x803060ff),
|
|
|
|
|
.handle_auto_clamped = RGBA(0x994030ff),
|
|
|
|
|
.handle_sel_free = RGBA(0x000000ff),
|
|
|
|
|
.handle_sel_auto = RGBA(0xf0ff40ff),
|
|
|
|
|
.handle_sel_vect = RGBA(0x40c030ff),
|
|
|
|
|
.handle_sel_align = RGBA(0xf090a0ff),
|
|
|
|
|
.handle_sel_auto_clamped = RGBA(0xf0af90ff),
|
|
|
|
|
.handle_vertex = RGBA(0x000000ff),
|
|
|
|
|
.handle_vertex_select = RGBA(0xff8500ff),
|
|
|
|
|
.handle_vertex_size = 5,
|
|
|
|
|
},
|
2025-07-31 20:19:00 +02:00
|
|
|
},
|
2019-05-08 17:06:35 +10:00
|
|
|
.space_properties = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x30303000),
|
|
|
|
|
.title = RGBA(0xe6e6e6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
|
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
2021-10-27 18:20:40 +02:00
|
|
|
.match = RGBA(0x4772b3ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
.space_view3d = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x3d3d3dff),
|
|
|
|
|
.back_grad = RGBA(0x30303000),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xeeeeeeff),
|
|
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.grid = RGBA(0x54545480),
|
2019-05-08 17:06:35 +10:00
|
|
|
.wire = RGBA(0x000000ff),
|
|
|
|
|
.wire_edit = RGBA(0x000000ff),
|
2019-05-20 14:59:55 +02:00
|
|
|
.select = RGBA(0xed5700ff),
|
2020-03-30 10:11:35 +11:00
|
|
|
.lamp = RGBA(0x00000050),
|
2019-05-08 17:06:35 +10:00
|
|
|
.speaker = RGBA(0x000000ff),
|
|
|
|
|
.empty = RGBA(0x000000ff),
|
|
|
|
|
.camera = RGBA(0x000000ff),
|
2019-05-20 14:59:55 +02:00
|
|
|
.active = RGBA(0xffa028ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.transform = RGBA(0xffffffff),
|
|
|
|
|
.vertex = RGBA(0x000000ff),
|
2019-05-20 14:59:55 +02:00
|
|
|
.vertex_select = RGBA(0xff7a00ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.vertex_bevel = RGBA(0x00a5ffff),
|
|
|
|
|
.edge = RGBA(0x000000ff),
|
2023-11-02 18:12:20 +11:00
|
|
|
.edge_select = RGBA(0xff9900ff),
|
|
|
|
|
.edge_mode_select = RGBA(0xffd800ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.edge_seam = RGBA(0xdb2512ff),
|
|
|
|
|
.edge_sharp = RGBA(0x00ffffff),
|
|
|
|
|
.edge_crease = RGBA(0xcc0099ff),
|
|
|
|
|
.edge_bevel = RGBA(0x00a5ffff),
|
2020-02-24 16:01:55 +11:00
|
|
|
.face = RGBA(0xffffff02),
|
2023-11-02 18:12:20 +11:00
|
|
|
.face_select = RGBA(0xffa30033),
|
|
|
|
|
.face_mode_select = RGBA(0xffb70033),
|
2023-03-03 00:35:45 +01:00
|
|
|
.face_retopology = RGBA(0x50c8ff0f),
|
2019-12-07 08:16:45 -08:00
|
|
|
.face_back = RGBA(0xff0000b3),
|
2024-11-20 21:39:40 +01:00
|
|
|
.face_front = RGBA(0x0000ff00),
|
2020-02-24 16:01:55 +11:00
|
|
|
.face_dot = RGBA(0xff8a00ff),
|
2019-05-20 14:59:55 +02:00
|
|
|
.extra_edge_len = RGBA(0x150806ff),
|
|
|
|
|
.extra_edge_angle = RGBA(0x4d4d00ff),
|
|
|
|
|
.extra_face_angle = RGBA(0x0000ccff),
|
|
|
|
|
.extra_face_area = RGBA(0x004d00ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.normal = RGBA(0x22ddddff),
|
|
|
|
|
.vertex_normal = RGBA(0x2361ddff),
|
|
|
|
|
.loop_normal = RGBA(0xdd23ddff),
|
2019-05-16 19:53:20 +02:00
|
|
|
.bone_solid = RGBA(0xb2b2b2ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.bone_pose = RGBA(0x50c8ff50),
|
|
|
|
|
.bone_pose_active = RGBA(0x8cffff50),
|
2019-12-17 16:11:31 +03:00
|
|
|
.bone_locked_weight = RGBA(0xff000080),
|
2024-06-28 14:59:41 +02:00
|
|
|
.before_current_frame = RGBA(0xf22e23ff),
|
|
|
|
|
.after_current_frame = RGBA(0x78f244ff),
|
2024-05-29 20:10:45 +02:00
|
|
|
.time_gp_keyframe = RGBA(0x7a9b14ff),
|
2019-05-20 14:59:55 +02:00
|
|
|
.freestyle_edge_mark = RGBA(0x7fff7fff),
|
|
|
|
|
.freestyle_face_mark = RGBA(0x7fff7f4d),
|
2019-05-08 17:06:35 +10:00
|
|
|
.nurb_uline = RGBA(0x909000ff),
|
|
|
|
|
.nurb_vline = RGBA(0x803060ff),
|
2019-05-20 14:59:55 +02:00
|
|
|
.act_spline = RGBA(0xdb2512ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.nurb_sel_uline = RGBA(0xf0ff40ff),
|
|
|
|
|
.nurb_sel_vline = RGBA(0xf090a0ff),
|
|
|
|
|
.vertex_size = 3,
|
2023-02-27 20:02:37 +01:00
|
|
|
.edge_width = 1,
|
2019-05-08 17:06:35 +10:00
|
|
|
.outline_width = 1,
|
|
|
|
|
.obcenter_dia = 6,
|
|
|
|
|
.facedot_size = 3,
|
2020-02-24 16:01:55 +11:00
|
|
|
.editmesh_active = RGBA(0xffffff33),
|
2021-10-27 18:20:40 +02:00
|
|
|
.clipping_border_3d = RGBA(0x3f3f3fff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.bundle_solid = RGBA(0xc8c8c8ff),
|
|
|
|
|
.camera_path = RGBA(0x000000ff),
|
|
|
|
|
.gp_vertex_size = 3,
|
|
|
|
|
.gp_vertex = RGBA(0x000000ff),
|
2019-05-20 14:59:55 +02:00
|
|
|
.gp_vertex_select = RGBA(0xff8500ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.skin_root = RGBA(0xb44d4dff),
|
|
|
|
|
.paint_curve_pivot = RGBA(0xff7f7f7f),
|
|
|
|
|
.paint_curve_handle = RGBA(0x7fff7f7f),
|
|
|
|
|
},
|
|
|
|
|
.space_file = {
|
2020-08-26 16:53:58 -05:00
|
|
|
.back = RGBA(0x28282800),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xffffffff),
|
|
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.hilite = RGBA(0x4772b3ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
2021-10-27 18:20:40 +02:00
|
|
|
.row_alternate = RGBA(0xffffff04),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
.space_graph = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x30303000),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xffffffff),
|
|
|
|
|
.text = RGBA(0xa6a6a6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
|
|
|
|
.shade1 = RGBA(0x96969600),
|
2021-10-27 18:20:40 +02:00
|
|
|
.grid = RGBA(0x1a1a1aff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.vertex = RGBA(0x000000ff),
|
|
|
|
|
.vertex_select = RGBA(0xff8500ff),
|
2020-10-07 08:27:58 -05:00
|
|
|
.vertex_active = RGBA(0xffffffff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.vertex_size = 6,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
|
|
|
|
},
|
|
|
|
|
.space_info = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x1d1d1d00),
|
2020-01-23 14:38:10 +01:00
|
|
|
.title = RGBA(0xffffffff),
|
|
|
|
|
.text = RGBA(0xc3c3c3ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
|
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
2020-01-23 14:38:10 +01:00
|
|
|
.info_selected = RGBA(0x3b5689ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.info_selected_text = RGBA(0xffffffff),
|
|
|
|
|
.info_error_text = RGBA(0xffffffff),
|
|
|
|
|
.info_warning_text = RGBA(0xffffffff),
|
|
|
|
|
.info_info_text = RGBA(0xffffffff),
|
2021-02-08 08:19:23 -08:00
|
|
|
.info_debug = RGBA(0x6b3293ff),
|
|
|
|
|
.info_debug_text = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.info_property = RGBA(0x236666ff),
|
2020-01-29 09:24:54 -08:00
|
|
|
.info_property_text = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.info_operator = RGBA(0x235266ff),
|
2020-01-29 09:24:54 -08:00
|
|
|
.info_operator_text = RGBA(0xffffffff),
|
2020-02-24 16:01:55 +11:00
|
|
|
},
|
2019-05-08 17:06:35 +10:00
|
|
|
.space_action = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x30303000),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xeeeeeeff),
|
|
|
|
|
.text = RGBA(0xa6a6a6ff),
|
2021-11-05 15:06:27 +01:00
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
|
|
|
|
.shade1 = RGBA(0xc0c0c000),
|
2021-10-27 18:20:40 +02:00
|
|
|
.grid = RGBA(0x161616ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.ds_ipoline = RGBA(0x94e575cc),
|
|
|
|
|
.keyborder = RGBA(0x000000ff),
|
|
|
|
|
.keyborder_select = RGBA(0x000000ff),
|
|
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
2023-08-16 18:45:10 +02:00
|
|
|
.simulated_frames = RGBA(0x721e65ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.keyframe_scale_fac = 1.0f,
|
2021-10-27 18:20:40 +02:00
|
|
|
.anim_active = RGBA(0x4d272766),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
.space_nla = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x30303000),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xffffffff),
|
|
|
|
|
.text = RGBA(0xa6a6a6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
|
|
|
|
.shade1 = RGBA(0x96969600),
|
|
|
|
|
.grid = RGBA(0x2a2a2aff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.strip = RGBA(0x0d0d0d80),
|
2019-05-08 17:06:35 +10:00
|
|
|
.strip_select = RGBA(0xff8c00ff),
|
|
|
|
|
.keyborder = RGBA(0x000000ff),
|
|
|
|
|
.keyborder_select = RGBA(0x000000ff),
|
|
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
2021-10-27 18:20:40 +02:00
|
|
|
.anim_active = RGBA(0x99541366),
|
|
|
|
|
.anim_non_active = RGBA(0x4d3b174d),
|
2019-05-08 17:06:35 +10:00
|
|
|
.nla_tweaking = RGBA(0x4df31a4d),
|
|
|
|
|
.nla_tweakdupli = RGBA(0xd90000ff),
|
|
|
|
|
.nla_transition = RGBA(0x1c2630ff),
|
|
|
|
|
.nla_transition_sel = RGBA(0x2e75dbff),
|
|
|
|
|
.nla_meta = RGBA(0x332642ff),
|
|
|
|
|
.nla_meta_sel = RGBA(0x692196ff),
|
|
|
|
|
.nla_sound = RGBA(0x2b3d3dff),
|
|
|
|
|
.nla_sound_sel = RGBA(0x1f7a7aff),
|
|
|
|
|
},
|
|
|
|
|
.space_sequencer = {
|
VSE: Remove separator lines between rows
The VSE grid theme setting is currently used for two things:
* Indicate time intervals (vertical lines)
* As separator between channels (horizontal lines)
This adds visual noise because for the time interval to be visible, the
grid color needs to be bright, resulting in a rectangle-grid backdrop.
Recently, the VSE got a theme setting to customize alternate-row background color.
This should be sufficient to tell the channels apart without the need for a line in between.
Additionally, this patch makes the VSE background use the theme setting as-is,
without hard-coded darkening, to ease the tweaking of themes. This aligns the style
of the VSE backdrop with the rest of Blender (Outliner rows, File Browser, Spreadsheet,
Info and animation editors).
Related reports: T92581
Related task: T92792
#### Before
{F11680317, size=full}
#### After
{F11694981, size=full}
Reviewed By: #user_interface, Severin
Maniphest Tasks: T92581
Differential Revision: https://developer.blender.org/D13072
2021-11-05 14:53:27 +01:00
|
|
|
.back = RGBA(0x18181800),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xeeeeeeff),
|
|
|
|
|
.text = RGBA(0xa6a6a6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
|
|
|
|
.shade1 = RGBA(0xa0a0a000),
|
VSE: Remove separator lines between rows
The VSE grid theme setting is currently used for two things:
* Indicate time intervals (vertical lines)
* As separator between channels (horizontal lines)
This adds visual noise because for the time interval to be visible, the
grid color needs to be bright, resulting in a rectangle-grid backdrop.
Recently, the VSE got a theme setting to customize alternate-row background color.
This should be sufficient to tell the channels apart without the need for a line in between.
Additionally, this patch makes the VSE background use the theme setting as-is,
without hard-coded darkening, to ease the tweaking of themes. This aligns the style
of the VSE backdrop with the rest of Blender (Outliner rows, File Browser, Spreadsheet,
Info and animation editors).
Related reports: T92581
Related task: T92792
#### Before
{F11680317, size=full}
#### After
{F11694981, size=full}
Reviewed By: #user_interface, Severin
Maniphest Tasks: T92581
Differential Revision: https://developer.blender.org/D13072
2021-11-05 14:53:27 +01:00
|
|
|
.grid = RGBA(0x303030ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.vertex_select = RGBA(0xff8500ff),
|
|
|
|
|
.bone_pose = RGBA(0x50c8ff50),
|
2024-06-28 14:59:41 +02:00
|
|
|
.before_current_frame = RGBA(0xf22e23ff),
|
|
|
|
|
.after_current_frame = RGBA(0x78f244ff),
|
VSE: Improve retiming UI
Currently retiming is quite awkward, when you need to retime multiple
strips strips in sync. It is possible to use meta strips, but this is
still not great. This is resolved by implementing selection.
General changes:
Gizmos are removed, since they are designed to operate only on active
strip and don't support selection.
Transform operator code is implemented for retiming data, which allows
more sophisticated manipulation.
Instead of drawing marker-like symbols, keyframes are drawn to
represent retiming data. Retiming handles are now called keys. To have
consistent names, DNA structures have been renamed.
Retiming data is drawn on strip as overlay.
UI changes:
Retiming tool is removed. To edit retiming data, press Ctrl + R, select
a key and move it. When retiming is edited, retiming menu and
context menu shows more relevant features, like making transitions.
Strip and retiming key selection can not be combined. It is possible to
use box select operator to select keys, if any key is selected.
Otherwise strips are selected.
Adding retiming keys is possible with I shortcut or from menu.
Retiming keys are always drawn at strip left and right boundary. These
keys do not really exist until they are selected. This is to simplify
retiming of strips that are resized. These keys are called "fake keys"
in code.
API changes:
Functions, properties and types related to retiming handles are renamed
to retiming keys:
retiming_handle_add() -> retiming_key_add()
retiming_handle_move() -> retiming_key_move()
retiming_handle_remove() -> retiming_key_remove()
retiming_handles -> retiming_keys
RetimingHandle -> RetimingKey
Retiming editing "mode" is activated by setting `Sequence.show_retiming_keys`.
Pull Request: https://projects.blender.org/blender/blender/pulls/109044
2023-09-27 01:45:59 +02:00
|
|
|
.keyborder = RGBA(0x000000ff),
|
|
|
|
|
.keyborder_select = RGBA(0x000000ff),
|
2024-10-27 23:24:21 +11:00
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
2024-06-20 20:22:12 +02:00
|
|
|
.movie = RGBA(0x6282a3ff),
|
|
|
|
|
.movieclip = RGBA(0x8f6e56ff),
|
|
|
|
|
.mask = RGBA(0x8f5656ff),
|
|
|
|
|
.image = RGBA(0x8c548cff),
|
|
|
|
|
.scene = RGBA(0x999999ff),
|
|
|
|
|
.audio = RGBA(0x568f6dff),
|
|
|
|
|
.effect = RGBA(0x7b5f80ff),
|
|
|
|
|
.transition = RGBA(0x867accff),
|
|
|
|
|
.meta = RGBA(0x7b995cff),
|
|
|
|
|
.text_strip = RGBA(0x9f926fff),
|
|
|
|
|
.color_strip = RGBA(0x99995cff),
|
2024-10-27 23:24:21 +11:00
|
|
|
.active_strip = RGBA(0xffffffff),
|
|
|
|
|
.selected_strip = RGBA(0xff8f0dff),
|
2025-06-10 21:59:55 +02:00
|
|
|
.text_strip_cursor = RGBA(0x71a8ffff),
|
|
|
|
|
.selected_text = RGBA(0xffffff4d),
|
2024-10-27 23:24:21 +11:00
|
|
|
.gp_vertex_size = 3,
|
|
|
|
|
.gp_vertex_select = RGBA(0xff8500ff),
|
|
|
|
|
.row_alternate = RGBA(0xffffff05),
|
|
|
|
|
.metadatatext = RGBA(0xffffffff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
.space_image = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x30303000),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xeeeeeeff),
|
|
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.grid = RGBA(0x303030ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.wire_edit = RGBA(0xc0c0c0ff),
|
2019-05-21 17:59:20 +02:00
|
|
|
.vertex_select = RGBA(0xff8500ff),
|
|
|
|
|
.edge_select = RGBA(0xff8500ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.face = RGBA(0xffffff0a),
|
2019-05-21 17:59:20 +02:00
|
|
|
.face_select = RGBA(0xff85003c),
|
|
|
|
|
.face_dot = RGBA(0xff8500ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.vertex_size = 3,
|
2023-02-27 20:02:37 +01:00
|
|
|
.edge_width = 1,
|
2019-05-08 17:06:35 +10:00
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 3,
|
2020-04-16 18:43:03 +10:00
|
|
|
.editmesh_active = RGBA(0xffffff40),
|
2019-05-08 17:06:35 +10:00
|
|
|
.gp_vertex_size = 3,
|
2019-05-21 17:59:20 +02:00
|
|
|
.gp_vertex_select = RGBA(0xff8500ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.preview_back = RGBA(0x727272ff),
|
|
|
|
|
.preview_stitch_face = RGBA(0x7f7f0033),
|
|
|
|
|
.preview_stitch_edge = RGBA(0xff00ff33),
|
|
|
|
|
.preview_stitch_vert = RGBA(0x0000ff33),
|
|
|
|
|
.preview_stitch_stitchable = RGBA(0x00ff00ff),
|
|
|
|
|
.preview_stitch_unstitchable = RGBA(0xff0000ff),
|
|
|
|
|
.preview_stitch_active = RGBA(0xe1d2c323),
|
|
|
|
|
.uv_shadow = RGBA(0x707070ff),
|
|
|
|
|
.paint_curve_pivot = RGBA(0xff7f7f7f),
|
|
|
|
|
.paint_curve_handle = RGBA(0x7fff7f7f),
|
|
|
|
|
.metadatatext = RGBA(0xffffffff),
|
|
|
|
|
},
|
|
|
|
|
.space_text = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x23232300),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xeeeeeeff),
|
|
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
2023-09-15 12:59:57 +02:00
|
|
|
.shade2 = RGBA(0x4d4d4de6),
|
2024-04-11 04:00:14 +02:00
|
|
|
.hilite = RGBA(0x71a8ffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.grid = RGBA(0x1d1d1dff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
2021-10-27 18:20:40 +02:00
|
|
|
.syntaxl = RGBA(0xe6d573ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.syntaxs = RGBA(0xff734dff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.syntaxb = RGBA(0xe62e67ff),
|
2023-09-15 12:59:57 +02:00
|
|
|
.syntaxn = RGBA(0x48d9e6ff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.syntaxv = RGBA(0x689d06ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.syntaxc = RGBA(0x939393ff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.syntaxd = RGBA(0x9c73e6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.syntaxr = RGBA(0xc4753bff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.line_numbers = RGBA(0x777777ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
.space_outliner = {
|
|
|
|
|
.back = RGBA(0x28282800),
|
|
|
|
|
.title = RGBA(0xffffffff),
|
|
|
|
|
.text = RGBA(0xc3c3c3ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x282828b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.active = RGBA(0x334d80ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
|
|
|
|
.match = RGBA(0x337f334c),
|
2021-10-27 18:20:40 +02:00
|
|
|
.selected_highlight = RGBA(0x1d314dff),
|
2019-05-16 19:53:49 +02:00
|
|
|
.selected_object = RGBA(0xe96a00ff),
|
|
|
|
|
.active_object = RGBA(0xffaf29ff),
|
|
|
|
|
.edited_object = RGBA(0x00806266),
|
2021-10-27 18:20:40 +02:00
|
|
|
.row_alternate = RGBA(0xffffff04),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
.space_node = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x1d1d1d00),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xeeeeeeff),
|
|
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x1d1d1db3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.shade2 = RGBA(0x7f7f7f64),
|
|
|
|
|
.grid = RGBA(0x28282800),
|
|
|
|
|
.wire = RGBA(0x1a1a1aff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.select = RGBA(0xed5700ff),
|
|
|
|
|
.active = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.edge_select = RGBA(0xffffffb3),
|
2025-06-26 15:05:37 +02:00
|
|
|
.console_output = RGBA(0x1d1d1dff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
2021-03-20 01:12:28 +01:00
|
|
|
.noodle_curving = 4,
|
2022-03-30 21:21:57 +02:00
|
|
|
.grid_levels = 3,
|
2021-10-21 21:00:17 +02:00
|
|
|
.dash_alpha = 0.5f,
|
2021-10-27 18:20:40 +02:00
|
|
|
.syntaxl = RGBA(0x303030ff),
|
2025-06-16 18:34:29 +02:00
|
|
|
.syntaxs = RGBA(0x5a3838ff),
|
|
|
|
|
.syntaxb = RGBA(0x6e6e23ff),
|
|
|
|
|
.syntaxn = RGBA(0x82354cff),
|
|
|
|
|
.syntaxv = RGBA(0x246283ff),
|
|
|
|
|
.syntaxc = RGBA(0x374725ff),
|
|
|
|
|
.syntaxd = RGBA(0x3e5a5bff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.syntaxr = RGBA(0x8d8d8dff),
|
2025-06-16 18:34:29 +02:00
|
|
|
.nodeclass_output = RGBA(0x3e232aff),
|
|
|
|
|
.nodeclass_filter = RGBA(0x412b51ff),
|
|
|
|
|
.nodeclass_vector = RGBA(0x3c3c83ff),
|
|
|
|
|
.nodeclass_texture = RGBA(0x79461dff),
|
|
|
|
|
.nodeclass_shader = RGBA(0x2b652bff),
|
|
|
|
|
.nodeclass_script = RGBA(0x203c3cff),
|
|
|
|
|
.nodeclass_geometry = RGBA(0x1d725eff),
|
|
|
|
|
.nodeclass_attribute = RGBA(0x1d2546ff),
|
Geometry Nodes: add simulation support
This adds support for building simulations with geometry nodes. A new
`Simulation Input` and `Simulation Output` node allow maintaining a
simulation state across multiple frames. Together these two nodes form
a `simulation zone` which contains all the nodes that update the simulation
state from one frame to the next.
A new simulation zone can be added via the menu
(`Simulation > Simulation Zone`) or with the node add search.
The simulation state contains a geometry by default. However, it is possible
to add multiple geometry sockets as well as other socket types. Currently,
field inputs are evaluated and stored for the preceding geometry socket in
the order that the sockets are shown. Simulation state items can be added
by linking one of the empty sockets to something else. In the sidebar, there
is a new panel that allows adding, removing and reordering these sockets.
The simulation nodes behave as follows:
* On the first frame, the inputs of the `Simulation Input` node are evaluated
to initialize the simulation state. In later frames these sockets are not
evaluated anymore. The `Delta Time` at the first frame is zero, but the
simulation zone is still evaluated.
* On every next frame, the `Simulation Input` node outputs the simulation
state of the previous frame. Nodes in the simulation zone can edit that
data in arbitrary ways, also taking into account the `Delta Time`. The new
simulation state has to be passed to the `Simulation Output` node where it
is cached and forwarded.
* On a frame that is already cached or baked, the nodes in the simulation
zone are not evaluated, because the `Simulation Output` node can return
the previously cached data directly.
It is not allowed to connect sockets from inside the simulation zone to the
outside without going through the `Simulation Output` node. This is a necessary
restriction to make caching and sub-frame interpolation work. Links can go into
the simulation zone without problems though.
Anonymous attributes are not propagated by the simulation nodes unless they
are explicitly stored in the simulation state. This is unfortunate, but
currently there is no practical and reliable alternative. The core problem
is detecting which anonymous attributes will be required for the simulation
and afterwards. While we can detect this for the current evaluation, we can't
look into the future in time to see what data will be necessary. We intend to
make it easier to explicitly pass data through a simulation in the future,
even if the simulation is in a nested node group.
There is a new `Simulation Nodes` panel in the physics tab in the properties
editor. It allows baking all simulation zones on the selected objects. The
baking options are intentially kept at a minimum for this MVP. More features
for simulation baking as well as baking in general can be expected to be added
separately.
All baked data is stored on disk in a folder next to the .blend file. #106937
describes how baking is implemented in more detail. Volumes can not be baked
yet and materials are lost during baking for now. Packing the baked data into
the .blend file is not yet supported.
The timeline indicates which frames are currently cached, baked or cached but
invalidated by user-changes.
Simulation input and output nodes are internally linked together by their
`bNode.identifier` which stays the same even if the node name changes. They
are generally added and removed together. However, there are still cases where
"dangling" simulation nodes can be created currently. Those generally don't
cause harm, but would be nice to avoid this in more cases in the future.
Co-authored-by: Hans Goudey <h.goudey@me.com>
Co-authored-by: Lukas Tönne <lukas@blender.org>
Pull Request: https://projects.blender.org/blender/blender/pulls/104924
2023-05-03 13:18:51 +02:00
|
|
|
.node_zone_simulation = RGBA(0x66416233),
|
2025-08-07 15:27:02 -04:00
|
|
|
.node_zone_repeat = RGBA(0x76512f33),
|
2024-10-27 23:24:21 +11:00
|
|
|
.node_zone_foreach_geometry_element = RGBA(0x33527f33),
|
2025-08-07 15:27:02 -04:00
|
|
|
.node_zone_closure = RGBA(0x7D7D3A33),
|
2021-10-27 18:20:40 +02:00
|
|
|
.movie = RGBA(0x0f0f0fcc),
|
2019-05-08 17:06:35 +10:00
|
|
|
.gp_vertex_size = 3,
|
|
|
|
|
.gp_vertex = RGBA(0x97979700),
|
|
|
|
|
.gp_vertex_select = RGBA(0xff8500ff),
|
|
|
|
|
},
|
|
|
|
|
.space_preferences = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x30303000),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xeeeeeeff),
|
|
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
|
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
|
|
|
|
},
|
|
|
|
|
.space_console = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x1d1d1d00),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xeeeeeeff),
|
|
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
|
|
|
|
.console_output = RGBA(0x71a8ffff),
|
|
|
|
|
.console_input = RGBA(0xf2f2f2ff),
|
|
|
|
|
.console_info = RGBA(0x95d600ff),
|
|
|
|
|
.console_error = RGBA(0xff4d84ff),
|
2024-04-11 04:00:14 +02:00
|
|
|
.console_cursor = RGBA(0x71a8ffff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.console_select = RGBA(0xffffff30),
|
|
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
|
|
|
|
},
|
|
|
|
|
.space_clip = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x30303000),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xeeeeeeff),
|
|
|
|
|
.text = RGBA(0xa6a6a6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.grid = RGBA(0x181818ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
2021-10-27 18:20:40 +02:00
|
|
|
.marker = RGBA(0x808000ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.act_marker = RGBA(0xffffffff),
|
|
|
|
|
.sel_marker = RGBA(0xffff00ff),
|
|
|
|
|
.dis_marker = RGBA(0x7f0000ff),
|
|
|
|
|
.lock_marker = RGBA(0x7f7f7fff),
|
|
|
|
|
.path_before = RGBA(0xff0000ff),
|
|
|
|
|
.path_after = RGBA(0x0000ffff),
|
2019-09-16 12:43:51 +02:00
|
|
|
.path_keyframe_before = RGBA(0xffc4c4ff),
|
|
|
|
|
.path_keyframe_after = RGBA(0xc4c4ffff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.gp_vertex_size = 1,
|
|
|
|
|
.metadatatext = RGBA(0xffffffff),
|
|
|
|
|
},
|
|
|
|
|
.space_topbar = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x18181800),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xffffffff),
|
|
|
|
|
.text = RGBA(0xe6e6e6ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x181818b3),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
|
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
|
|
|
|
.gp_vertex_size = 3,
|
|
|
|
|
},
|
|
|
|
|
.space_statusbar = {
|
2021-10-27 18:20:40 +02:00
|
|
|
.back = RGBA(0x30303000),
|
2019-05-08 17:06:35 +10:00
|
|
|
.title = RGBA(0xffffffff),
|
|
|
|
|
.text = RGBA(0x838383ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x181818b3),
|
|
|
|
|
.header_text = RGBA(0x888888ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
|
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
|
|
|
|
.gp_vertex_size = 3,
|
|
|
|
|
},
|
2021-03-08 16:23:21 +01:00
|
|
|
.space_spreadsheet = {
|
|
|
|
|
.back = RGBA(0x28282800),
|
|
|
|
|
.title = RGBA(0xffffffff),
|
|
|
|
|
.text = RGBA(0xc3c3c3ff),
|
|
|
|
|
.text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.header = RGBA(0x303030b3),
|
2021-03-08 16:23:21 +01:00
|
|
|
.header_text = RGBA(0xeeeeeeff),
|
|
|
|
|
.header_text_hi = RGBA(0xffffffff),
|
2021-10-27 18:20:40 +02:00
|
|
|
.hilite = RGBA(0x80808080),
|
2021-03-08 16:23:21 +01:00
|
|
|
.active = RGBA(0x3b5689ff),
|
|
|
|
|
.vertex_size = 3,
|
|
|
|
|
.outline_width = 1,
|
|
|
|
|
.facedot_size = 4,
|
|
|
|
|
.match = RGBA(0x337f334c),
|
|
|
|
|
.selected_highlight = RGBA(0x223a5bff),
|
|
|
|
|
.selected_object = RGBA(0xe96a00ff),
|
|
|
|
|
.active_object = RGBA(0xffaf29ff),
|
|
|
|
|
.edited_object = RGBA(0x00806266),
|
2021-10-27 18:20:40 +02:00
|
|
|
.row_alternate = RGBA(0xffffff04),
|
2021-03-08 16:23:21 +01:00
|
|
|
},
|
2019-05-08 17:06:35 +10:00
|
|
|
.tarm = {
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0xe06254ff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0xff7566ff),
|
|
|
|
|
.active = RGBA(0xffe8e6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-10 16:26:40 +02:00
|
|
|
.solid = RGBA(0xd2b1a1ff),
|
|
|
|
|
.select = RGBA(0xfea275ff),
|
|
|
|
|
.active = RGBA(0xffeee6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-10 16:26:40 +02:00
|
|
|
.solid = RGBA(0xd2743fff),
|
|
|
|
|
.select = RGBA(0xffbb6eff),
|
|
|
|
|
.active = RGBA(0xfff3e6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0xd5bb3aff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0xedd041ff),
|
2023-10-09 19:21:12 +02:00
|
|
|
.active = RGBA(0xfffbe6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0xb9b379ff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0xe5de96ff),
|
|
|
|
|
.active = RGBA(0xfffde6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0x9fbe39ff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0xc5eb47ff),
|
|
|
|
|
.active = RGBA(0xf9ffe6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0x7bc83bff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0x91eb45ff),
|
|
|
|
|
.active = RGBA(0xf1ffe6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0xa2c491ff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0xc1e9acff),
|
|
|
|
|
.active = RGBA(0xefffe6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0x2ebe4aff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0x3ce35bff),
|
|
|
|
|
.active = RGBA(0xe6ffebff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0x34d79cff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0x39efadff),
|
2023-10-09 19:21:12 +02:00
|
|
|
.active = RGBA(0xe6fff6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0x3ad5d4ff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0x3fe7e6ff),
|
|
|
|
|
.active = RGBA(0xe6ffffff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-10 16:26:40 +02:00
|
|
|
.solid = RGBA(0x88bbd7ff),
|
|
|
|
|
.select = RGBA(0x71b6f9ff),
|
|
|
|
|
.active = RGBA(0xe6f3ffff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0x9d94ffff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0x9990ffff),
|
2023-10-09 19:21:12 +02:00
|
|
|
.active = RGBA(0xe8e6ffff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0xcfb2f1ff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0xc28effff),
|
2023-10-09 19:21:12 +02:00
|
|
|
.active = RGBA(0xf2e6ffff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0xce68f2ff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0xde80ffff),
|
|
|
|
|
.active = RGBA(0xf9e6ffff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0xe74ad2ff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0xff71edff),
|
2023-10-09 19:21:12 +02:00
|
|
|
.active = RGBA(0xffe6fcff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0xdaa1c9ff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0xfd8bdbff),
|
2023-10-09 19:21:12 +02:00
|
|
|
.active = RGBA(0xffe6f8ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
{
|
2023-10-09 19:21:12 +02:00
|
|
|
.solid = RGBA(0xd85989ff),
|
2023-10-10 16:26:40 +02:00
|
|
|
.select = RGBA(0xff83b1ff),
|
|
|
|
|
.active = RGBA(0xffe6efff),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
.solid = RGBA(0xb4abaeff),
|
|
|
|
|
.select = RGBA(0xd6adb3ff),
|
|
|
|
|
.active = RGBA(0xffe6eaff),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
.solid = RGBA(0x464344ff),
|
|
|
|
|
.select = RGBA(0xb1b0b0ff),
|
|
|
|
|
.active = RGBA(0xffe6e6ff),
|
2019-05-08 17:06:35 +10:00
|
|
|
},
|
|
|
|
|
},
|
2020-09-15 12:13:03 -06:00
|
|
|
.collection_color = {
|
|
|
|
|
{
|
2020-11-16 13:54:05 -07:00
|
|
|
.color = RGBA(0xe2605bff),
|
2020-09-15 12:13:03 -06:00
|
|
|
},
|
|
|
|
|
{
|
2020-11-16 13:54:05 -07:00
|
|
|
.color = RGBA(0xf1a355ff),
|
2020-09-15 12:13:03 -06:00
|
|
|
},
|
|
|
|
|
{
|
2020-11-16 13:54:05 -07:00
|
|
|
.color = RGBA(0xf1dc55ff),
|
2020-09-15 12:13:03 -06:00
|
|
|
},
|
|
|
|
|
{
|
2020-11-16 13:54:05 -07:00
|
|
|
.color = RGBA(0x7bcc7bff),
|
2020-09-15 12:13:03 -06:00
|
|
|
},
|
|
|
|
|
{
|
2020-11-16 13:54:05 -07:00
|
|
|
.color = RGBA(0x5db6eaff),
|
2020-09-15 12:13:03 -06:00
|
|
|
},
|
|
|
|
|
{
|
2020-11-16 13:54:05 -07:00
|
|
|
.color = RGBA(0x8d59daff),
|
2020-09-15 12:13:03 -06:00
|
|
|
},
|
|
|
|
|
{
|
2020-11-16 13:54:05 -07:00
|
|
|
.color = RGBA(0xc673b8ff),
|
2020-09-15 12:13:03 -06:00
|
|
|
},
|
|
|
|
|
{
|
2020-11-16 13:54:05 -07:00
|
|
|
.color = RGBA(0x7a5441ff),
|
2020-09-15 12:13:03 -06:00
|
|
|
},
|
|
|
|
|
},
|
2021-09-29 14:29:32 +02:00
|
|
|
.strip_color = {
|
|
|
|
|
{
|
2024-06-20 20:22:12 +02:00
|
|
|
.color = RGBA(0xcc5a52ff),
|
2021-09-29 14:29:32 +02:00
|
|
|
},
|
|
|
|
|
{
|
2024-06-20 20:22:12 +02:00
|
|
|
.color = RGBA(0xcc8a48ff),
|
2021-09-29 14:29:32 +02:00
|
|
|
},
|
|
|
|
|
{
|
2024-06-20 20:22:12 +02:00
|
|
|
.color = RGBA(0xb3a33fff),
|
2021-09-29 14:29:32 +02:00
|
|
|
},
|
|
|
|
|
{
|
2024-06-20 20:22:12 +02:00
|
|
|
.color = RGBA(0x5c995cff),
|
2021-09-29 14:29:32 +02:00
|
|
|
},
|
|
|
|
|
{
|
2024-06-20 20:22:12 +02:00
|
|
|
.color = RGBA(0x519fccff),
|
2021-09-29 14:29:32 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
.color = RGBA(0x8d59daff),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
.color = RGBA(0xc673b8ff),
|
|
|
|
|
},
|
|
|
|
|
{
|
2024-06-20 20:22:12 +02:00
|
|
|
.color = RGBA(0x996952ff),
|
2021-09-29 14:29:32 +02:00
|
|
|
},
|
|
|
|
|
{
|
2024-06-20 20:22:12 +02:00
|
|
|
.color = RGBA(0x808080ff),
|
2021-09-29 14:29:32 +02:00
|
|
|
},
|
|
|
|
|
},
|
2018-06-27 12:28:26 +02:00
|
|
|
};
|
2019-04-17 19:24:38 +02:00
|
|
|
|
|
|
|
|
/* clang-format on */
|