瀏覽代碼

Include relevant UI classes in create_lua_library inheritInModule

mcc 13 年之前
父節點
當前提交
7edefa0d85
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Bindings/Scripts/create_lua_library/create_lua_library.py

+ 1 - 1
Bindings/Scripts/create_lua_library/create_lua_library.py

@@ -132,7 +132,7 @@ def createLUABindings(inputPath, prefix, mainInclude, libSmallName, libName, api
 	# Iterate, process each input file
 	for fileName in filteredFiles:
 		# "Package owned" classes that ship with Polycode
-		inheritInModule = ["PhysicsSceneEntity", "CollisionScene", "CollisionSceneEntity"]
+		inheritInModule = ["PhysicsSceneEntity", "CollisionScene", "CollisionSceneEntity", "UIElement", "UIWindow"]
 		
 		# A file or comma-separated list of files can be given to specify classes which are "package owned"
 		# and should not be inherited out of Polycode/. The files should contain one class name per line,