microsoft / MixedRealityToolkit

The MixedRealityToolkit is a collection of scripts and components intended to accelerate the development of mixed reality applications targeting Windows Mixed Reality.
MIT License
856 stars 276 forks source link

Ensure the detected markers set from the previous detection is cleared #224

Closed matthejo closed 5 years ago

matthejo commented 5 years ago

This change makes sure that the _detectedMarkers set is cleared before populating it with the results of a new detection. Prior to this, if a marker was detected previously but not in the current image, its stale data would be reported again.