remove unneeded bind-by-ref thing from lambdas

This commit is contained in:
Seth Alves 2017-08-28 17:08:59 -07:00
parent b9c68f9156
commit 7220a6998a

View file

@ -47,11 +47,11 @@ EntityTreeRenderer::EntityTreeRenderer(bool wantScripts, AbstractViewStateInterf
_displayModelBounds(false), _displayModelBounds(false),
_layeredZones(this) _layeredZones(this)
{ {
setMouseRayPickResultOperator([&](QUuid rayPickID) { setMouseRayPickResultOperator([](QUuid rayPickID) {
RayToEntityIntersectionResult entityResult; RayToEntityIntersectionResult entityResult;
return entityResult; return entityResult;
}); });
setSetPrecisionPickingOperator([&](QUuid rayPickID, bool value) {}); setSetPrecisionPickingOperator([](QUuid rayPickID, bool value) {});
EntityRenderer::initEntityRenderers(); EntityRenderer::initEntityRenderers();
_currentHoverOverEntityID = UNKNOWN_ENTITY_ID; _currentHoverOverEntityID = UNKNOWN_ENTITY_ID;
_currentClickingOnEntityID = UNKNOWN_ENTITY_ID; _currentClickingOnEntityID = UNKNOWN_ENTITY_ID;