Skip to content

Commit

Permalink
Merge pull request #367 from threedworld-mit/reset_scrape
Browse files Browse the repository at this point in the history
Fixed a bug with resetting scrape objects
  • Loading branch information
alters-mit authored Feb 8, 2022
2 parents 4c4ecc2 + 41fc81b commit 64a1a08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Python/tdw/add_ons/py_impact.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@ def reset(self, initial_amp: float = 0.5, static_audio_data_overrides: Dict[int,
self.initialized = False
self._static_audio_data.clear()
self._static_audio_data_overrides.clear()
self._scrape_objects.clear()
# Use scrape surfaces.
if self._scrape and scrape_objects is not None:
for k in scrape_objects:
Expand Down

0 comments on commit 64a1a08

Please sign in to comment.