summaryrefslogtreecommitdiffstats
path: root/modules/csg
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2023-12-19 20:32:20 +0100
committerYuri Sizov <yuris@humnom.net>2023-12-19 20:32:20 +0100
commite18659c69d32278551b457b543bf7a840dcca1dc (patch)
tree88810f0744ba9c3ea6e283662a733b2ece27953f /modules/csg
parent549cb966f8c79aa93d1969aef2dade7c5d119f57 (diff)
parentb0ccd5c84f460d875d127455741d817ece6d3bed (diff)
downloadredot-engine-e18659c69d32278551b457b543bf7a840dcca1dc.tar.gz
Merge pull request #82872 from jsjtxietian/require-editor-restart-when-csg-gizmo-color-changed
Prompt require editor restart to user when gizmo color changed
Diffstat (limited to 'modules/csg')
-rw-r--r--modules/csg/editor/csg_gizmos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csg/editor/csg_gizmos.cpp b/modules/csg/editor/csg_gizmos.cpp
index ebf0f5a91f..ea7b6d225e 100644
--- a/modules/csg/editor/csg_gizmos.cpp
+++ b/modules/csg/editor/csg_gizmos.cpp
@@ -44,7 +44,7 @@
CSGShape3DGizmoPlugin::CSGShape3DGizmoPlugin() {
helper.instantiate();
- Color gizmo_color = EDITOR_DEF("editors/3d_gizmos/gizmo_colors/csg", Color(0.0, 0.4, 1, 0.15));
+ Color gizmo_color = EDITOR_DEF_RST("editors/3d_gizmos/gizmo_colors/csg", Color(0.0, 0.4, 1, 0.15));
create_material("shape_union_material", gizmo_color);
create_material("shape_union_solid_material", gizmo_color);
gizmo_color.invert();