mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 16:46:49 +02:00
avoid crash on startup
This commit is contained in:
parent
e83922f9e4
commit
697369dece
1 changed files with 1 additions and 1 deletions
|
@ -1443,7 +1443,7 @@ void RenderablePolyVoxEntityItem::bonkNeighbors() {
|
|||
|
||||
void RenderablePolyVoxEntityItem::locationChanged(bool tellPhysics) {
|
||||
EntityItem::locationChanged(tellPhysics);
|
||||
if (!render::Item::isValidID(_myItem)) {
|
||||
if (!_pipeline || !render::Item::isValidID(_myItem)) {
|
||||
return;
|
||||
}
|
||||
render::ScenePointer scene = AbstractViewStateInterface::instance()->getMain3DScene();
|
||||
|
|
Loading…
Reference in a new issue