diff options
author | Martin Poirier <theeth@yahoo.com> | 2005-09-07 04:11:39 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2005-09-07 04:11:39 +0400 |
commit | 1dba65e296276ed78222f19a127c90773a1f0416 (patch) | |
tree | 577dba12dfbd157bd0628a3a9fc62db3c226c566 /source/blender/blenloader/intern/writefile.c | |
parent | c1155c6a4d8b6fd9b7872bc5aaa86af771022c27 (diff) |
Roland Hess' Floor Constraint patch: https://projects.blender.org/tracker/?func=detail&aid=2993&group_id=9&atid=127
Minor modifications to simplify the code in evaluate_constraint.
The "Stick" feature will need more work as it gives bad results when skipping frames, jumping around on the timeline and when going backward in time.
Suggestion: Would be nice if it could use the local space too, not just global space planes.
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index ade29114907..57c5c90555e 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -612,6 +612,9 @@ static void write_constraints(WriteData *wd, ListBase *conlist) case CONSTRAINT_TYPE_STRETCHTO: writestruct(wd, DATA, "bStretchToConstraint", 1, con->data); break; + case CONSTRAINT_TYPE_MINMAX: + writestruct(wd, DATA, "bMinMaxConstraint", 1, con->data); + break; default: break; } |