mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
d6d640f158
This is consistent with `xatlas_unwrap`, which isn't enabled in non-editor builds and the Android editor either. There is currently no way to use the lightmapper in a non-editor build anyway, as it doesn't expose any methods (and even if there was, there would be no way to perform UV2 unwrapping in the exported project). This reduces binary size of a stripped Linux x86_64 export template build by ~164 KB. This also moves the PrimitiveMesh texel size project setting so that it's defined when the module is disabled, and adds a property hint to it.
7 lines
128 B
Python
7 lines
128 B
Python
def can_build(env, platform):
|
|
return env.editor_build and platform not in ["android", "ios"]
|
|
|
|
|
|
def configure(env):
|
|
pass
|