diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-01-13 01:54:30 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-01-13 01:54:30 +0300 |
commit | ae25863d6cb859ff8d18db41960ba3a0ff2dc8f1 (patch) | |
tree | 28ff01dd1298bc823e6d1c91d50936e2c293ebc2 /source/blender/blenkernel/intern | |
parent | ab39a3f2b79a037efecac11ebcd94868a16a67ef (diff) |
2.5
* Tweaked a few incorrect comments in Constraints code
* Made Sequencer use View2D system correctly (only looked at the 'time-grid' thing so far).
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/constraint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c index 52448fca8d6..f83428766f9 100644 --- a/source/blender/blenkernel/intern/constraint.c +++ b/source/blender/blenkernel/intern/constraint.c @@ -3389,7 +3389,7 @@ void copy_constraints (ListBase *dst, ListBase *src) dst->first= dst->last= NULL; BLI_duplicatelist(dst, src); - for (con=dst->first, srccon=src->first; con; srccon=srccon->next, con=con->next) { + for (con=dst->first, srccon=src->first; con && srccon; srccon=srccon->next, con=con->next) { bConstraintTypeInfo *cti= constraint_get_typeinfo(con); /* make a new copy of the constraint's data */ |