diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-10-29 21:02:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-29 21:02:16 +0100 |
commit | 6bdcaff1e2bb86f119291f5a4932f27276762345 (patch) | |
tree | 4f37d32ecfe98e4697eef4cca7ee67f18814d414 | |
parent | 5bb7c7c367c1df7257164053b85d01dcf1406f45 (diff) | |
parent | 4b74019ca3f5e7dbdcd0d9875d4bb48e500b3a9c (diff) |
Merge pull request #43191 from YeldhamDev/poly2deditor_move_button_fix
Fix "Move Points" button sometimes not showing up on UV mode in the Polygon2D editor
-rw-r--r-- | editor/plugins/polygon_2d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/polygon_2d_editor_plugin.cpp b/editor/plugins/polygon_2d_editor_plugin.cpp index ac90ee9570..23c358a797 100644 --- a/editor/plugins/polygon_2d_editor_plugin.cpp +++ b/editor/plugins/polygon_2d_editor_plugin.cpp @@ -199,7 +199,7 @@ void Polygon2DEditor::_uv_edit_mode_select(int p_mode) { uv_button[UV_MODE_CREATE]->hide(); uv_button[UV_MODE_CREATE_INTERNAL]->hide(); uv_button[UV_MODE_REMOVE_INTERNAL]->hide(); - for (int i = UV_MODE_MOVE; i <= UV_MODE_SCALE; i++) { + for (int i = UV_MODE_EDIT_POINT; i <= UV_MODE_SCALE; i++) { uv_button[i]->show(); } uv_button[UV_MODE_ADD_POLYGON]->hide(); |