mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 20:58:38 +02:00
fallback to SIMPLE_COMPOUND when can't do COMPOUND
This commit is contained in:
parent
26f5d3cfaa
commit
3b772d2fe6
1 changed files with 2 additions and 2 deletions
|
@ -282,8 +282,8 @@ ShapeType ModelEntityItem::computeTrueShapeType() const {
|
||||||
type = SHAPE_TYPE_COMPOUND;
|
type = SHAPE_TYPE_COMPOUND;
|
||||||
}
|
}
|
||||||
if (type == SHAPE_TYPE_COMPOUND && !hasCompoundShapeURL()) {
|
if (type == SHAPE_TYPE_COMPOUND && !hasCompoundShapeURL()) {
|
||||||
// no compoundURL set --> fall back to NONE
|
// no compoundURL set --> fall back to SIMPLE_COMPOUND
|
||||||
type = SHAPE_TYPE_NONE;
|
type = SHAPE_TYPE_SIMPLE_COMPOUND;
|
||||||
}
|
}
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue