mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 08:03:34 +02:00
elevate permissions required for mute environment
This commit is contained in:
parent
f5fd4bf8d1
commit
f56a5d1d98
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ void AudioMixer::handleNodeAudioPacket(QSharedPointer<ReceivedMessage> message,
|
||||||
void AudioMixer::handleMuteEnvironmentPacket(QSharedPointer<ReceivedMessage> message, SharedNodePointer sendingNode) {
|
void AudioMixer::handleMuteEnvironmentPacket(QSharedPointer<ReceivedMessage> message, SharedNodePointer sendingNode) {
|
||||||
auto nodeList = DependencyManager::get<NodeList>();
|
auto nodeList = DependencyManager::get<NodeList>();
|
||||||
|
|
||||||
if (sendingNode->isAllowedEditor()) {
|
if (sendingNode->getCanKick()) {
|
||||||
glm::vec3 position;
|
glm::vec3 position;
|
||||||
float radius;
|
float radius;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue