diff options
| author | Juan Linietsky | 2017-06-07 18:18:55 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-06-07 18:20:04 -0300 |
| commit | 5bf810b5db953d3f58acdd2d05d5410897f41d63 (patch) | |
| tree | 15497d5b43527c997abb5c50bcba2675704431dc /editor/plugins/spatial_editor_plugin.cpp | |
| parent | 5f5d629c8ad654fddbf17850c6fad2999d10daf7 (diff) | |
| download | godot-5bf810b5db953d3f58acdd2d05d5410897f41d63.tar.gz godot-5bf810b5db953d3f58acdd2d05d5410897f41d63.tar.zst godot-5bf810b5db953d3f58acdd2d05d5410897f41d63.zip | |
Diffstat (limited to 'editor/plugins/spatial_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/spatial_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 3536ecd09..61f688043 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -3055,8 +3055,8 @@ void SpatialEditor::_init_indicators() { for (int i = 0; i < 3; i++) { - move_gizmo[i] = Ref<Mesh>(memnew(Mesh)); - rotate_gizmo[i] = Ref<Mesh>(memnew(Mesh)); + move_gizmo[i] = Ref<ArrayMesh>(memnew(ArrayMesh)); + rotate_gizmo[i] = Ref<ArrayMesh>(memnew(ArrayMesh)); Ref<SpatialMaterial> mat = memnew(SpatialMaterial); mat->set_flag(SpatialMaterial::FLAG_UNSHADED, true); |
