diff options
author | jsjtxietian <jsjtxietian@outlook.com> | 2023-10-06 15:02:03 +0800 |
---|---|---|
committer | jsjtxietian <jsjtxietian@outlook.com> | 2023-10-06 15:02:03 +0800 |
commit | b0ccd5c84f460d875d127455741d817ece6d3bed (patch) | |
tree | 14b8a3ba911a50858ad18186b384d4d18c0e96df /editor/plugins/gizmos/lightmap_gi_gizmo_plugin.cpp | |
parent | 9e455f424a635549b295272d82757c7ff99f33d7 (diff) | |
download | redot-engine-b0ccd5c84f460d875d127455741d817ece6d3bed.tar.gz |
Prompt require editor restart to user when gizmo color changed
Diffstat (limited to 'editor/plugins/gizmos/lightmap_gi_gizmo_plugin.cpp')
-rw-r--r-- | editor/plugins/gizmos/lightmap_gi_gizmo_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/gizmos/lightmap_gi_gizmo_plugin.cpp b/editor/plugins/gizmos/lightmap_gi_gizmo_plugin.cpp index 74e6e818c6..64913dc779 100644 --- a/editor/plugins/gizmos/lightmap_gi_gizmo_plugin.cpp +++ b/editor/plugins/gizmos/lightmap_gi_gizmo_plugin.cpp @@ -37,7 +37,7 @@ #include "scene/3d/lightmap_gi.h" LightmapGIGizmoPlugin::LightmapGIGizmoPlugin() { - Color gizmo_color = EDITOR_DEF("editors/3d_gizmos/gizmo_colors/lightmap_lines", Color(0.5, 0.6, 1)); + Color gizmo_color = EDITOR_DEF_RST("editors/3d_gizmos/gizmo_colors/lightmap_lines", Color(0.5, 0.6, 1)); gizmo_color.a = 0.1; create_material("lightmap_lines", gizmo_color); |