lower casing materials in path to avoid Linux casing issues

Signed-off-by: Scott Murray <scottmur@amazon.com>
monroegm-disable-blank-issue-2
Scott Murray 4 years ago
parent 9081a0db90
commit 157149928b

@ -147,7 +147,7 @@ def AtomEditorComponents_Decal_AddedToEntity():
Report.result(Tests.creation_redo, decal_entity.exists()) Report.result(Tests.creation_redo, decal_entity.exists())
# 5. Set Material property on Decal component. # 5. Set Material property on Decal component.
decal_material_asset_path = os.path.join("Materials", "decal", "airship_symbol_decal.azmaterial") decal_material_asset_path = os.path.join("materials", "decal", "airship_symbol_decal.azmaterial")
decal_material_asset = Asset.find_asset_by_path(decal_material_asset_path, False) decal_material_asset = Asset.find_asset_by_path(decal_material_asset_path, False)
decal_component.set_component_property_value(AtomComponentProperties.decal('Material'), decal_material_asset.id) decal_component.set_component_property_value(AtomComponentProperties.decal('Material'), decal_material_asset.id)
get_material_property = decal_component.get_component_property_value(AtomComponentProperties.decal('Material')) get_material_property = decal_component.get_component_property_value(AtomComponentProperties.decal('Material'))

Loading…
Cancel
Save