From e2d68f553815273d696a421867c01d9c29a4f90b Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 30 Sep 2013 14:03:02 -0700 Subject: [PATCH] have DS clear config file is new config is passed --- domain-server/src/DomainServer.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/domain-server/src/DomainServer.cpp b/domain-server/src/DomainServer.cpp index 40c4df68cf..056b4c549b 100644 --- a/domain-server/src/DomainServer.cpp +++ b/domain-server/src/DomainServer.cpp @@ -346,7 +346,13 @@ int DomainServer::run() { nodeList->startSilentNodeRemovalThread(); - if (!_staticAssignmentFile.exists()) { + if (!_staticAssignmentFile.exists() || _voxelServerConfig) { + + if (_voxelServerConfig) { + // we have a new VS config, clear the existing file to start fresh + _staticAssignmentFile.remove(); + }ga + prepopulateStaticAssignmentFile(); }