diff options
author | Ton Roosendaal <ton@blender.org> | 2004-11-11 18:31:44 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-11-11 18:31:44 +0300 |
commit | d673c4a862ae8c8eaf26b3a939e0da7f335ffbf4 (patch) | |
tree | ebb10e9de1bd590d0354d69e8ae5baafc967ec9b /source/blender/blenkernel/intern/lattice.c | |
parent | c8c149281cb595d435fb81a040a94c68a10fe377 (diff) |
1) Bug fix 1776
Lattices seem to have deform lag, when they're animated with Ipos.
Found out this behaviour is already from before 2.25... solved with
removing a where_is_object() from deform code, but dont fully grasp
why.
Tested with good demo file, with motion blur too.
2) No functional changes, just made 2 files compile without warnings;
- added extra ifdefs __NLA_BLENDCON for unused calls
- removed zealot 'const' from function protos and variables, these cannot
work there, and hence gave warnings
- added void pointer casts for array conversions in matrix code
Diffstat (limited to 'source/blender/blenkernel/intern/lattice.c')
-rw-r--r-- | source/blender/blenkernel/intern/lattice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/lattice.c b/source/blender/blenkernel/intern/lattice.c index 074bd8f561b..b5710565e61 100644 --- a/source/blender/blenkernel/intern/lattice.c +++ b/source/blender/blenkernel/intern/lattice.c @@ -243,7 +243,7 @@ void init_latt_deform(Object *oblatt, Object *ob) lattice_modifier(oblatt, 's'); bp= deformLatt->def; - if(ob) where_is_object(ob); + //if(ob) where_is_object(ob); causes lag here, but why! (ton) /* for example with a particle system: ob==0 */ if(ob==0) { |