Snapshot -> movie for SEEG sensors on cortex is broken

Hi-

The snapshot -> movie functionality to display SEEG contacts on cortex is currently broken. I use this regularly and it appears this broke with the most recent release.

Matlab throws the following error:

>> Index exceeds the number of array elements. Index must not exceed 0.

Error in bst_memory>GetTimeVector (line 3053)
        TimeVector = linspace(Time(1), Time(2), NumberOfSamples);

Error in bst_memory (line 73)
eval(macro_method);

Error in out_figure_movie (line 76)
TimeVector = bst_memory('GetTimeVector', iDS, [], 'UserTimeWindow');

Error in figure_3d>@(h,ev)out_figure_movie(hFig,DefaultOutputDir,'horizontal') (line 1938)
gui_component('MenuItem', jMenuSave, [], 'Movie (horizontal)', IconLoader.ICON_MOVIE, [], @(h,ev)out_figure_movie(hFig, DefaultOutputDir, 'horizontal'));

Indeed, this new bug was introduced in: Figure movie: Allow non-interactive creation of movies · brainstorm-tools/brainstorm3@a7f41ca · GitHub

It is now fixed in: Bugfix: commit a7f41ca3: Allow non-interactive creation of movies · brainstorm-tools/brainstorm3@404d82c · GitHub
Please update Brainstorm again.

@Raymundo.Cassani Does this break any other use case?

It's working for me now.

Merci Francois!