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>2012-07-12 15:22:46 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-07-12 15:22:46 +0400
commitddf7d364e953951cd576609376a35b88da467140 (patch)
tree6f0a29f0229b457f9a51a74f348e246178a8f618
parentf7f216262da9c809e2899d588f458db201f863a8 (diff)
Fix for metaballs used as dupli-object for particle
It used to be a dependency cycle which lead to incorrect or missed tesselation on some circumstances. Seems to be introduced in rev41627. This commit seems to behaving properly on simple cases, probably could fail in some other cases, so need to be checked further. Discovered when was looking into: #32034: Metaball used as render object(group) for particle will display wire only.
-rw-r--r--source/blender/blenkernel/intern/depsgraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/depsgraph.c b/source/blender/blenkernel/intern/depsgraph.c
index 31621dffdef..4026d3f06d3 100644
--- a/source/blender/blenkernel/intern/depsgraph.c
+++ b/source/blender/blenkernel/intern/depsgraph.c
@@ -672,7 +672,7 @@ static void build_dag_object(DagForest *dag, DagNode *scenenode, Scene *scene, O
* engine instancing assumes particular ordering of objects in list */
dag_add_relation(dag, node, node2, DAG_RL_OB_OB, "Particle Object Visualization");
if (part->dup_ob->type == OB_MBALL)
- dag_add_relation(dag, node2, node, DAG_RL_DATA_DATA, "Particle Object Visualization");
+ dag_add_relation(dag, node, node2, DAG_RL_DATA_DATA, "Particle Object Visualization");
}
if (part->ren_as == PART_DRAW_GR && part->dup_group) {