mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:04:13 +02:00
replace some logging with an assert
This commit is contained in:
parent
b873d92469
commit
cf9af462b5
1 changed files with 1 additions and 3 deletions
|
@ -241,9 +241,7 @@ void ObjectAction::activateBody(bool forceActivation) {
|
|||
auto rigidBody = getRigidBody();
|
||||
if (rigidBody) {
|
||||
rigidBody->activate(forceActivation);
|
||||
if (! rigidBody->isActive()) {
|
||||
qDebug() << "ObjectAction::activateBody -- rigidBody->activate() failed" << (void*)rigidBody;
|
||||
}
|
||||
assert(rigidBody->isActive());
|
||||
} else {
|
||||
qDebug() << "ObjectAction::activateBody -- no rigid body" << (void*)rigidBody;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue