Reverting unintentional change to create_vegetation_area() helper

Signed-off-by: jckand-amzn <jckand@amazon.com>
This commit is contained in:
jckand-amzn
2021-11-15 17:45:52 -06:00
parent 327d4192f8
commit 60f7ea54aa
2 changed files with 2 additions and 3 deletions
@@ -33,7 +33,6 @@ def DynVegUtils_TempPrefabCreationWorks():
import azlmbr.asset as asset
import azlmbr.bus as bus
import azlmbr.legacy.general as general
import azlmbr.math as math
from largeworlds.large_worlds_utils import editor_dynveg_test_helper as dynveg
@@ -73,7 +72,7 @@ def DynVegUtils_TempPrefabCreationWorks():
)
test_physx_mesh_asset_id = asset.AssetCatalogRequestBus(bus.Broadcast, "GetAssetIdByPath", os.path.join(
"assets", "objects", "foliage", "cedar.pxmesh"), math.Uuid(), False)
dynveg.create_temp_physx_mesh_collider(test_physx_mesh_asset_id, "CedarTree_Collision")
dynveg.create_temp_physx_mesh_collider(test_physx_mesh_asset_id, physx_prefab_filename)
Report.result(physx_collider_prefab_created, helper.wait_for_condition(lambda:
PrefabInstance.is_valid(prefab[1]), 3.0))