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>2014-01-20 14:10:34 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-01-20 14:10:34 +0400
commit1b3fdc43095d8d0a7dff9adf5c93dbad81a85576 (patch)
tree7b02688ff8054fa74aadbad7fd2d627ee1f014ec /source/blender/blenkernel/intern/depsgraph.c
parent2e01f38885906bc14cb5a50cfe474aa562929ef3 (diff)
Followup for 1728c1e: we don't need to replace flags at all
Replacing the flags isn't thread safe and could lead to bi troubles. Such things are to be handled by the dependency graph.
Diffstat (limited to 'source/blender/blenkernel/intern/depsgraph.c')
-rw-r--r--source/blender/blenkernel/intern/depsgraph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index 7028798f1fc..ed396fb32e3 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -690,6 +690,8 @@ static void build_dag_object(DagForest *dag, DagNode *scenenode, Scene *scene, O
if (ob->type == OB_FONT) {
if (cu->textoncurve) {
node2 = dag_get_node(dag, cu->textoncurve);
+ /* Text on curve requires path to be evaluated for the target curve. */
+ node2->eval_flags |= DAG_EVAL_NEED_CURVE_PATH;
dag_add_relation(dag, node2, node, DAG_RL_DATA_DATA | DAG_RL_OB_DATA, "Texture On Curve");
}
}