DRW: Fix texture paint crashing if object has no material slot
authorClément Foucault <foucault.clem@gmail.com>
Sat, 22 Dec 2018 19:17:42 +0000 (20:17 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Fri, 11 Jan 2019 15:00:23 +0000 (16:00 +0100)
commitbda2cd8ba5d14a39aef1927d168f2817d20bbaa8
tree34802f4fb25410e700aba742175e625423601b34
parentcca35c10135290f1a7e298d51964eef2c6c67ce0
DRW: Fix texture paint crashing if object has no material slot
source/blender/draw/modes/paint_texture_mode.c