diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-30 13:32:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-05-30 13:35:03 +0300 |
commit | 673fabbb64092f8a3fd5bf87f4b3ce0e80760aa5 (patch) | |
tree | 333ef4f2a477735e19130337801bdc0b35868b09 /intern | |
parent | 4aaf7b0c7a65473b4d1356fb36ba24eb2df4be49 (diff) |
Depsgraph: Fix wrong layers flush form children to parent
It was possible to have issues in cases when several child dependencies
goes to IDs with different layers. In this case order of flushing was not
really well defined, which could lead to cases when indirect dependency
via invisible object wouldn't work.
Need some sort of barrier to prevent scheduling of parent nodes for until
all children are done, but that's becoming quite nasty thing to implement.
Added a temp field to component for now. maybe it's not so crazy actually
and we might use it for evaluation as well, so we wouldn't flush updates
to components which does not affect visible stuff.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/blender_curves.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_curves.cpp b/intern/cycles/blender/blender_curves.cpp index 8fbb2414741..a1e2617d66f 100644 --- a/intern/cycles/blender/blender_curves.cpp +++ b/intern/cycles/blender/blender_curves.cpp @@ -657,6 +657,7 @@ static void ExportCurveSegmentsMotion(Mesh *mesh, ParticleCurveData *CData, int radius = 0.0f; mP[i] = ickey_loc; + (void)radius; /* unlike mesh coordinates, these tend to be slightly different * between frames due to particle transforms into/out of object |