Depsgraph: Fix bug introduced by wrong merge conflict resolution
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 21 Sep 2017 11:09:49 +0000 (16:09 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 21 Sep 2017 11:09:49 +0000 (16:09 +0500)
source/blender/depsgraph/intern/eval/deg_eval_flush.cc

index f5754f3b840f290df4a39aa10f8ab57148e6ff43..54a3a499e36368eb199bfce3b11e61ede288f7a5 100644 (file)
@@ -145,7 +145,7 @@ void deg_graph_flush_updates(Main *bmain, Depsgraph *graph)
                                lib_id_recalc_data_tag(bmain, id_orig);
                        }
 
-                       if (comp_node->done == COMPONENT_STATE_DONE) {
+                       if (comp_node->done != COMPONENT_STATE_DONE) {
 #ifdef WITH_COPY_ON_WRITE
                                /* Currently this is needed to get ob->mesh to be replaced with
                                 * original mesh (rather than being evaluated_mesh).