StelScriptMgr.cpp   StelScriptMgr.cpp 
skipping to change at line 419 skipping to change at line 419
{ {
emit(scriptDebug(msg)); emit(scriptDebug(msg));
} }
void StelScriptMgr::output(const QString &msg) void StelScriptMgr::output(const QString &msg)
{ {
StelScriptOutput::writeLog(msg); StelScriptOutput::writeLog(msg);
emit(scriptOutput(msg)); emit(scriptOutput(msg));
} }
void StelScriptMgr::resetOutput(void)
{
StelScriptOutput::reset();
emit(scriptOutput(""));
}
void StelScriptMgr::scriptEnded() void StelScriptMgr::scriptEnded()
{ {
if (engine.hasUncaughtException()) if (engine.hasUncaughtException())
{ {
QString msg = QString("script error: \"%1\" @ line %2").arg( engine.uncaughtException().toString()).arg(engine.uncaughtExceptionLineNumb er()); QString msg = QString("script error: \"%1\" @ line %2").arg( engine.uncaughtException().toString()).arg(engine.uncaughtExceptionLineNumb er());
emit(scriptDebug(msg)); emit(scriptDebug(msg));
qWarning() << msg; qWarning() << msg;
} }
GETSTELMODULE(StelMovementMgr)->setMovementSpeedFactor(1.0); GETSTELMODULE(StelMovementMgr)->setMovementSpeedFactor(1.0);
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/