Fix renderStartedObserver being called too early for Blender 3.5

This commit is contained in:
harlekin
2023-04-06 14:27:02 +02:00
parent d514c701d5
commit a123ca8cbc

View File

@@ -481,7 +481,7 @@ import java.util.regex.Pattern;
return error;
}
if (!event.isStarted() && (getProcessRender().getMemoryUsed().get() > 0 || process.getRemainingDuration() > 0)) {
if (!event.isStarted() && (getProcessRender().getMemoryUsed().get() > 0 && scenePrepStarted || process.getRemainingDuration() > 0)) {
event.doNotifyIsStarted();
}
}