added option to always use originals rather than proxies on export

This commit is contained in:
itsmattkc
2019-03-26 22:48:26 +11:00
parent 10f8a4b76a
commit cab38b5e90
5 changed files with 28 additions and 6 deletions
+3 -1
View File
@@ -39,6 +39,7 @@
#include "rendering/renderfunctions.h"
#include "global/timing.h"
#include "global/config.h"
#include "global/global.h"
#include "global/debug.h"
#include "ui/mainwindow.h"
@@ -888,7 +889,8 @@ void Cacher::OpenWorker() {
QByteArray ba;
// do we have a proxy?
if (m->proxy
if ((!olive::Global->is_exporting() || !olive::CurrentConfig.dont_use_proxies_on_export)
&& m->proxy
&& !m->proxy_path.isEmpty()
&& QFileInfo::exists(m->proxy_path)) {
ba = m->proxy_path.toUtf8();