Depsgraph: Use new API for alembic C-API
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 3 Nov 2017 16:52:26 +0000 (17:52 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 6 Nov 2017 08:24:24 +0000 (09:24 +0100)
source/blender/alembic/intern/alembic_capi.cc

index c8735df21d5d66e338321ad55897b16bb1951af5..d17182a0d6569862bc9c1a6194d1d142affdc2a2 100644 (file)
@@ -274,7 +274,7 @@ static void export_startjob(void *customdata, short *stop, short *do_update, flo
                if (CFRA != orig_frame) {
                        CFRA = orig_frame;
 
-                       BKE_scene_update_for_newframe(data->bmain->eval_ctx, data->bmain, scene);
+                       BKE_scene_graph_update_for_newframe(data->bmain->eval_ctx, data->depsgraph, data->bmain, scene);
                }
 
                data->export_ok = !data->was_canceled;