-
-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version 4.3.4
result.layers[layer.name]["lights"] = (
layer
. get_children()
. map(
func(c: Node):
if c is PointLight2D:
return {
"color": c.color.to_html(),
"position": c.global_position,
"rotation": c.global_rotation,
"scale": c.global_scale,
"texture": c.texture.resource_path,
"shadows": c.shadow_enabled,
"blend_mode": c.blend_mode
}
return null # unindent doesn't match the previous indentation level.
)
. filter(func(c): return c != null)
)It is fixed if I put a parenthesis next to return null. However, I don't think I can really enforce that in a CI/CD environment.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working