diff options
author | Sebastian Parborg <darkdefende@gmail.com> | 2021-05-20 21:48:44 +0300 |
---|---|---|
committer | Sebastian Parborg <darkdefende@gmail.com> | 2021-05-20 21:48:44 +0300 |
commit | 695fa3a4a1a2773ee714f919274eba5807877cfb (patch) | |
tree | d19e42ee4432cd07464b44ef08c54af6fe30f9e5 /source/blender/blenkernel/intern/object.c | |
parent | 1400fdf558f3b834ab3c1c46f5c722d1d4a4f07d (diff) | |
parent | 6a0906c09a263f5fb17449407f5988c4bda53436 (diff) |
Merge branch 'blender-v2.93-release'
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index 109037bc95a..034af924ab1 100644 --- a/source/blender/blenkernel/intern/object.c +++ b/source/blender/blenkernel/intern/object.c @@ -3285,6 +3285,10 @@ static bool ob_parcurve(Object *ob, Object *par, float r_mat[4][4]) ctime = cu->ctime; } + if (cu->flag & CU_PATH_CLAMP) { + CLAMP(ctime, 0.0f, 1.0f); + } + unit_m4(r_mat); /* vec: 4 items! */ |