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:
authorSybren A. Stüvel <sybren@blender.org>2019-09-17 15:10:47 +0300
committerSybren A. Stüvel <sybren@blender.org>2019-09-17 15:10:47 +0300
commit398de6a86f47eff66f3a4369033f5df3347f6d94 (patch)
tree81a3105aa96ecb554ef6ddb0841db37288cd482e /source/blender/alembic/intern/alembic_capi.cc
parenta3c8afc7cd9add80c353497d70dad3cd234d3adf (diff)
Alembic: fix updating of GUI when export progress is made
The `do_update` variable wasn't set after changing the `progress` variable, causing the GUI only to update on redraw (f.e. when the user was waving the mouse around).
Diffstat (limited to 'source/blender/alembic/intern/alembic_capi.cc')
-rw-r--r--source/blender/alembic/intern/alembic_capi.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/alembic/intern/alembic_capi.cc b/source/blender/alembic/intern/alembic_capi.cc
index f9dc688c159..6547ce54a00 100644
--- a/source/blender/alembic/intern/alembic_capi.cc
+++ b/source/blender/alembic/intern/alembic_capi.cc
@@ -261,7 +261,7 @@ static void export_startjob(void *customdata, short *stop, short *do_update, flo
const int orig_frame = CFRA;
data->was_canceled = false;
- exporter(progress, &data->was_canceled);
+ exporter(do_update, progress, &data->was_canceled);
if (CFRA != orig_frame) {
CFRA = orig_frame;