diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-02 11:53:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-02 11:53:19 +0200 |
commit | 42fca4ba27a7fe439ee0b88acf4282cfd65ed1d4 (patch) | |
tree | d0b6453a926e09735f0afede58258586746af20d /scene | |
parent | b7468a070b4db5118c700c1e9a21ac8f9ac5fa1e (diff) | |
parent | aba157865a769a55faae8d41e0bb0337d4bf6407 (diff) |
Merge pull request #32485 from Calinou/macros-add-semicolons
Add missing semicolons to `BIND_ENUM_CONSTANT` macro uses
Diffstat (limited to 'scene')
-rw-r--r-- | scene/3d/camera.cpp | 6 | ||||
-rw-r--r-- | scene/animation/animation_blend_tree.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/scene/3d/camera.cpp b/scene/3d/camera.cpp index 9f8510248c..9797b5f3ab 100644 --- a/scene/3d/camera.cpp +++ b/scene/3d/camera.cpp @@ -548,9 +548,9 @@ void Camera::_bind_methods() { BIND_ENUM_CONSTANT(KEEP_WIDTH); BIND_ENUM_CONSTANT(KEEP_HEIGHT); - BIND_ENUM_CONSTANT(DOPPLER_TRACKING_DISABLED) - BIND_ENUM_CONSTANT(DOPPLER_TRACKING_IDLE_STEP) - BIND_ENUM_CONSTANT(DOPPLER_TRACKING_PHYSICS_STEP) + BIND_ENUM_CONSTANT(DOPPLER_TRACKING_DISABLED); + BIND_ENUM_CONSTANT(DOPPLER_TRACKING_IDLE_STEP); + BIND_ENUM_CONSTANT(DOPPLER_TRACKING_PHYSICS_STEP); } float Camera::get_fov() const { diff --git a/scene/animation/animation_blend_tree.cpp b/scene/animation/animation_blend_tree.cpp index 20a09696e1..6f67d01a1c 100644 --- a/scene/animation/animation_blend_tree.cpp +++ b/scene/animation/animation_blend_tree.cpp @@ -350,8 +350,8 @@ void AnimationNodeOneShot::_bind_methods() { ADD_GROUP("", ""); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "sync"), "set_use_sync", "is_using_sync"); - BIND_ENUM_CONSTANT(MIX_MODE_BLEND) - BIND_ENUM_CONSTANT(MIX_MODE_ADD) + BIND_ENUM_CONSTANT(MIX_MODE_BLEND); + BIND_ENUM_CONSTANT(MIX_MODE_ADD); } AnimationNodeOneShot::AnimationNodeOneShot() { |