NVlabs / FPSci

Aim Training Experiments
Other
67 stars 23 forks source link

Check whether a dialog is present before FPM mode #418

Closed bboudaoud-nv closed 1 year ago

bboudaoud-nv commented 1 year ago

This branch adds a check for whether a dialog is open prior to entering MOUSE_FPM mode (first-person view) in FPSci. Currently it only does this for a single path (user menu Resume button), but we could extend this to be the way we set the mouse mode more generally in FPSci (i.e. only change the mouse mode to MOUSE_FPM when neither a dialog nor the menu is present).

Merging this PR closes #417.