Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix disabling movement providers with active states #101

Merged
merged 1 commit into from
Mar 13, 2022

Conversation

Malcolmnixon
Copy link
Collaborator

This pull request fixes issue #100 by allowing movement providers to be serviced after disabling to perform any final activities such as updating state and reporting signals.

In addition the modified files have some code cleanups suggested by gdlint (https://pypi.org/project/gdtoolkit/) to bring the modules closer to the official gdscript style-guide such as:

  • Removal of unnecessary white-space at end of lines
  • Order of items in the script

Modified PlayerBody to service active MovementProviders even when disabled so they can handle disabling activities
Minor code cleanups based on gdlint warnings
@BastiaanOlij BastiaanOlij merged commit 245e937 into GodotVR:master Mar 13, 2022
@BastiaanOlij BastiaanOlij added the enhancement New feature or request label Mar 13, 2022
@BastiaanOlij BastiaanOlij added this to the 2.4.0 milestone Mar 13, 2022
@BastiaanOlij
Copy link
Member

Looks good to me :)

@Malcolmnixon Malcolmnixon deleted the movement-disable branch March 13, 2022 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants