You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add "Mute Audio" button to Game view in editor
Update servers/audio_server.cpp Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Apply suggestions from code review Co-authored-by: Adam Scott <ascott.ca@gmail.com> Fix a few lines for new member names Add command-line argument `--debug-mute-audio`, and pass it to game if started with mute enabled Apply suggestions from code review Co-authored-by: arkology <43543909+arkology@users.noreply.github.com> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com> Fix icon for svgo
This commit is contained in:
@@ -1542,6 +1542,17 @@ void ScriptEditorDebugger::live_debug_reparent_node(const NodePath &p_at, const
|
||||
}
|
||||
}
|
||||
|
||||
bool ScriptEditorDebugger::get_debug_mute_audio() const {
|
||||
return debug_mute_audio;
|
||||
}
|
||||
|
||||
void ScriptEditorDebugger::set_debug_mute_audio(bool p_mute) {
|
||||
Array msg;
|
||||
msg.push_back(p_mute);
|
||||
_put_msg("scene:debug_mute_audio", msg);
|
||||
debug_mute_audio = p_mute;
|
||||
}
|
||||
|
||||
CameraOverride ScriptEditorDebugger::get_camera_override() const {
|
||||
return camera_override;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user