소스 검색

Merge pull request #2094 from Areloch/ClearScopeAlwaysConsoleFunc

Adds a engine method to clear the scopeAlways flag on netObjects
Areloch 7 년 전
부모
커밋
ab453d068c
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      Engine/source/sim/netObject.cpp

+ 5 - 0
Engine/source/sim/netObject.cpp

@@ -493,3 +493,8 @@ void NetObject::removeScopeRef()
    }
 }
 
+DefineEngineMethod(NetObject, clearScopeAlways, void, (), ,
+   "@brief Clears the scope always flag on this object.\n\n")
+{
+   object->clearScopeAlways();
+}