Replace XML codeblock spaces with tabs
This commit is contained in:
@ -17,13 +17,13 @@
|
||||
Called when the engine compilation profile editor wants to check what build options an imported resource needs. For example, [ResourceImporterDynamicFont] has a property called [member ResourceImporterDynamicFont.multichannel_signed_distance_field], that depends on the engine to be build with the "msdfgen" module. If that resource happened to be a custom one, it would be handled like this:
|
||||
[codeblock]
|
||||
func _get_build_dependencies(path):
|
||||
var resource = load(path)
|
||||
var dependencies = PackedStringArray()
|
||||
var resource = load(path)
|
||||
var dependencies = PackedStringArray()
|
||||
|
||||
if resource.multichannel_signed_distance_field:
|
||||
dependencies.push_back("module_msdfgen_enabled")
|
||||
if resource.multichannel_signed_distance_field:
|
||||
dependencies.push_back("module_msdfgen_enabled")
|
||||
|
||||
return dependencies
|
||||
return dependencies
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user