Film implementations: don't write bitmap output files if destFile=''

metadata
Wenzel Jakob 2013-11-20 23:32:00 +01:00
parent 0e15285403
commit 0492cc81d3
3 changed files with 9 additions and 0 deletions

View File

@ -398,6 +398,9 @@ public:
}
void develop(const Scene *scene, Float renderTime) {
if (m_destFile.empty())
return;
Log(EDebug, "Developing film ..");
ref<Bitmap> bitmap = m_storage->getBitmap()->convert(

View File

@ -298,6 +298,9 @@ public:
}
void develop(const Scene *scene, Float renderTime) {
if (m_destFile.empty())
return;
Log(EDebug, "Developing film ..");
ref<Bitmap> bitmap = m_storage->getBitmap();

View File

@ -239,6 +239,9 @@ public:
}
void develop(const Scene *scene, Float renderTime) {
if (m_destFile.empty())
return;
Log(EDebug, "Developing film ..");
fs::path filename = m_destFile;