mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 16:23:39 +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;
|
||||
}
|
||||
if (type == SHAPE_TYPE_COMPOUND && !hasCompoundShapeURL()) {
|
||||
// no compoundURL set --> fall back to NONE
|
||||
type = SHAPE_TYPE_NONE;
|
||||
// no compoundURL set --> fall back to SIMPLE_COMPOUND
|
||||
type = SHAPE_TYPE_SIMPLE_COMPOUND;
|
||||
}
|
||||
return type;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue