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
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/vpaint.c')
-rw-r--r--source/blender/src/vpaint.c2
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;
}