summaryrefslogtreecommitdiffstats
path: root/editor/plugins/gizmos/gpu_particles_3d_gizmo_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-13 11:21:32 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-13 11:21:32 +0200
commit04456cf42d852eb5772af7c859550b7ac1ccc13b (patch)
tree39fbdf3c476b16cb16db3fa51673fa320b9d9700 /editor/plugins/gizmos/gpu_particles_3d_gizmo_plugin.cpp
parent5a56d11ad14b7d5a5e446595f21a9b4c748942af (diff)
parentdd6443193cbf249c686105c20481283ec63a5f45 (diff)
downloadredot-engine-04456cf42d852eb5772af7c859550b7ac1ccc13b.tar.gz
Merge pull request #93427 from AThousandShips/editor_setting_doc
[Editor] Expose more editor settings to documentation
Diffstat (limited to 'editor/plugins/gizmos/gpu_particles_3d_gizmo_plugin.cpp')
-rw-r--r--editor/plugins/gizmos/gpu_particles_3d_gizmo_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/gizmos/gpu_particles_3d_gizmo_plugin.cpp b/editor/plugins/gizmos/gpu_particles_3d_gizmo_plugin.cpp
index 39bfed93b0..d2a90ae57c 100644
--- a/editor/plugins/gizmos/gpu_particles_3d_gizmo_plugin.cpp
+++ b/editor/plugins/gizmos/gpu_particles_3d_gizmo_plugin.cpp
@@ -38,7 +38,7 @@
#include "scene/3d/gpu_particles_3d.h"
GPUParticles3DGizmoPlugin::GPUParticles3DGizmoPlugin() {
- Color gizmo_color = EDITOR_DEF_RST("editors/3d_gizmos/gizmo_colors/particles", Color(0.8, 0.7, 0.4));
+ Color gizmo_color = EDITOR_GET("editors/3d_gizmos/gizmo_colors/particles");
create_material("particles_material", gizmo_color);
gizmo_color.a = MAX((gizmo_color.a - 0.2) * 0.02, 0.0);
create_icon_material("particles_icon", EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("GizmoGPUParticles3D"), EditorStringName(EditorIcons)));