address @dgirardeau review

This commit is contained in:
Romain Janvier
2024-09-30 21:59:34 +02:00
parent 9a5ef82e56
commit c3f8915ce5
3 changed files with 11 additions and 11 deletions
+5 -5
View File
@@ -408,8 +408,8 @@ bool qVoxFallProcess::Compute(const qVoxFallDialog& dlg, QString& errorMessage,
mesh->merge(mesh2, false);
auto transform = qVoxFallTransform(azimuth);
mesh->applyGLTransformation_recursive(transform.matrix);
mesh1->applyGLTransformation_recursive(transform.matrix);
mesh->applyGLTransformation_recursive(&transform.matrix);
mesh1->applyGLTransformation_recursive(&transform.matrix);
mesh1->setEnabled(false);
@@ -684,7 +684,7 @@ bool qVoxFallProcess::Compute(const qVoxFallDialog& dlg, QString& errorMessage,
}
indices.clear();
}
ccGroup->applyGLTransformation_recursive(transform.inverse);
ccGroup->applyGLTransformation_recursive(&transform.inverse);
ccGroup->setVisible(true);
app->addToDB(ccGroup);
@@ -733,8 +733,8 @@ bool qVoxFallProcess::Compute(const qVoxFallDialog& dlg, QString& errorMessage,
}
//prepare export cloud
mesh1->applyGLTransformation_recursive(transform.inverse);
s_VoxFallParams.voxfall->applyGLTransformation_recursive(transform.inverse);
mesh1->applyGLTransformation_recursive(&transform.inverse);
s_VoxFallParams.voxfall->applyGLTransformation_recursive(&transform.inverse);
sfIdx = s_VoxFallParams.voxfall->getScalarFieldIndexByName(CLUSTER_SF_NAME);
s_VoxFallParams.voxfall->setCurrentDisplayedScalarField(sfIdx);;
s_VoxFallParams.voxfall->showSF(true);