MonkeyBars3k / ReaScripts

GNU General Public License v3.0
18 stars 1 forks source link

Undo breaks container items data #37

Closed MonkeyBars3k closed 2 years ago

MonkeyBars3k commented 3 years ago

Not totally certain about this. needs testing

  1. glue container
  2. edit container
  3. change length (perhaps other data inside container?)
  4. reglue
  5. undo
  6. reglue

Previous state is remembered for reglue

MonkeyBars3k commented 3 years ago

Will hopefully be fixed automatically by switching from saving fast strings to utilizing native stateChunk API functions

MonkeyBars3k commented 2 years ago

Unlikely to do with fast strings but rather saving pool data to Project ExtState, which is external to Undo History. Only solution I have identified is GetSetMediaTrackInfo_String() and just hiding the track... make sure to call it something like "Glue-Reversible Data DO NOT DELETE"

https://forum.cockos.com/showthread.php?p=2500578#post2500578

MonkeyBars3k commented 2 years ago

Can store data in master track tempo envelope!

MonkeyBars3k commented 2 years ago

1.50