mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
give MouseRayPickResultOperator and SetPrecisionPickingOperator default values to avoid crash on startup
This commit is contained in:
parent
d675ee9427
commit
b9c68f9156
1 changed files with 5 additions and 0 deletions
|
@ -47,6 +47,11 @@ EntityTreeRenderer::EntityTreeRenderer(bool wantScripts, AbstractViewStateInterf
|
|||
_displayModelBounds(false),
|
||||
_layeredZones(this)
|
||||
{
|
||||
setMouseRayPickResultOperator([&](QUuid rayPickID) {
|
||||
RayToEntityIntersectionResult entityResult;
|
||||
return entityResult;
|
||||
});
|
||||
setSetPrecisionPickingOperator([&](QUuid rayPickID, bool value) {});
|
||||
EntityRenderer::initEntityRenderers();
|
||||
_currentHoverOverEntityID = UNKNOWN_ENTITY_ID;
|
||||
_currentClickingOnEntityID = UNKNOWN_ENTITY_ID;
|
||||
|
|
Loading…
Reference in a new issue