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:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-05-27 13:39:26 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-05-27 13:40:22 +0300
commit5c371cd36a8db2a322c52b5248061c1df01b0818 (patch)
treec7ef59ed05df904bb296b75be4f3bb1392561191 /source/blender/blenkernel/intern/DerivedMesh.c
parent244c39f1abb8cb787c0f97d72b962eb10a883f9e (diff)
Depsgraph: Fix condition inverted by mistake
Fixes T65165: Weights are not displayed in "Weight Paint" with modifiers
Diffstat (limited to 'source/blender/blenkernel/intern/DerivedMesh.c')
-rw-r--r--source/blender/blenkernel/intern/DerivedMesh.c2
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;
}