mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 16:14:23 +02:00
Remove 'EntityID' from entity script filename
This commit is contained in:
parent
667a737018
commit
e3be333144
1 changed files with 1 additions and 1 deletions
|
@ -1329,7 +1329,7 @@ void ScriptEngine::entityScriptContentAvailable(const EntityItemID& entityID, co
|
|||
|
||||
auto scriptCache = DependencyManager::get<ScriptCache>();
|
||||
bool isFileUrl = isURL && scriptOrURL.startsWith("file://");
|
||||
auto fileName = QString("(EntityID:%1, %2)").arg(entityID.toString(), isURL ? scriptOrURL : "EmbededEntityScript");
|
||||
auto fileName = isURL ? scriptOrURL : "EmbeddedEntityScript";
|
||||
|
||||
QScriptProgram program(contents, fileName);
|
||||
if (!hasCorrectSyntax(program)) {
|
||||
|
|
Loading…
Reference in a new issue