Moved the editor only modules to a new editor_modules folder.
@ -273,7 +273,11 @@ env_base["platform"] = selected_platform # Must always be re-set after calling
|
||||
|
||||
# Detect modules.
|
||||
modules_detected = OrderedDict()
|
||||
module_search_paths = ["modules"] # Built-in path.
|
||||
module_search_paths = [ "modules", methods.convert_custom_modules_path("editor_modules") ] # Built-in path.
|
||||
|
||||
# maybe?
|
||||
#if env_base["tools"]:
|
||||
# module_search_paths.append(methods.convert_custom_modules_path("editor_modules"))
|
||||
|
||||
if env_base["custom_modules"]:
|
||||
paths = env_base["custom_modules"].split(",")
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
def can_build(env, platform):
|
||||
return True
|
||||
return env["tools"]
|
||||
|
||||
|
||||
def configure(env):
|
@ -1,6 +1,6 @@
|
||||
|
||||
def can_build(env, platform):
|
||||
return True
|
||||
return env["tools"]
|
||||
|
||||
def configure(env):
|
||||
pass
|
Before Width: | Height: | Size: 170 B After Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 237 B After Width: | Height: | Size: 237 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 797 B After Width: | Height: | Size: 797 B |
@ -1,6 +1,9 @@
|
||||
|
||||
|
||||
def can_build(env, platform):
|
||||
if not env["tools"]:
|
||||
return False
|
||||
|
||||
env.module_add_dependencies("text_editor", ["freetype"], True)
|
||||
|
||||
return True
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |