Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
aba15786
Unverified
Commit
aba15786
authored
Oct 02, 2019
by
Hugo Locurcio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing semicolons to `BIND_ENUM_CONSTANT` macro uses
parent
09bf1b35
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
jsonrpc.cpp
modules/jsonrpc/jsonrpc.cpp
+5
-5
camera.cpp
scene/3d/camera.cpp
+3
-3
animation_blend_tree.cpp
scene/animation/animation_blend_tree.cpp
+2
-2
No files found.
modules/jsonrpc/jsonrpc.cpp
View file @
aba15786
...
...
@@ -47,11 +47,11 @@ void JSONRPC::_bind_methods() {
ClassDB
::
bind_method
(
D_METHOD
(
"make_notification"
,
"method"
,
"params"
),
&
JSONRPC
::
make_notification
);
ClassDB
::
bind_method
(
D_METHOD
(
"make_response_error"
,
"code"
,
"message"
,
"id"
),
&
JSONRPC
::
make_response_error
,
DEFVAL
(
Variant
()));
BIND_ENUM_CONSTANT
(
PARSE_ERROR
)
BIND_ENUM_CONSTANT
(
INVALID_REQUEST
)
BIND_ENUM_CONSTANT
(
METHOD_NOT_FOUND
)
BIND_ENUM_CONSTANT
(
INVALID_PARAMS
)
BIND_ENUM_CONSTANT
(
INTERNAL_ERROR
)
BIND_ENUM_CONSTANT
(
PARSE_ERROR
)
;
BIND_ENUM_CONSTANT
(
INVALID_REQUEST
)
;
BIND_ENUM_CONSTANT
(
METHOD_NOT_FOUND
)
;
BIND_ENUM_CONSTANT
(
INVALID_PARAMS
)
;
BIND_ENUM_CONSTANT
(
INTERNAL_ERROR
)
;
}
Dictionary
JSONRPC
::
make_response_error
(
int
p_code
,
const
String
&
p_message
,
const
Variant
&
p_id
)
const
{
...
...
scene/3d/camera.cpp
View file @
aba15786
...
...
@@ -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
{
...
...
scene/animation/animation_blend_tree.cpp
View file @
aba15786
...
...
@@ -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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment