mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 18:26:26 +02:00
Remove unnecesary debug
This commit is contained in:
parent
303026d86b
commit
90c9a82aeb
2 changed files with 1 additions and 5 deletions
|
@ -913,8 +913,6 @@ bool Model::addToScene(std::shared_ptr<render::Scene> scene, render::PendingChan
|
||||||
|
|
||||||
bool somethingAdded = false;
|
bool somethingAdded = false;
|
||||||
|
|
||||||
qDebug() << "Model::addToScene : " << this->getURL().toString();
|
|
||||||
|
|
||||||
// allow the attachments to add to scene
|
// allow the attachments to add to scene
|
||||||
foreach (Model* attachment, _attachments) {
|
foreach (Model* attachment, _attachments) {
|
||||||
bool attachementSomethingAdded = attachment->addToScene(scene, pendingChanges);
|
bool attachementSomethingAdded = attachment->addToScene(scene, pendingChanges);
|
||||||
|
@ -954,7 +952,6 @@ void Model::removeFromScene(std::shared_ptr<render::Scene> scene, render::Pendin
|
||||||
}
|
}
|
||||||
_renderItems.clear();
|
_renderItems.clear();
|
||||||
_readyWhenAdded = false;
|
_readyWhenAdded = false;
|
||||||
qDebug() << "Model::removeFromScene : " << this->getURL().toString();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Model::render(RenderArgs* renderArgs, float alpha) {
|
bool Model::render(RenderArgs* renderArgs, float alpha) {
|
||||||
|
|
|
@ -312,8 +312,7 @@ protected:
|
||||||
float getLimbLength(int jointIndex) const;
|
float getLimbLength(int jointIndex) const;
|
||||||
|
|
||||||
/// Allow sub classes to force invalidating the bboxes
|
/// Allow sub classes to force invalidating the bboxes
|
||||||
void invalidCalculatedMeshBoxes() {
|
void invalidCalculatedMeshBoxes() {
|
||||||
qDebug() << "invalidCalculatedMeshBoxes()";
|
|
||||||
_calculatedMeshBoxesValid = false;
|
_calculatedMeshBoxesValid = false;
|
||||||
_calculatedMeshPartBoxesValid = false;
|
_calculatedMeshPartBoxesValid = false;
|
||||||
_calculatedMeshTrianglesValid = false;
|
_calculatedMeshTrianglesValid = false;
|
||||||
|
|
Loading…
Reference in a new issue