Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2021-11-15 22:33:34 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-11-15 22:33:34 +0300
commit46f5f60c13717849990fb31ac4e5f995010e65a9 (patch)
tree1423a434ef1c5f33207609874e293eddc30cf055 /source/blender/blenkernel/intern
parent10a6a540af31e1c96f13a0faee75e3c924a772e5 (diff)
parenta040d2a93a7d5b615dc7d408925f00e87a603472 (diff)
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/movieclip.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/movieclip.c b/source/blender/blenkernel/intern/movieclip.c
index f4db81fffc5..34fb9f71bd9 100644
--- a/source/blender/blenkernel/intern/movieclip.c
+++ b/source/blender/blenkernel/intern/movieclip.c
@@ -1925,6 +1925,11 @@ void BKE_movieclip_build_proxy_frame_for_ibuf(MovieClip *clip,
}
}
+bool BKE_movieclip_proxy_enabled(MovieClip *clip)
+{
+ return clip->flag & MCLIP_USE_PROXY;
+}
+
float BKE_movieclip_remap_scene_to_clip_frame(const MovieClip *clip, float framenr)
{
return framenr - (float)clip->start_frame + 1.0f;