diff options
author | Richard Antalik <richardantalik@gmail.com> | 2022-02-09 15:42:58 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2022-02-09 15:42:58 +0300 |
commit | b4700a13c6aba992539af9d31c5f2c23d95b23fb (patch) | |
tree | f2e010f8aa1913e1c8ea629719158ac5568ae325 /source/blender/makesdna | |
parent | 7c10e364b2358f08fa49ce35fc98d4de1431e615 (diff) |
VSE: Use float for transformation offset
When image position is animated, float makes movement look smoother.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_sequence_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h index 70f0dc3f5de..622175a8429 100644 --- a/source/blender/makesdna/DNA_sequence_types.h +++ b/source/blender/makesdna/DNA_sequence_types.h @@ -73,8 +73,8 @@ typedef struct StripCrop { } StripCrop; typedef struct StripTransform { - int xofs; - int yofs; + float xofs; + float yofs; float scale_x; float scale_y; float rotation; |