From f82532ddbf786bb13a73c0f27d197c202a525be1 Mon Sep 17 00:00:00 2001 From: Chrismettal Date: Mon, 12 Oct 2020 14:21:40 +0200 Subject: [PATCH] Seed randomizer on application init --- src/App/Application.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/App/Application.cpp b/src/App/Application.cpp index 2d498974de..8473f35190 100644 --- a/src/App/Application.cpp +++ b/src/App/Application.cpp @@ -2127,6 +2127,9 @@ void Application::initApplication(void) catch (const Base::Exception& e) { e.ReportException(); } + + // seed randomizer + srand(time(0)); } std::list Application::getCmdLineFiles()