mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 05:17:02 +02:00
remove unneeded bind-by-ref thing from lambdas
This commit is contained in:
parent
35459a7b93
commit
b8795c3ea9
1 changed files with 2 additions and 2 deletions
|
@ -55,11 +55,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();
|
||||||
|
|
||||||
REGISTER_ENTITY_TYPE_WITH_FACTORY(Model, RenderableModelEntityItem::factory)
|
REGISTER_ENTITY_TYPE_WITH_FACTORY(Model, RenderableModelEntityItem::factory)
|
||||||
|
|
Loading…
Reference in a new issue