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

Update to Rack v2 API #2

Merged
merged 1 commit into from
Jul 2, 2023
Merged

Conversation

emurray2
Copy link
Contributor

Update to Rack v2 API - Repair/migration - VCVRack/library#591

  • Removed JSON Methods from ModuleWidget subclass,
    these were deprecated and removed. If you need to use them, use
    Engine::fromJson or RackWidget::fromJson

  • It looks like maybe since your plugin doesn't involve any processing from the engine (just artwork), then you may not need these methods at all.

  • The release() method from MFTexture is currently causing VCV Rack to crash right before the program is closed due to unallocated memory issues. Will try to address this in the next commit.

- Removed JSON Methods from `ModuleWidget` subclass,
these were deprecated and removed. If you need to use them, use
`Engine::fromJson` or `RackWidget::fromJson`

- It looks like maybe since your plugin doesn't involve any processing from the engine (just artwork), then you may not need these methods at all.

- The `release()` method from `MFTexture` is currently causing VCV Rack to crash right before the program is closed due to unallocated memory issues. Will try to address this in the next commit.
@The-Great-Assyr The-Great-Assyr merged commit c7d1e50 into The-Great-Assyr:master Jul 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants