diff options
Diffstat (limited to 'source/blender/src/vpaint.c')
-rw-r--r-- | source/blender/src/vpaint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/vpaint.c b/source/blender/src/vpaint.c index 7a9e6a5475e..e71b0d776e1 100644 --- a/source/blender/src/vpaint.c +++ b/source/blender/src/vpaint.c @@ -1582,7 +1582,7 @@ void set_vpaint(void) /* toggle */ scrarea_queue_headredraw(curarea); ob= OBACT; - if(!ob || ob->id.lib) { + if(!ob || object_data_is_libdata(ob)) { G.f &= ~G_VERTEXPAINT; return; } |