pencil2d / pencil

Pencil2D is an easy, intuitive tool to make 2D hand-drawn animations. Pencil2D is open source and cross-platform.
http://pencil2d.org
GNU General Public License v2.0
1.48k stars 273 forks source link

Brush width and feather are affected by undo/redo #1872

Open MrStevns opened 3 months ago

MrStevns commented 3 months ago

Issue Summary

Sometimes when you draw or erase on the canvas, the brush width and feather value changes. It's not clear how it happens yet but here's a clip of it happening to a user.

https://github.com/user-attachments/assets/06600d44-044d-4eb7-a505-63d649847255

Actual Results

The brush value and feather value changes seemingly randomly

Expected Results

The brush width and feather value does not change

Steps to reproduce

I haven't been able to reproduce it consistenly, although the issue seem to appear with a combination of strokes and undo/redo

  1. Draw several strokes on the canvas
  2. Undo a stroke and draw again

System Information