diff options
author | Jacques Lucke <mail@jlucke.com> | 2018-10-19 11:51:18 +0300 |
---|---|---|
committer | Jacques Lucke <mail@jlucke.com> | 2018-10-19 11:51:33 +0300 |
commit | c92f125e75b5980db1dbe08bd30df8dc0ecb3d56 (patch) | |
tree | c392f5c4ce4e5689d2ca148ef1e281a666e4ed25 /source/blender/blenkernel/intern/movieclip.c | |
parent | 56fd821e9711eb64d8fa2a9fef538f1c6a32fdf4 (diff) |
Partial Revert: bring back some comments
Diffstat (limited to 'source/blender/blenkernel/intern/movieclip.c')
-rw-r--r-- | source/blender/blenkernel/intern/movieclip.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/movieclip.c b/source/blender/blenkernel/intern/movieclip.c index 4d70c2a7c94..0117b36a16e 100644 --- a/source/blender/blenkernel/intern/movieclip.c +++ b/source/blender/blenkernel/intern/movieclip.c @@ -1155,6 +1155,17 @@ bool BKE_movieclip_has_frame(MovieClip *clip, MovieClipUser *user) void BKE_movieclip_get_size(MovieClip *clip, MovieClipUser *user, int *width, int *height) { +#if 0 + /* originally was needed to support image sequences with different image dimensions, + * which might be useful for such things as reconstruction of unordered image sequence, + * or painting/rotoscoping of non-equal-sized images, but this ended up in unneeded + * cache lookups and even unwanted non-proxied files loading when doing mask parenting, + * so let's disable this for now and assume image sequence consists of images with + * equal sizes (sergey) + * TODO(sergey): Support reading sequences of different resolution. + */ + if (user->framenr == clip->lastframe) { +#endif if (clip->lastsize[0] != 0 && clip->lastsize[1] != 0) { *width = clip->lastsize[0]; *height = clip->lastsize[1]; |