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:
authorSybren A. Stüvel <sybren@stuvel.eu>2018-05-15 18:16:20 +0300
committerSybren A. Stüvel <sybren@stuvel.eu>2018-05-15 18:16:23 +0300
commitb6e3430417d69d20ebca107fa23f058f65de6092 (patch)
tree89110c6dc8fe151018a667ab5136d249a01adb38 /source/blender/draw/intern/draw_cache_impl_lattice.c
parent87cd4de3babdfcf3e7de43a4d8a6dc113f5fe3cc (diff)
Modifiers on Lattices now work
Tested with Hook and Armature modifiers. Requires CoW to be enabled.
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_lattice.c')
-rw-r--r--source/blender/draw/intern/draw_cache_impl_lattice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_lattice.c b/source/blender/draw/intern/draw_cache_impl_lattice.c
index 1cb55039b16..6b0a35c3341 100644
--- a/source/blender/draw/intern/draw_cache_impl_lattice.c
+++ b/source/blender/draw/intern/draw_cache_impl_lattice.c
@@ -315,8 +315,8 @@ static bool lattice_batch_cache_valid(Lattice *lt)
return false;
}
- if (cache->is_dirty == false) {
- return true;
+ if (cache->is_dirty) {
+ return false;
}
else {
if (cache->is_editmode) {