This patch fixes T72476 by removing the redundant init of the undo. Additionally the paint_2d_bucket_fill() has been modified to avoid dereferencing of a NULL pointer.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- 2020-04-07-fix-color-drag-n-drop (branched from master)
- Build Status
Buildable 7499 Build 7499: arc lint + arc unit
Event Timeline
Comment Actions
The fix works for me and seems reasonable. However, I don't know the undo code much either.
| source/blender/editors/sculpt_paint/paint_image.c | ||
|---|---|---|
| 1308 | wm is unused. | |
| source/blender/editors/sculpt_paint/paint_image.c | ||
|---|---|---|
| 1308 | Well spotted, you're right. | |
Comment Actions
This change was already committed by @Campbell Barton (campbellbarton) before the revision was marked as accepted.