Merge pull request #9573 from birarda/bug/whitelist-starts-with

drop empty parts when splitting script whitelist
This commit is contained in:
Brad Hefta-Gaub 2017-02-01 07:38:02 -08:00 committed by GitHub
commit 0c7a181d33

View file

@ -64,7 +64,7 @@ EntityTree::~EntityTree() {
}
void EntityTree::setEntityScriptSourceWhitelist(const QString& entityScriptSourceWhitelist) {
_entityScriptSourceWhitelist = entityScriptSourceWhitelist.split(',');
_entityScriptSourceWhitelist = entityScriptSourceWhitelist.split(',', QString::SkipEmptyParts);
}