Fix T68840: Metaballs update 'NEVER' method not working

Was always evaluating due to typo in rB34ab90f546f0.

Reviewers: brecht

Maniphest Tasks: T68840

Differential Revision: https://developer.blender.org/D5695
This commit is contained in:
Philipp Oeser 2019-09-05 17:07:14 +02:00
parent d8aaf25c23
commit 1bafa3139c
Notes: blender-bot 2023-02-14 05:01:20 +01:00
Referenced by issue #68840, 2.8 Metaballs update 'NEVER' is not working, seems to *always* update even with NEVER selected
1 changed files with 1 additions and 1 deletions

View File

@ -1405,7 +1405,7 @@ void BKE_mball_polygonize(Depsgraph *depsgraph, Scene *scene, Object *ob, ListBa
process.converge_res = 2;
}
if (is_render && (mb->flag == MB_UPDATE_NEVER)) {
if (!is_render && (mb->flag == MB_UPDATE_NEVER)) {
return;
}
if ((G.moving & (G_TRANSFORM_OBJ | G_TRANSFORM_EDIT)) && mb->flag == MB_UPDATE_FAST) {