[Bf-blender-cvs] [06950efb949] greasepencil-object: Temp fix to compile

Antonio Vazquez noreply at git.blender.org
Sat Dec 2 12:25:22 CET 2017


Commit: 06950efb949c9bf1b26530ea21dde63f07316e88
Author: Antonio Vazquez
Date:   Sat Dec 2 12:25:08 2017 +0100
Branches: greasepencil-object
https://developer.blender.org/rB06950efb949c9bf1b26530ea21dde63f07316e88

Temp fix to compile

I change this lines waiting for Sergey final fix in Blender2.8 branch

===================================================================

M	source/blender/depsgraph/intern/eval/deg_eval_flush.cc

===================================================================

diff --git a/source/blender/depsgraph/intern/eval/deg_eval_flush.cc b/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
index 291cdb77912..f9d24d0cd95 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_flush.cc
@@ -236,11 +236,10 @@ void deg_graph_flush_updates(Main *bmain, Depsgraph *graph)
 	FlushQueue queue;
 	flush_schedule_entrypoints(graph, &queue);
 	/* Prepare update context for editors. */
-	DEGEditorUpdateContext update_ctx = {
-		.bmain = bmain,
-		.scene = graph->scene,
-		.view_layer = graph->view_layer,
-	};
+	DEGEditorUpdateContext update_ctx;
+	update_ctx.bmain = bmain;
+	update_ctx.scene = graph->scene;
+	update_ctx.view_layer = graph->view_layer;
 	/* Do actual flush. */
 	while (!queue.empty()) {
 		OperationDepsNode *op_node = queue.front();



More information about the Bf-blender-cvs mailing list