![]() Registered Member ![]()
|
Hi !
How to create undo points within a Krita Script launch in the brand new Scripter window ? Currently, it seems that it doesn't create any undo point, so you have to be very careful with your scripts ![]() Thanks ! |
![]() KDE Developer ![]()
|
Yes. Undo is one of the things that nobody mentioned when I was canvassing for input on what should be accessible for scripting, so I didn't design support for it. I need some real, practical input to implement that.
|
![]() Registered Member ![]()
|
Ok so here my 2 cents on this:
On REAPER (audio software which huge API for which I script a lot), the undo points are done this way:
I found this methods highly effective and as script can be very powerful, having a way to to set Undo point would be very welcome to avoid any problem and let the user experiment more freely ![]() |
![]() Registered Member ![]()
|
In Photoshop JS API, as far as I understood, the concept is that it create an undo point for the script and one for each actions it contains,
but you can also add a way to suspend history to merge the following actions undo points together. It is a different concept than undo blocks but it is good too.
Are these exposed concepts enough ? Do you need more ? How can we help for that ? |
![]() KDE Developer ![]()
|
I think the resource that is most necessary at this moment is time so that Boudewijn can recover from the 4.0 release
![]() We'll be doing a development sprint in May, perhaps it is an idea to bump this thread at the start of May. Because, we're contemplating whether we should rewrite all of our undo system as the current system is very fragile. The new system would be based on shallow clones instead of actions, so that would definitely affect the resultant API. |
![]() Registered Member ![]()
|
Oh, yes of course ! Take time to rest and enjoy the v4.0 version !
![]() Ok for undo points improvements. Meanwhile, Scripter has to be used very carefully. Thanks for your support ! |
![]() Registered Member ![]()
|
Do you want me to open a ticket about that on the Krita tracker ?
|
![]() Registered Member ![]()
|
According to last Krita.org post:
How to contact Wolthera to point this Undo Point function ? Thanks ! |
![]() Registered Member ![]()
|
Fastest way to get in touch with the devs is the IRC at the #krita channel (just need to be in sync with Europe time zone : )
Self educated by a very bad teacher!
My Stuff |
![]() Registered Member ![]()
|
Well Wolthera is TheraHedwig , the person who posted two comments above your comment asking how to contact them ![]() |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]