mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
Adapt to the *other* kind of cluster.
This commit is contained in:
parent
ea50d6f22e
commit
ec17b80b52
1 changed files with 2 additions and 1 deletions
|
@ -830,7 +830,8 @@ FBXGeometry extractFBXGeometry(const FBXNode& node, const QVariantHash& mapping)
|
|||
materials.insert(object.properties.at(0).toString(), material);
|
||||
|
||||
} else if (object.name == "Deformer") {
|
||||
if (object.properties.at(2) == "Cluster") {
|
||||
if ((object.properties.size() == 3 && object.properties.at(2) == "Cluster") ||
|
||||
(object.properties.size() == 2 && object.properties.at(1) == "Cluster")) {
|
||||
Cluster cluster;
|
||||
foreach (const FBXNode& subobject, object.children) {
|
||||
if (subobject.name == "Indexes") {
|
||||
|
|
Loading…
Reference in a new issue