mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:37:17 +02:00
tweak log format
This commit is contained in:
parent
7866fcf78c
commit
9fae1a7edd
1 changed files with 4 additions and 2 deletions
|
@ -221,8 +221,10 @@ void PhysicalEntitySimulation::getObjectsToAddToPhysics(VectorOfMotionStates& re
|
||||||
const int MAX_HULL_POINTS = 42;
|
const int MAX_HULL_POINTS = 42;
|
||||||
if (numPoints > MAX_HULL_POINTS) {
|
if (numPoints > MAX_HULL_POINTS) {
|
||||||
glm::vec3 p = entity->getPosition();
|
glm::vec3 p = entity->getPosition();
|
||||||
qDebug() << "entity" << entity->getName() << "at <" << p.x << p.y << p.z << ">"
|
qWarning().nospace() << "convex hull with " << numPoints
|
||||||
<< "has convex hull with" << numPoints << "points";
|
<< " points for entity " << entity->getName()
|
||||||
|
<< " at <" << p.x << ", " << p.y << ", " << p.z << ">"
|
||||||
|
<< " will be reduced";
|
||||||
}
|
}
|
||||||
btCollisionShape* shape = ObjectMotionState::getShapeManager()->getShape(shapeInfo);
|
btCollisionShape* shape = ObjectMotionState::getShapeManager()->getShape(shapeInfo);
|
||||||
if (shape) {
|
if (shape) {
|
||||||
|
|
Loading…
Reference in a new issue