mirror of
https://github.com/overte-org/overte.git
synced 2025-06-28 16:49:47 +02:00
assert NULL EntityItem::_physicsInfo in dtor
This commit is contained in:
parent
213133c705
commit
97f44b64fc
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ EntityItem::EntityItem(const EntityItemID& entityItemID, const EntityItemPropert
|
||||||
}
|
}
|
||||||
|
|
||||||
EntityItem::~EntityItem() {
|
EntityItem::~EntityItem() {
|
||||||
|
// be sure to clean up _physicsInfo before calling this dtor
|
||||||
|
assert(_physicsInfo == NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
EntityPropertyFlags EntityItem::getEntityProperties(EncodeBitstreamParams& params) const {
|
EntityPropertyFlags EntityItem::getEntityProperties(EncodeBitstreamParams& params) const {
|
||||||
|
|
Loading…
Reference in a new issue