mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 23:09:52 +02:00
fix crash in entity related AC scripts
This commit is contained in:
parent
2bf93bd9f0
commit
497fbade9b
1 changed files with 6 additions and 2 deletions
|
@ -19,9 +19,13 @@
|
||||||
#include "MovingEntitiesOperator.h"
|
#include "MovingEntitiesOperator.h"
|
||||||
#include "UpdateEntityOperator.h"
|
#include "UpdateEntityOperator.h"
|
||||||
|
|
||||||
EntityTree::EntityTree(bool shouldReaverage) : Octree(shouldReaverage), _simulation(NULL) {
|
EntityTree::EntityTree(bool shouldReaverage) :
|
||||||
|
Octree(shouldReaverage),
|
||||||
|
_fbxService(NULL),
|
||||||
|
_lightsArePickable(true),
|
||||||
|
_simulation(NULL)
|
||||||
|
{
|
||||||
_rootElement = createNewElement();
|
_rootElement = createNewElement();
|
||||||
_lightsArePickable = true; // assume they are by default
|
|
||||||
}
|
}
|
||||||
|
|
||||||
EntityTree::~EntityTree() {
|
EntityTree::~EntityTree() {
|
||||||
|
|
Loading…
Reference in a new issue