mirror of
https://github.com/blender/blender.git
synced 2026-01-14 03:19:40 +00:00
The `have_image` boolean was checking the wrong object to find if there was a `canvas_image`. The `settings` variable is an ImagePaint object, which has no `canvas_image` variable. The `mode_settings` variable is a PaintMode object, which does have the `canvas_image` variable. Pull Request: https://projects.blender.org/blender/blender/pulls/150437