mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-12 22:13:13 +02:00
Another fix for Blender exports. Closes #1762.
This commit is contained in:
parent
181670f5d7
commit
78d9b79805
1 changed files with 5 additions and 0 deletions
|
@ -1121,6 +1121,11 @@ FBXGeometry extractFBXGeometry(const FBXNode& node, const QVariantHash& mapping)
|
|||
QVector<QString> modelIDs;
|
||||
QSet<QString> remainingModels;
|
||||
for (QHash<QString, FBXModel>::const_iterator model = models.constBegin(); model != models.constEnd(); model++) {
|
||||
// make sure the parent is in the child map
|
||||
QString parent = parentMap.value(model.key());
|
||||
if (!childMap.contains(parent, model.key())) {
|
||||
childMap.insert(parent, model.key());
|
||||
}
|
||||
remainingModels.insert(model.key());
|
||||
}
|
||||
while (!remainingModels.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue