浏览代码

Adds a engine method to clear the scopeAlways flag on netObjects

Areloch 8 年之前
父节点
当前提交
57253daeef
共有 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();
+}