summaryrefslogtreecommitdiffstats
path: root/editor/plugins/gizmos/decal_gizmo_plugin.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-06-21 12:47:17 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-09-12 15:34:49 +0200
commitdd6443193cbf249c686105c20481283ec63a5f45 (patch)
tree06fa152dd04aab2b28f2d4135c08195a488c2a21 /editor/plugins/gizmos/decal_gizmo_plugin.cpp
parent83d54ab2ad476ae265b323c2b88f4623b922f4c6 (diff)
downloadredot-engine-dd6443193cbf249c686105c20481283ec63a5f45.tar.gz
[Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
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 f2b44790ee..b619c3a1dd 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_RST("editors/3d_gizmos/gizmo_colors/decal", Color(0.6, 0.5, 1.0));
+ Color gizmo_color = EDITOR_GET("editors/3d_gizmos/gizmo_colors/decal");
create_icon_material("decal_icon", EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("GizmoDecal"), EditorStringName(EditorIcons)));