Updating whitespace and improving component CRUD readability

Signed-off-by: jckand-amzn <82226555+jckand-amzn@users.noreply.github.com>
This commit is contained in:
jckand-amzn
2022-02-10 16:28:32 -06:00
parent 16758ae52f
commit bc29e31367
@@ -20,6 +20,7 @@ class Tests:
"Found an unexpected number of instances"
)
def ImageGradient_ModifiesSurfaces():
"""
Summary:
@@ -100,9 +101,10 @@ def ImageGradient_ModifiesSurfaces():
# Set the Image Gradient entity's Gradient Surface Tag Emitter component to modify the "terrain" tag
# NOTE: This requires a disable/re-enable of the component to force a refresh as assigning a tag via script does not
image_gradient_entity.components[3].add_container_item("Configuration|Extended Tags", 0, surface_tags["terrain"])
image_gradient_entity.components[3].set_enabled(False)
image_gradient_entity.components[3].set_enabled(True)
grad_surf_tag_emitter_component = image_gradient_entity.components[3]
grad_surf_tag_emitter_component.add_container_item("Configuration|Extended Tags", 0, surface_tags["terrain"])
grad_surf_tag_emitter_component.set_enabled(False)
grad_surf_tag_emitter_component.set_enabled(True)
# 5) Validate the expected number of vegetation instances. Instances should only spawn on the modified
num_expected_instances = 168