Two setValueWithUndo callbacks for ScriptPanel - Crashes HISE
-
Just noticed that there are two
setValueWithUndo
callbacks for ScriptPanels and the second one is the active one.
Docs ReferenceHowever, because the second option is a bit convoluted, it should probably just be the first version:
ScriptPanel.setValueWithUndo(var newValue)
-
I actually can't get the undo function to work with panels at all. Has anyone had luck with this?
-
Friendly bump! :)
Would be great if I can get undo functionality working for panels because all of my buttons are panel routines. Right now, undo doesn't work for panels.
-
Hey @Casey-Kolb, just wondering wether you managed to find a solution to this at all?
-
@LeeC I haven't yet. This is a deeper HISE bug which I believe only Christoph would know how to fix. I just stripped the undo functionality out of my engine for the time being.
-
The one with three parameters works for me:
HiseSnippet 1122.3ocsV8taiSDDecZ8wk.AwIwCfU+jC5H3T5cfzITSaZCDcj1nK85ABgNs0dS7ptd2H60IMB56BOB7HbeFwCAOB7E9JvL9OwNoosmhTchTx7+edlYmYGDpbYQQpPhQ0ylOgQL9HygykZ+N9Ttjz6HhQMyWK8TmwhzjCmOgFEw7HFFa8snbipaSRd968OjJnRWVAKB4bE2k887.ttf6f1ujKDcodry3Akzdu18bUxNJgJFvxVlNjIT2KoiYmPQ0pXRLdzwdbsJbnlpYQDisOT4MenuZlLU+y4Q7KDLjnEYH3nT1cUBODwHWRGetvaP96bDA7xfhLvVoYfO0rO2iufeQl3SRDXUXQ47gQk6BdsJCOm2e3YTBdamBumXNzMjOQWHAw1GZ1SpYginPInLrR0kT4e2xriBzPpaFPuj0MDHVXg8ycbdp0ybbZ7h50vOPoHRaMkFZMfJYhVVeiUt0iY5NpfIJIPXuSp3cRsKknYDSO.RY5Woh0bIydTrzUyUR6wMp8K0qYAOiaNB5BNPHrctZ2c6l7f9HUVDFBrQ.jt2dqJEs7ULWs8OAXF9p84QHpdC2S6a2v5yVv4bpHlY2nPkuiwG6qsa7yMdQspkiS5OQMm4y0LLTUqiJ3ERmcffOVx7Nick19FNd8PXMA7oV63BIrPlGjqpccddtHi0WEGw5PEhKf19hTFaJXEj1pUEKFSg5PBmlWY8EqF0LTmvMJCiugq8wSu2D4SADAZsDZ3RATurxCtkRlhOrzGpD1t40cvbzOMpi0ypKX2LjMAK7IX45Dmd2cMoUfDmu3Uekfht5V.2gwZsRdeniOxNmrJ1.crbL3mlwXV49vYVDtMftL.PmUBcmnzrSk1I0tZWWyZUQiFsVYYNSvBWqXbnY3cYnsLN3BVXdNHWQX5wximLu8wSkmd5llWJonR1Sx0mNgIusgVjrjIL9pRFp.U0ICupmO7BqwDNLh5wlo0aRBfyVH7a00+w9jUM9iyLdnf6wBSr9CLeoTcwxF+t+w9O2m75dGQ0TbDZFb.HNgEp43auwQrovtozApUMOhEcoVMABzhhOv9dQ7UEqu9w1yKS3mbtuLmY3gzELdWXanMRMKuYJBiSGAG9m0oRwbBLL.O21mJgUfvreiJQzordxAgLnUDoIkfp48leJf5eETBp+9r12LRk87iV1yoc7IdtpYV6eYe+qk7syj1qf4s3Q8UAfeogySBzMWtAqXUdwBpd48t3kMxD.c6KsfCWhIi354kuLxCxx32W39DyAbsq+5wak0fW7fxCLdytZScyiGMB1cV.1sM69CO72igjdWfw8o5PNzuXdRbvPXiqKCPhDNLgSjfFBzzDZGjFyLCYRuDh+CdxD1BoMxD1JWHIf5Fpdqa5PC7xSONgCfIYxcHqZ1GosVLsvzzooCI.tS2accwTwmCXe81r6FXyWtA1r2FXyy1.ad9FXyWsA1702oM30oOHVqBROl.LFbbxTaCiikTnKKoij7+f.nTHe
-
@Christoph-Hart Hmm maybe I'm doing something naughty in my script. Lemme give it another whirl!