mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:49:05 +02:00
Fixed unused variables warnings
This commit is contained in:
parent
98fe059d97
commit
3ae33353d9
2 changed files with 0 additions and 3 deletions
|
@ -76,7 +76,6 @@ void CauterizedModel::createRenderItemSet() {
|
||||||
// Run through all of the meshes, and place them into their segregated, but unsorted buckets
|
// Run through all of the meshes, and place them into their segregated, but unsorted buckets
|
||||||
int shapeID = 0;
|
int shapeID = 0;
|
||||||
uint32_t numMeshes = (uint32_t)meshes.size();
|
uint32_t numMeshes = (uint32_t)meshes.size();
|
||||||
const HFMModel& hfmModel = getHFMModel();
|
|
||||||
for (uint32_t i = 0; i < numMeshes; i++) {
|
for (uint32_t i = 0; i < numMeshes; i++) {
|
||||||
const auto& mesh = meshes.at(i);
|
const auto& mesh = meshes.at(i);
|
||||||
if (!mesh) {
|
if (!mesh) {
|
||||||
|
|
|
@ -1477,7 +1477,6 @@ void Model::createRenderItemSet() {
|
||||||
// Run through all of the meshes, and place them into their segregated, but unsorted buckets
|
// Run through all of the meshes, and place them into their segregated, but unsorted buckets
|
||||||
int shapeID = 0;
|
int shapeID = 0;
|
||||||
uint32_t numMeshes = (uint32_t)meshes.size();
|
uint32_t numMeshes = (uint32_t)meshes.size();
|
||||||
auto& hfmModel = getHFMModel();
|
|
||||||
for (uint32_t i = 0; i < numMeshes; i++) {
|
for (uint32_t i = 0; i < numMeshes; i++) {
|
||||||
const auto& mesh = meshes.at(i);
|
const auto& mesh = meshes.at(i);
|
||||||
if (!mesh) {
|
if (!mesh) {
|
||||||
|
@ -1735,7 +1734,6 @@ void Blender::run() {
|
||||||
DETAILED_PROFILE_RANGE_EX(simulation_animation, __FUNCTION__, 0xFFFF0000, 0, { { "url", _model->getURL().toString() } });
|
DETAILED_PROFILE_RANGE_EX(simulation_animation, __FUNCTION__, 0xFFFF0000, 0, { { "url", _model->getURL().toString() } });
|
||||||
int numBlendshapeOffsets = 0; // number of offsets required for all meshes.
|
int numBlendshapeOffsets = 0; // number of offsets required for all meshes.
|
||||||
int numMeshes = 0; // number of meshes in this model.
|
int numMeshes = 0; // number of meshes in this model.
|
||||||
int maxVertsInMesh = 0; // number of vertices in the largest mesh.
|
|
||||||
for (auto meshIter = _hfmModel->meshes.cbegin(); meshIter != _hfmModel->meshes.cend(); ++meshIter) {
|
for (auto meshIter = _hfmModel->meshes.cbegin(); meshIter != _hfmModel->meshes.cend(); ++meshIter) {
|
||||||
numMeshes++;
|
numMeshes++;
|
||||||
int numVertsInMesh = meshIter->vertices.size();
|
int numVertsInMesh = meshIter->vertices.size();
|
||||||
|
|
Loading…
Reference in a new issue