diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-10-16 00:02:08 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-10-16 00:20:45 +0300 |
commit | e11b33fec33392640e74b9f180572fc0a504287e (patch) | |
tree | fc5528eeac6e5239b6f48e01ec7db2ba07665db0 /source/blender/editors/transform/transform_convert_sequencer_image.c | |
parent | 81514b0e913b03ab7fb6aa779d23a1d651ad82b7 (diff) |
Remove math for 2D affine transform
Commit e1665c3d3190 added math to do 2D affine transformations with 3x3
matrices, but these matrices are also used for 3D transformations.
Remove added functions and use 4x4 matrices for 2D transformation.
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D12510
Diffstat (limited to 'source/blender/editors/transform/transform_convert_sequencer_image.c')
-rw-r--r-- | source/blender/editors/transform/transform_convert_sequencer_image.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_convert_sequencer_image.c b/source/blender/editors/transform/transform_convert_sequencer_image.c index 2b5ed268504..c0dbd5404a4 100644 --- a/source/blender/editors/transform/transform_convert_sequencer_image.c +++ b/source/blender/editors/transform/transform_convert_sequencer_image.c @@ -87,9 +87,8 @@ static TransData *SeqToTransData(const Scene *scene, unit_m3(td->mtx); unit_m3(td->smtx); - unit_m3(td->axismtx); - rotate_m3(td->axismtx, transform->rotation); + axis_angle_to_mat3_single(td->axismtx, 'Z', transform->rotation); normalize_m3(td->axismtx); tdseq->seq = seq; |