summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-06-07 10:17:32 +0200
committerRémi Verschelde <rverschelde@gmail.com>2021-06-07 11:03:08 +0200
commitc1c76850cb47c0f8451fce6353958006e95b2cda (patch)
treeb01f1e0e1252defc5979660aa29a5c7fe641ddbd /scene/resources
parentafbabd12f3a5b83c6a9ddc4e8e43be4041b290bf (diff)
Style: Cleanup uses of double spaces between words
Or after punctuation. Tried to leave third-party stuff alone, unless it has been heavily modified for Godot.
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/material.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/material.cpp b/scene/resources/material.cpp
index 100fccc783..c2f33accee 100644
--- a/scene/resources/material.cpp
+++ b/scene/resources/material.cpp
@@ -891,7 +891,7 @@ void BaseMaterial3D::_update_shader() {
code += "\t\tfloat current_layer_depth = 0.0;\n";
code += "\t\tvec2 P = view_dir.xy * heightmap_scale;\n";
code += "\t\tvec2 delta = P / num_layers;\n";
- code += "\t\tvec2 ofs = base_uv;\n";
+ code += "\t\tvec2 ofs = base_uv;\n";
if (flags[FLAG_INVERT_HEIGHTMAP]) {
code += "\t\tfloat depth = texture(texture_heightmap, ofs).r;\n";
} else {