mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-13 23:40:27 -06:00
removed a comment, changed name of script storing variable to something that makes more sense
This commit is contained in:
@@ -155,7 +155,7 @@ bool ScriptEngine::runScript(const std::string& script) {
|
||||
return false;
|
||||
}
|
||||
|
||||
//if we're currently hosting the parallel session find out if script should be synchronized.
|
||||
//if we're currently hosting the parallel session, find out if script should be synchronized.
|
||||
if(OsEng.parallelConnection()->isHost()){
|
||||
|
||||
//"deconstruct the script to find library and function name
|
||||
@@ -212,7 +212,6 @@ bool ScriptEngine::runScript(const std::string& script) {
|
||||
//function was found!
|
||||
if(funcit->name.compare(func) == 0){
|
||||
//is the function of a type that should be shared via parallel connection?
|
||||
//and are we currently hosting the session?
|
||||
if(funcit->parallelShared ){
|
||||
OsEng.parallelConnection()->sendScript(script);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user