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/fog_volume_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/fog_volume_gizmo_plugin.cpp')
-rw-r--r-- | editor/plugins/gizmos/fog_volume_gizmo_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/gizmos/fog_volume_gizmo_plugin.cpp b/editor/plugins/gizmos/fog_volume_gizmo_plugin.cpp index 931a738aa2..b7bba8f8d7 100644 --- a/editor/plugins/gizmos/fog_volume_gizmo_plugin.cpp +++ b/editor/plugins/gizmos/fog_volume_gizmo_plugin.cpp @@ -38,7 +38,7 @@ #include "scene/3d/fog_volume.h" FogVolumeGizmoPlugin::FogVolumeGizmoPlugin() { - Color gizmo_color = EDITOR_DEF("editors/3d_gizmos/gizmo_colors/fog_volume", Color(0.5, 0.7, 1)); + Color gizmo_color = EDITOR_DEF_RST("editors/3d_gizmos/gizmo_colors/fog_volume", Color(0.5, 0.7, 1)); create_material("shape_material", gizmo_color); gizmo_color.a = 0.15; create_material("shape_material_internal", gizmo_color); |