diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-24 07:59:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 07:59:56 +0100 |
commit | 96e70ac5f4f477eee3866ea788389a87d0dbd086 (patch) | |
tree | 21fb39b40de2674a99018d88e142e6f0196c68b0 /editor/plugins/visual_shader_editor_plugin.cpp | |
parent | 5efe80f3085c8c6451363fe4c743bf3d7fc20b6c (diff) | |
parent | e078f970db0e72bcc665d714416e6fc74e8434a6 (diff) |
Merge pull request #50139 from LightningAA/rename-remove-to-remove-at
Rename `remove()` to `remove_at()` when removing by index
Diffstat (limited to 'editor/plugins/visual_shader_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/visual_shader_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp index b1a9da9e26..da73fc093c 100644 --- a/editor/plugins/visual_shader_editor_plugin.cpp +++ b/editor/plugins/visual_shader_editor_plugin.cpp @@ -1061,7 +1061,7 @@ void VisualShaderEditor::remove_plugin(const Ref<VisualShaderNodePlugin> &p_plug void VisualShaderEditor::clear_custom_types() { for (int i = 0; i < add_options.size(); i++) { if (add_options[i].is_custom) { - add_options.remove(i); + add_options.remove_at(i); i--; } } |