diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-09-13 16:36:46 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:00 +0300 |
commit | 5322def57cdbb81d38c5ba8e8e617c697791d22b (patch) | |
tree | 9f3b042615975de2cc076dae9f6f2c8e9fc24f08 /source/blender/render | |
parent | 1c8a33ab92ce8935165be29d2fc93e459c191286 (diff) |
Moved the cloth solver code into a new subfolder/library inside Blender
code.
The implicit solver itself should remain agnostic to the specifics of
the Blender data (cloth vs. hair). This way we could avoid the bloated
data conversion chain from particles/hair to derived mesh to cloth
modifier to implicit solver data and back. Every step in this chain adds
overhead as well as rounding errors and a possibility for bugs, not to
speak of making the code horribly complicated.
The new subfolder is named "physics" since it should be the start of a
somewhat "unified" physics systems combining all the various solvers in
the same place and managing things like synchronized time steps.
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/source/voxeldata.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/voxeldata.c b/source/blender/render/intern/source/voxeldata.c index d360282d985..6f3c50bca62 100644 --- a/source/blender/render/intern/source/voxeldata.c +++ b/source/blender/render/intern/source/voxeldata.c @@ -380,7 +380,8 @@ static void init_frame_hair(VoxelData *vd, int UNUSED(cfra)) ParticleSystemModifierData *pmd = (ParticleSystemModifierData *)md; if (pmd->psys && pmd->psys->clmd) { - found |= implicit_hair_volume_get_texture_data(ob, pmd->psys->clmd, NULL, vd); + // XXX TODO was moved into own subfolder, figure out how to handle this (perhaps make a wrapper in BKE) +// found |= implicit_hair_volume_get_texture_data(ob, pmd->psys->clmd, NULL, vd); } } |