mirror of
https://github.com/JulianGro/overte.git
synced 2025-06-04 20:02:05 +02:00
changed the fix so that we allow the root to be child
This commit is contained in:
parent
93d7a4ae3b
commit
9d739277c8
1 changed files with 1 additions and 0 deletions
|
@ -1162,6 +1162,7 @@ HFMModel* FBXSerializer::extractHFMModel(const QVariantHash& mapping, const QStr
|
||||||
if (_connectionParentMap.value(getID(connection.properties, 1)) == "0") {
|
if (_connectionParentMap.value(getID(connection.properties, 1)) == "0") {
|
||||||
// don't assign the new parent
|
// don't assign the new parent
|
||||||
qCDebug(modelformat) << "root node " << getID(connection.properties, 1) << " has discarded parent " << getID(connection.properties, 2);
|
qCDebug(modelformat) << "root node " << getID(connection.properties, 1) << " has discarded parent " << getID(connection.properties, 2);
|
||||||
|
_connectionChildMap.insert(getID(connection.properties, 2), getID(connection.properties, 1));
|
||||||
} else {
|
} else {
|
||||||
_connectionParentMap.insert(getID(connection.properties, 1), getID(connection.properties, 2));
|
_connectionParentMap.insert(getID(connection.properties, 1), getID(connection.properties, 2));
|
||||||
_connectionChildMap.insert(getID(connection.properties, 2), getID(connection.properties, 1));
|
_connectionChildMap.insert(getID(connection.properties, 2), getID(connection.properties, 1));
|
||||||
|
|
Loading…
Reference in a new issue