Fix for bug #1109 FollowPath not working with motion blur

http://projects.blender.org/tracker/index.php?func=detail&aid=1109&group_id=9&atid=125
This commit is contained in:
Martin Poirier
2004-04-04 16:20:49 +00:00
parent 05707df10c
commit 9bb2ad02ad

View File

@@ -306,7 +306,6 @@ void Mat4BlendMat4(float out[][4], float dst[][4], float src[][4], float srcweig
float qmat[3][3], smat[3][3];
int i;
dstweight = 1.0F-srcweight;
Mat3CpyMat4(mat3, dst);
@@ -633,7 +632,7 @@ short get_constraint_target (bConstraint *con, short ownertype, void* ownerdata,
if(cu->path==0 || cu->path->data==0) calc_curvepath(data->tar);
curvetime = ctime - data->offset;
curvetime= bsystem_time(data->tar, data->tar->parent, (float)ctime, 0.0) - data->offset;
if(calc_ipo_spec(cu->ipo, CU_SPEED, &curvetime)==0) {
curvetime /= cu->pathlen;
@@ -933,8 +932,6 @@ void evaluate_constraint (bConstraint *constraint, Object *ob, short ownertype,
Mat4CpyMat4(tmat, ob->obmat);
Mat4MulMat34(ob->obmat, totmat, tmat);
}
}
break;