Loading
ENHANCEMENT: Expose the live brush position to Python scripts
Publish the current brush centre (the post-stabilizer dab position) on the flake-level canvas resource provider under a new KoCanvasResource id, so it survives the input pipeline and is queryable by scripts. View::brushPosition() returns it in canvas-widget coordinates, converted from image pixels through the view's coordinates converter.
That way scripts can now anchor canvas overlays to where the brush actually is during a stroke, which lags the pointer while brush smoothing is active.
This is only an API addition, no addons come with this obviously, but if this gets merged, many of my addons will work with the official krita version.
I plan to eventually publish some addons on github or so that make use of this.