diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-01-09 02:11:32 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-01-09 02:11:32 +0300 |
commit | 974819aa03c3308620c503b37df094795e73d698 (patch) | |
tree | cbf3b7a646c17be60de91361a42ee9b9f1331cf2 | |
parent | 2630c2c9f3ff191587c5ff380ead82e63fdc843e (diff) |
Bugfix #8068: StretchTo constraints once again messed up
Removed the version-patches to reset the rest-lengths of StretchTo constraints when loading old files. I can't remember why I added these in the first place, but they seem to cause problems from time to time...
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index ef1eabed28c..0c9e81b7bed 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6722,14 +6722,6 @@ static void do_versions(FileData *fd, Library *lib, Main *main) curcon->ownspace = CONSTRAINT_SPACE_LOCAL; } break; - case CONSTRAINT_TYPE_STRETCHTO: - { - bStretchToConstraint *data= (bStretchToConstraint *)curcon->data; - - /* force recalc of rest-length */ - data->orglength = 0; - } - break; } } } @@ -6761,14 +6753,6 @@ static void do_versions(FileData *fd, Library *lib, Main *main) curcon->tarspace = CONSTRAINT_SPACE_LOCAL; } break; - case CONSTRAINT_TYPE_STRETCHTO: - { - bStretchToConstraint *data= (bStretchToConstraint *)curcon->data; - - /* force recalc of rest-length */ - data->orglength = 0; - } - break; } } |