summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-09-12 11:16:36 +0200
committerGitHub <noreply@github.com>2017-09-12 11:16:36 +0200
commit3941e01a57653e6b2edb8f056f657f4ae9d569b0 (patch)
tree187dcae4f455608e2c2edf9bd9ecb71454b43209 /scene/main
parentcbe7c23afe0910e9ee50e198fdb3170214315ed7 (diff)
parent5e18967d7730f162aa111b2972e3fdc80ee52579 (diff)
Merge pull request #11041 from hpvb/fix-clang-format-error
Fix serveral recent new clang-format errors [ci skip]
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/viewport.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp
index 434d594bbb..567b1dd7a1 100644
--- a/scene/main/viewport.cpp
+++ b/scene/main/viewport.cpp
@@ -2580,7 +2580,7 @@ int Viewport::get_render_info(RenderInfo p_info) {
void Viewport::set_snap_controls_to_pixels(bool p_enable) {
- snap_controls_to_pixels=p_enable;
+ snap_controls_to_pixels = p_enable;
}
bool Viewport::is_snap_controls_to_pixels_enabled() const {
@@ -2588,7 +2588,6 @@ bool Viewport::is_snap_controls_to_pixels_enabled() const {
return snap_controls_to_pixels;
}
-
void Viewport::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_use_arvr", "use"), &Viewport::set_use_arvr);