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:
authorMartin Poirier <theeth@yahoo.com>2003-11-14 02:04:46 +0300
committerMartin Poirier <theeth@yahoo.com>2003-11-14 02:04:46 +0300
commitbaf23c76486e136c0ae533c741e7e9ee45e64d81 (patch)
treeadd8eb4da14588528b1c394a3d3a6c7c489f5bd8 /source/blender/makesdna
parent163292f34f0875c467ba72947a0f65585dec4f96 (diff)
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.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index 7cd0272a8cb..1fb28fb8d87 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -154,6 +154,7 @@ typedef struct bRotationConstraint{
#define CONSTRAINT_DONE 0x00000002
#define CONSTRAINT_DISABLE 0x00000004
#define CONSTRAINT_LOOPTESTED 0x00000008
+#define CONSTRAINT_NOREFRESH 0x00000010
#define CONSTRAINT_EXPAND_BIT 0
#define CONSTRAINT_DONE_BIT 1