mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 00:09:50 +02:00
Fix mis-renamed method names
This commit is contained in:
parent
7a4787a79c
commit
84869c512b
1 changed files with 2 additions and 2 deletions
|
@ -228,7 +228,7 @@ void PhysicsEngine::removeContacts(ObjectMotionState* motionState) {
|
||||||
|
|
||||||
void PhysicsEngine::stepSimulation() {
|
void PhysicsEngine::stepSimulation() {
|
||||||
CProfileManager::Reset();
|
CProfileManager::Reset();
|
||||||
BT_PROFILE("stepSimulationWithSubstepCallback");
|
BT_PROFILE("stepSimulation");
|
||||||
// NOTE: the grand order of operations is:
|
// NOTE: the grand order of operations is:
|
||||||
// (1) pull incoming changes
|
// (1) pull incoming changes
|
||||||
// (2) step simulation
|
// (2) step simulation
|
||||||
|
@ -241,7 +241,7 @@ void PhysicsEngine::stepSimulation() {
|
||||||
float timeStep = btMin(dt, MAX_TIMESTEP);
|
float timeStep = btMin(dt, MAX_TIMESTEP);
|
||||||
|
|
||||||
if (_myAvatarController) {
|
if (_myAvatarController) {
|
||||||
// ADEBUG TODO: move this stuff outside and in front of stepSimulationWithSubstepCallback, because
|
// ADEBUG TODO: move this stuff outside and in front of stepSimulation, because
|
||||||
// the updateShapeIfNecessary() call needs info from MyAvatar and should
|
// the updateShapeIfNecessary() call needs info from MyAvatar and should
|
||||||
// be done on the main thread during the pre-simulation stuff
|
// be done on the main thread during the pre-simulation stuff
|
||||||
if (_myAvatarController->needsRemoval()) {
|
if (_myAvatarController->needsRemoval()) {
|
||||||
|
|
Loading…
Reference in a new issue