mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Fix uninitialized timed caches
This could prevent resizeable plugins from being resizeable in Ardour if the initialized timestamp just happened to be greater than the current time, since the returned result would then likely be some invalid value.
This commit is contained in:
@@ -15,6 +15,9 @@ Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed the `IPlugView::canResize()` cache added in yabridge 3.2.0 sometimes not
|
||||
being initialized correctly, preventing host-driven resizes in certain
|
||||
situations. This was mostly noticeable in **Ardour**.
|
||||
- Fixed mouse clicks in VST2 editors in **Tracktion Waveform** being offset
|
||||
vertically because of the way Waveform embeds VST2 editors.
|
||||
- Fixed _Shattered Glass Audio Code Red (Free)_ crashing when opening the plugin
|
||||
|
||||
+1
-1
@@ -278,5 +278,5 @@ class TimedValueCache {
|
||||
|
||||
private:
|
||||
T value;
|
||||
time_t valid_until;
|
||||
time_t valid_until = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user