Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2018-04-30 17:27:34 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-04-30 17:27:34 +0300
commit630c24fc61329bb1a161653f355fad887aa1d08d (patch)
treeddf7706a3cad980e104a8cbbc5ced11592a836e9 /source
parent5dab34df509b1d08dad4c87d24b9fe37223a05cc (diff)
Overlay: missed in last commit
Diffstat (limited to 'source')
-rw-r--r--source/blender/draw/intern/draw_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c
index 5e83dcb7aae..faa056d884a 100644
--- a/source/blender/draw/intern/draw_manager.c
+++ b/source/blender/draw/intern/draw_manager.c
@@ -214,7 +214,7 @@ int DRW_object_is_mode_shade(const Object *ob)
int DRW_object_is_paint_mode(const Object *ob)
{
if (ob == DST.draw_ctx.obact) {
- if ((DST.draw_ctx.object_mode & (OB_MODE_VERTEX_PAINT | OB_MODE_WEIGHT_PAINT)) > 0) {
+ if ((DST.draw_ctx.object_mode & (OB_MODE_VERTEX_PAINT | OB_MODE_WEIGHT_PAINT | OB_MODE_TEXTURE_PAINT)) > 0) {
return true;
}
}