Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1329,7 +1329,7 @@ void ScriptEngine::entityScriptContentAvailable(const EntityItemID& entityID, co · 1328 unmodified lines | ||
| 1329 | 1329 | |
| 1330 | 1330 | auto scriptCache = DependencyManager::get<ScriptCache>(); |
| 1331 | 1331 | bool isFileUrl = isURL && scriptOrURL.startsWith("file://"); |
| 1332 | − auto fileName = QString("(EntityID:%1, %2)").arg(entityID.toString(), isURL ? scriptOrURL : "EmbededEntityScript"); | |
| 1332 | + auto fileName = isURL ? scriptOrURL : "EmbeddedEntityScript"; | |
| 1333 | 1333 | |
| 1334 | 1334 | QScriptProgram program(contents, fileName); |
| 1335 | 1335 | if (!hasCorrectSyntax(program)) { |