summaryrefslogtreecommitdiff
path: root/servers/visual
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-03-03 12:45:20 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-03-03 12:45:20 +0100
commit467f18b738d0eabf57f6dddf333869a155b6906a (patch)
tree66f018ee2954f1acb9c3a37653be546b98441446 /servers/visual
parentc0e1c66e3def1383fb373454fe98de228b153159 (diff)
Fix style issues from recent commits
Diffstat (limited to 'servers/visual')
-rw-r--r--servers/visual/visual_server_canvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual/visual_server_canvas.cpp b/servers/visual/visual_server_canvas.cpp
index 2b5afb9cdd..85dcaa6b03 100644
--- a/servers/visual/visual_server_canvas.cpp
+++ b/servers/visual/visual_server_canvas.cpp
@@ -759,7 +759,7 @@ void VisualServerCanvas::canvas_item_add_triangle_array(RID p_item, const Vector
ERR_FAIL_COND(!canvas_item);
int vertex_count = p_points.size();
- ERR_FAIL_COND(vertex_count==0);
+ ERR_FAIL_COND(vertex_count == 0);
ERR_FAIL_COND(!p_colors.empty() && p_colors.size() != vertex_count && p_colors.size() != 1);
ERR_FAIL_COND(!p_uvs.empty() && p_uvs.size() != vertex_count);
ERR_FAIL_COND(!p_bones.empty() && p_bones.size() != vertex_count * 4);