[Bf-blender-cvs] [e9a243a] alembic_basic_io: Fix for missing updates when opening a file.

Kévin Dietrich noreply at git.blender.org
Tue Jun 7 10:59:23 CEST 2016


Commit: e9a243a3c93972623886079a87078379a87acc07
Author: Kévin Dietrich
Date:   Tue Jun 7 10:15:33 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rBe9a243a3c93972623886079a87078379a87acc07

Fix for missing updates when opening a file.

===================================================================

M	source/blender/alembic/intern/alembic_capi.cc

===================================================================

diff --git a/source/blender/alembic/intern/alembic_capi.cc b/source/blender/alembic/intern/alembic_capi.cc
index 3f33eef..1968cbc 100644
--- a/source/blender/alembic/intern/alembic_capi.cc
+++ b/source/blender/alembic/intern/alembic_capi.cc
@@ -332,7 +332,7 @@ int ABC_export(Scene *scene, bContext *C, const char *filepath,
 
 	/* setup job */
 	WM_jobs_customdata_set(wm_job, job, MEM_freeN);
-	WM_jobs_timer(wm_job, 0.1, NC_SCENE | ND_COMPO_RESULT, NC_SCENE | ND_COMPO_RESULT);
+	WM_jobs_timer(wm_job, 0.1, NC_SCENE | ND_FRAME, NC_SCENE | ND_FRAME);
 	WM_jobs_callbacks(wm_job, export_startjob, NULL, NULL, export_endjob);
 
 	WM_jobs_start(CTX_wm_manager(C), wm_job);
@@ -562,7 +562,7 @@ void ABC_import(bContext *C, const char *filepath, float scale, bool is_sequence
 
 	/* setup job */
 	WM_jobs_customdata_set(wm_job, job, MEM_freeN);
-	WM_jobs_timer(wm_job, 0.1, NC_SCENE | ND_COMPO_RESULT, NC_SCENE | ND_COMPO_RESULT);
+	WM_jobs_timer(wm_job, 0.1, NC_SCENE | ND_FRAME, NC_SCENE | ND_FRAME);
 	WM_jobs_callbacks(wm_job, import_startjob, NULL, NULL, NULL);
 
 	WM_jobs_start(CTX_wm_manager(C), wm_job);




More information about the Bf-blender-cvs mailing list