diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-05-27 13:39:26 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-05-27 13:40:22 +0300 |
commit | 5c371cd36a8db2a322c52b5248061c1df01b0818 (patch) | |
tree | c7ef59ed05df904bb296b75be4f3bb1392561191 /source/blender/blenkernel | |
parent | 244c39f1abb8cb787c0f97d72b962eb10a883f9e (diff) |
Depsgraph: Fix condition inverted by mistake
Fixes T65165: Weights are not displayed in "Weight Paint" with modifiers
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/DerivedMesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/DerivedMesh.c b/source/blender/blenkernel/intern/DerivedMesh.c index 6b03d03f882..615a68dc176 100644 --- a/source/blender/blenkernel/intern/DerivedMesh.c +++ b/source/blender/blenkernel/intern/DerivedMesh.c @@ -2079,7 +2079,7 @@ static void object_get_datamask(const Depsgraph *depsgraph, /* Must never access original objects when dependency graph is not active: it might be already * freed. */ - if (DEG_is_active(depsgraph)) { + if (!DEG_is_active(depsgraph)) { return; } |