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-18 03:13:22 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-11-18 03:13:22 +0300
commitd6b5251572f15b06d1215d1fd8d3d34f2741902e (patch)
tree79cf51e884a0a9be15ad7ec6ef886ebbb6ff8b5c /source/blender/sequencer
parentfa7a6d67a8084d6c26084d811ec959595aa92fdf (diff)
parentb071083496638e7e96b787f524a5b9add094010d (diff)
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'source/blender/sequencer')
-rw-r--r--source/blender/sequencer/intern/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/sequencer/intern/render.c b/source/blender/sequencer/intern/render.c
index 2246336369b..6030b49537c 100644
--- a/source/blender/sequencer/intern/render.c
+++ b/source/blender/sequencer/intern/render.c
@@ -2112,7 +2112,7 @@ int SEQ_render_thumbnails_guaranteed_set_frame_step_get(const Sequence *seq)
/* Arbitrary, but due to performance reasons should be as low as possible. */
const int thumbnails_base_set_count = min_ii(content_len / 100, 30);
if (thumbnails_base_set_count <= 0) {
- return 0;
+ return content_len;
}
return content_len / thumbnails_base_set_count;
}