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
5d63cf16
Unverified
Commit
5d63cf16
authored
Oct 12, 2019
by
Rémi Verschelde
Committed by
GitHub
Oct 12, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #32767 from madmiraal/body2d-can_sleep-default
Fix mismatch between RigidBody2D and Body2DSW can_sleep defaults.
parents
3ca1296b
42a9ae7a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
body_sw.cpp
servers/physics/body_sw.cpp
+1
-1
body_2d_sw.cpp
servers/physics_2d/body_2d_sw.cpp
+1
-1
No files found.
servers/physics/body_sw.cpp
View file @
5d63cf16
...
...
@@ -794,7 +794,7 @@ BodySW::BodySW() :
still_time
=
0
;
continuous_cd
=
false
;
can_sleep
=
fals
e
;
can_sleep
=
tru
e
;
fi_callback
=
NULL
;
}
...
...
servers/physics_2d/body_2d_sw.cpp
View file @
5d63cf16
...
...
@@ -694,7 +694,7 @@ Body2DSW::Body2DSW() :
still_time
=
0
;
continuous_cd_mode
=
Physics2DServer
::
CCD_MODE_DISABLED
;
can_sleep
=
fals
e
;
can_sleep
=
tru
e
;
fi_callback
=
NULL
;
}
...
...
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