mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 02:03:36 +02:00
Remove unused variables when iterating through mesh nodes in FBXBaker
This commit is contained in:
parent
53429f459e
commit
b6c44ea443
1 changed files with 1 additions and 15 deletions
|
@ -123,21 +123,7 @@ void FBXBaker::rewriteAndBakeSceneModels(const QVector<hfm::Mesh>& meshes, const
|
||||||
}
|
}
|
||||||
} else if (object.name == "Model") {
|
} else if (object.name == "Model") {
|
||||||
for (FBXNode& modelChild : object.children) {
|
for (FBXNode& modelChild : object.children) {
|
||||||
bool properties = false;
|
if (modelChild.name == "Properties60" || modelChild.name == "Properties70") {
|
||||||
hifi::ByteArray propertyName;
|
|
||||||
int index;
|
|
||||||
if (modelChild.name == "Properties60") {
|
|
||||||
properties = true;
|
|
||||||
propertyName = "Property";
|
|
||||||
index = 3;
|
|
||||||
|
|
||||||
} else if (modelChild.name == "Properties70") {
|
|
||||||
properties = true;
|
|
||||||
propertyName = "P";
|
|
||||||
index = 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (properties) {
|
|
||||||
// This is a properties node
|
// This is a properties node
|
||||||
// Remove the geometric transform because that has been applied directly to the vertices in FBXSerializer
|
// Remove the geometric transform because that has been applied directly to the vertices in FBXSerializer
|
||||||
static const QVariant GEOMETRIC_TRANSLATION = hifi::ByteArray("GeometricTranslation");
|
static const QVariant GEOMETRIC_TRANSLATION = hifi::ByteArray("GeometricTranslation");
|
||||||
|
|
Loading…
Reference in a new issue