From 789384a7bf597b0b889296bfa27b38c088188fd5 Mon Sep 17 00:00:00 2001 From: Marianne Gagnon Date: Thu, 18 Jun 2015 19:24:39 -0400 Subject: [PATCH] Fix loading scripts in local library nodes --- src/tracks/track_object_presentation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tracks/track_object_presentation.cpp b/src/tracks/track_object_presentation.cpp index 6f97b2636..8259045c4 100644 --- a/src/tracks/track_object_presentation.cpp +++ b/src/tracks/track_object_presentation.cpp @@ -197,7 +197,7 @@ TrackObjectPresentationLibraryNode::TrackObjectPresentationLibraryNode( lib_path = track->getTrackFile("library/" + name); libroot = file_manager->createXMLTree(local_lib_node_path); if (track != NULL) - World::getWorld()->getScriptEngine()->loadScript(lib_script_file_path, false); + World::getWorld()->getScriptEngine()->loadScript(local_script_file_path, false); } else if (file_manager->fileExists(lib_node_path)) {