소스 검색

script scoped global variable not needed anymore

Blue, The Magnificent 9 년 전
부모
커밋
864a455572
2개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 1
      Source/Urho3D/AngelScript/Script.cpp
  2. 0 2
      Source/Urho3D/AngelScript/Script.h

+ 0 - 1
Source/Urho3D/AngelScript/Script.cpp

@@ -65,7 +65,6 @@ class ScriptResourceRouter : public ResourceRouter
     }
 };
 
-VariantMap Script::globalVars;
 
 Script::Script(Context* context) :
     Object(context),

+ 0 - 2
Source/Urho3D/AngelScript/Script.h

@@ -102,8 +102,6 @@ public:
     /// Return the script module create/delete mutex.
     Mutex& GetModuleMutex() { return moduleMutex_; }
 
-    /// Variant map for global variables that can persist through a script program reload.
-    static VariantMap globalVars;
 
 private:
     /// Increase script nesting level.