summaryrefslogtreecommitdiffstats
path: root/editor/plugins/gizmos/decal_gizmo_plugin.cpp
diff options
context:
space:
mode:
authorjsjtxietian <jsjtxietian@outlook.com>2023-10-06 15:02:03 +0800
committerjsjtxietian <jsjtxietian@outlook.com>2023-10-06 15:02:03 +0800
commitb0ccd5c84f460d875d127455741d817ece6d3bed (patch)
tree14b8a3ba911a50858ad18186b384d4d18c0e96df /editor/plugins/gizmos/decal_gizmo_plugin.cpp
parent9e455f424a635549b295272d82757c7ff99f33d7 (diff)
downloadredot-engine-b0ccd5c84f460d875d127455741d817ece6d3bed.tar.gz
Prompt require editor restart to user when gizmo color changed
Diffstat (limited to 'editor/plugins/gizmos/decal_gizmo_plugin.cpp')
-rw-r--r--editor/plugins/gizmos/decal_gizmo_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/gizmos/decal_gizmo_plugin.cpp b/editor/plugins/gizmos/decal_gizmo_plugin.cpp
index 7572e1dcd5..f2b44790ee 100644
--- a/editor/plugins/gizmos/decal_gizmo_plugin.cpp
+++ b/editor/plugins/gizmos/decal_gizmo_plugin.cpp
@@ -40,7 +40,7 @@
DecalGizmoPlugin::DecalGizmoPlugin() {
helper.instantiate();
- Color gizmo_color = EDITOR_DEF("editors/3d_gizmos/gizmo_colors/decal", Color(0.6, 0.5, 1.0));
+ Color gizmo_color = EDITOR_DEF_RST("editors/3d_gizmos/gizmo_colors/decal", Color(0.6, 0.5, 1.0));
create_icon_material("decal_icon", EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("GizmoDecal"), EditorStringName(EditorIcons)));