remove unneeded bind-by-ref thing from lambdas

This commit is contained in:
Seth Alves 2017-08-28 17:08:59 -07:00
parent 35459a7b93
commit b8795c3ea9

View file

@ -55,11 +55,11 @@ EntityTreeRenderer::EntityTreeRenderer(bool wantScripts, AbstractViewStateInterf
_displayModelBounds(false),
_layeredZones(this)
{
setMouseRayPickResultOperator([&](QUuid rayPickID) {
setMouseRayPickResultOperator([](QUuid rayPickID) {
RayToEntityIntersectionResult entityResult;
return entityResult;
});
setSetPrecisionPickingOperator([&](QUuid rayPickID, bool value) {});
setSetPrecisionPickingOperator([](QUuid rayPickID, bool value) {});
EntityRenderer::initEntityRenderers();
REGISTER_ENTITY_TYPE_WITH_FACTORY(Model, RenderableModelEntityItem::factory)