mirror of
https://github.com/overte-org/overte.git
synced 2025-07-11 01:18:50 +02:00
26 lines
No EOL
858 B
C++
26 lines
No EOL
858 B
C++
//
|
|
// SceneScriptingInterface.cpp
|
|
// libraries/script-engine
|
|
//
|
|
// Created by Sam Gateau on 2/24/15.
|
|
// Copyright 2014 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#include "SceneScriptingInterface.h"
|
|
|
|
void SceneScriptingInterface::setShouldRenderAvatars(bool shouldRenderAvatars) {
|
|
if (shouldRenderAvatars != _shouldRenderAvatars) {
|
|
_shouldRenderAvatars = shouldRenderAvatars;
|
|
emit shouldRenderAvatarsChanged(_shouldRenderAvatars);
|
|
}
|
|
}
|
|
|
|
void SceneScriptingInterface::setShouldRenderEntities(bool shouldRenderEntities) {
|
|
if (shouldRenderEntities != _shouldRenderEntities) {
|
|
_shouldRenderEntities = shouldRenderEntities;
|
|
emit shouldRenderEntitiesChanged(_shouldRenderEntities);
|
|
}
|
|
} |