mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-09 13:12:58 -06:00
fixed Alex' bug!!
Added string specialization to template functions for syncbuffer class
This commit is contained in:
@@ -184,7 +184,7 @@ ScriptEngine::ScriptEngine()
|
||||
}
|
||||
|
||||
ScriptEngine::~ScriptEngine() {
|
||||
deinitialize();
|
||||
//deinitialize();
|
||||
}
|
||||
|
||||
bool ScriptEngine::initialize() {
|
||||
@@ -615,15 +615,14 @@ void ScriptEngine::deserialize(SyncBuffer* syncBuffer){
|
||||
}
|
||||
|
||||
void ScriptEngine::postSynchronizationPreDraw(){
|
||||
|
||||
}
|
||||
|
||||
void ScriptEngine::preSynchronization(){
|
||||
if (!_currentSyncedScript.empty()){
|
||||
runScript(_currentSyncedScript);
|
||||
_currentSyncedScript.clear();
|
||||
}
|
||||
}
|
||||
|
||||
void ScriptEngine::preSynchronization(){
|
||||
|
||||
_mutex.lock();
|
||||
|
||||
if (!_queuedScripts.empty()){
|
||||
|
||||
Reference in New Issue
Block a user