branchrust_reboot/main/automated_test_entity_bounds_fixescancel
24 Commits over 0 Days - Infinitycph!
merge from /misc_prefab_fixes
merge from /misc_prefab_fixes
Manually adjusted christmas lights (xmas.lightstring) bounds to only cover the collider. Tested in editor, no behaviour change. Test passes
Adjusted how sockets are counted in the test. Fireplace now passes
Recalculate bounds on the champagne firework `MortarChampagne`
Recalculated bounds on medium battery
Recalculated bounds on water barrel
Manually lowered bear trap bounds and removed the mesh filter from the server trigger. Test passes
sail.deployed:
- Set prefab position at origin
- increased upper deploy volume X by 0.22 to be under the 0.5m overhang
Test passes
Added shelf
14935
- Reduce maxOverhangMetres to 0.5f
- Exclude hidden item definitions
- Only include deploy volumes that affect constructions
- Include DeployVolumeEntityBounds
- Do not include DeployVolumeEntityBoundsReverse
- Account for sockets
Refresh test list for merge
Exclude SimpleBuildingBlock from tests as we are only interested in testing deployables here, not construction, high walls or wall frame socket pieces
Tidy up how deployables are filtered for this test by using a new TestParameterSource
Fixed a bug on the TestRunnerWindow where clicking 'run' would incorrectly run editor tests in play mode after changing prefab source attributes because of stale values. Changing this and my editor test worked again. Previous unreliable fix was to untick and retick tests before running but that didn't work for me
Never failed but ran recalculate bounds on flameturret.deployed
Exclude electric.windmill.small from the test. All tests pass :tada:
Manually shrank SnowMachine bounds to only cover the deployable. The snow effect didn't need to be covered. Tested in Craggy, no behaviour change. Test passes
Recalculated bounds on igniter.deployed. Test passes
Removed unneeded Mesh Filter component on the Server object of the electrical.heater as it was contributing to significant Bounds. Recalculated bounds. Test passes
New automated test to check all deployables for BaseEntity bounds significantly larger than the deploy volume. Included exclusions for deployables that have intended oversized bounds (doors, constructables, high externals...)