mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-24 17:15:34 +02:00
fix some xcode warnings for unnecessary captured this
This commit is contained in:
parent
3a428bc44f
commit
3a8c9de4fb
3 changed files with 3 additions and 3 deletions
|
@ -380,7 +380,7 @@ void Agent::executeScript() {
|
||||||
|
|
||||||
using namespace recording;
|
using namespace recording;
|
||||||
static const FrameType AVATAR_FRAME_TYPE = Frame::registerFrameType(AvatarData::FRAME_NAME);
|
static const FrameType AVATAR_FRAME_TYPE = Frame::registerFrameType(AvatarData::FRAME_NAME);
|
||||||
Frame::registerFrameHandler(AVATAR_FRAME_TYPE, [this, scriptedAvatar](Frame::ConstPointer frame) {
|
Frame::registerFrameHandler(AVATAR_FRAME_TYPE, [scriptedAvatar](Frame::ConstPointer frame) {
|
||||||
|
|
||||||
auto recordingInterface = DependencyManager::get<RecordingScriptingInterface>();
|
auto recordingInterface = DependencyManager::get<RecordingScriptingInterface>();
|
||||||
bool useFrameSkeleton = recordingInterface->getPlayerUseSkeletonModel();
|
bool useFrameSkeleton = recordingInterface->getPlayerUseSkeletonModel();
|
||||||
|
|
|
@ -2926,7 +2926,7 @@ void DomainServer::updateReplicatedNodes() {
|
||||||
}
|
}
|
||||||
|
|
||||||
auto nodeList = DependencyManager::get<LimitedNodeList>();
|
auto nodeList = DependencyManager::get<LimitedNodeList>();
|
||||||
nodeList->eachMatchingNode([this](const SharedNodePointer& otherNode) -> bool {
|
nodeList->eachMatchingNode([](const SharedNodePointer& otherNode) -> bool {
|
||||||
return otherNode->getType() == NodeType::Agent;
|
return otherNode->getType() == NodeType::Agent;
|
||||||
}, [this](const SharedNodePointer& otherNode) {
|
}, [this](const SharedNodePointer& otherNode) {
|
||||||
auto shouldReplicate = shouldReplicateNode(*otherNode);
|
auto shouldReplicate = shouldReplicateNode(*otherNode);
|
||||||
|
|
|
@ -266,7 +266,7 @@ bool WebEntityRenderer::buildWebSurface(const TypedEntityPointer& entity) {
|
||||||
// FIXME, the max FPS could be better managed by being dynamic (based on the number of current surfaces
|
// FIXME, the max FPS could be better managed by being dynamic (based on the number of current surfaces
|
||||||
// and the current rendering load)
|
// and the current rendering load)
|
||||||
_webSurface->setMaxFps(DEFAULT_MAX_FPS);
|
_webSurface->setMaxFps(DEFAULT_MAX_FPS);
|
||||||
QObject::connect(_webSurface.data(), &OffscreenQmlSurface::rootContextCreated, [this](QQmlContext* surfaceContext) {
|
QObject::connect(_webSurface.data(), &OffscreenQmlSurface::rootContextCreated, [](QQmlContext* surfaceContext) {
|
||||||
// FIXME - Keyboard HMD only: Possibly add "HMDinfo" object to context for WebView.qml.
|
// FIXME - Keyboard HMD only: Possibly add "HMDinfo" object to context for WebView.qml.
|
||||||
surfaceContext->setContextProperty("desktop", QVariant());
|
surfaceContext->setContextProperty("desktop", QVariant());
|
||||||
// Let us interact with the keyboard
|
// Let us interact with the keyboard
|
||||||
|
|
Loading…
Reference in a new issue