Moved the editor only modules to a new editor_modules folder.

This commit is contained in:
Relintai 2022-08-19 22:46:53 +02:00
parent 1ef37c61c2
commit 95767b2cea
111 changed files with 11 additions and 4 deletions

View File

@ -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(",")

View File

@ -1,7 +1,7 @@
def can_build(env, platform):
return True
return env["tools"]
def configure(env):

View File

@ -1,6 +1,6 @@
def can_build(env, platform):
return True
return env["tools"]
def configure(env):
pass

View File

Before

Width:  |  Height:  |  Size: 170 B

After

Width:  |  Height:  |  Size: 170 B

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 237 B

After

Width:  |  Height:  |  Size: 237 B

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 797 B

After

Width:  |  Height:  |  Size: 797 B

View File

@ -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

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Some files were not shown because too many files have changed in this diff Show More