summaryrefslogtreecommitdiff
path: root/scene/3d/spring_arm.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-09-28 21:39:04 +0200
committerGitHub <noreply@github.com>2018-09-28 21:39:04 +0200
commit40c3c8745df3d08065802762e236beeaa6aa1345 (patch)
tree24307e256b9c6cd973e5332b4b5b1959f1a10419 /scene/3d/spring_arm.cpp
parentdea0f69296f248d3294bdf11bd77eba212ce7d6c (diff)
parent2091f204432d58f20a642bf9fab83a6d08a65084 (diff)
Merge pull request #22516 from akien-mga/fix-warnings
Fix warnings about wrong member initialization order [-Wreorder]
Diffstat (limited to 'scene/3d/spring_arm.cpp')
-rw-r--r--scene/3d/spring_arm.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/3d/spring_arm.cpp b/scene/3d/spring_arm.cpp
index 818e7f9217..f74784c2f9 100644
--- a/scene/3d/spring_arm.cpp
+++ b/scene/3d/spring_arm.cpp
@@ -36,8 +36,9 @@
SpringArm::SpringArm() :
spring_length(1),
- mask(1),
current_spring_length(0),
+ keep_child_basis(false),
+ mask(1),
margin(0.01) {}
void SpringArm::_notification(int p_what) {