aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/shader_graph_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-01-14 17:51:21 +0100
committerRémi Verschelde2017-03-18 21:05:58 +0100
commit4bfecab8138a773b4422111cd7be9e71e4052099 (patch)
treec2218ca5f3652033bd23769d23a4fe86dddaa222 /tools/editor/plugins/shader_graph_editor_plugin.cpp
parent9992509b0dd05c5e32619ed067af9e94a06d5980 (diff)
downloadgodot-4bfecab8138a773b4422111cd7be9e71e4052099.tar.gz
godot-4bfecab8138a773b4422111cd7be9e71e4052099.tar.zst
godot-4bfecab8138a773b4422111cd7be9e71e4052099.zip
Style: No break before list brace
clang-format does not handle that well *at all*. For the reference, found the relevant pieces of code with: `ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty` (cherry picked from commit 40323407df65ef8f40648c51ab9b4574ea985d7f)
Diffstat (limited to 'tools/editor/plugins/shader_graph_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/shader_graph_editor_plugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/editor/plugins/shader_graph_editor_plugin.cpp b/tools/editor/plugins/shader_graph_editor_plugin.cpp
index a2dc0595b..daec2bf50 100644
--- a/tools/editor/plugins/shader_graph_editor_plugin.cpp
+++ b/tools/editor/plugins/shader_graph_editor_plugin.cpp
@@ -463,8 +463,7 @@ void GraphCurveMapEdit::_plot_curve(const Vector2& p_a,const Vector2& p_b,const
/* compose the basis and geometry matrices */
- static const float CR_basis[4][4] =
- {
+ static const float CR_basis[4][4] = {
{ -0.5, 1.5, -1.5, 0.5 },
{ 1.0, -2.5, 2.0, -0.5 },
{ -0.5, 0.0, 0.5, 0.0 },