Fixed the lag with Follow Path and optimized constraint loops with Track To and Lock...
authorMartin Poirier <theeth@yahoo.com>
Thu, 13 Nov 2003 23:04:46 +0000 (23:04 +0000)
committerMartin Poirier <theeth@yahoo.com>
Thu, 13 Nov 2003 23:04:46 +0000 (23:04 +0000)
commitbaf23c76486e136c0ae533c741e7e9ee45e64d81
treeadd8eb4da14588528b1c394a3d3a6c7c489f5bd8
parent163292f34f0875c467ba72947a0f65585dec4f96
Fixed the lag with Follow Path and optimized constraint loops with Track To and Lock Track. I was plainly disabling the refresh of the target, but that caused a lag (3D window, not Render). Now, it raises a flag when it find a loop, so it only disables the refreshing when it needs to.

This is a temporary fix, but a complete fix will require a rewrite of of some part of the where_is_object function, and that would take too much time before 2.31.
source/blender/blenkernel/intern/constraint.c
source/blender/makesdna/DNA_constraint_types.h
source/blender/src/editconstraint.c