summaryrefslogtreecommitdiffstats
path: root/editor/plugins/collision_polygon_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/collision_polygon_editor_plugin.h')
-rw-r--r--editor/plugins/collision_polygon_editor_plugin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/collision_polygon_editor_plugin.h b/editor/plugins/collision_polygon_editor_plugin.h
index 1871c6ee7e..3b6c25ac17 100644
--- a/editor/plugins/collision_polygon_editor_plugin.h
+++ b/editor/plugins/collision_polygon_editor_plugin.h
@@ -57,8 +57,8 @@ class Polygon3DEditor : public HBoxContainer {
ToolButton *button_create;
ToolButton *button_edit;
- Ref<SpatialMaterial> line_material;
- Ref<SpatialMaterial> handle_material;
+ Ref<StandardMaterial3D> line_material;
+ Ref<StandardMaterial3D> handle_material;
EditorNode *editor;
Panel *panel;