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:
-rw-r--r--source/blender/editors/space_sequencer/sequencer_edit.c32
-rw-r--r--source/blender/windowmanager/intern/wm_playanim.c12
2 files changed, 1 insertions, 43 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index 9d96226027a..54e9b65e3b3 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -35,7 +35,6 @@
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
-#include "BLI_fileops.h"
#include "BLI_ghash.h"
#include "BLI_math.h"
#include "BLI_timecode.h"
@@ -929,37 +928,6 @@ static bool sequence_offset_after_frame(Scene *scene, const int delta, const int
return done;
}
-static void UNUSED_FUNCTION(touch_seq_files) (Scene *scene)
-{
- Sequence *seq;
- Editing *ed = BKE_sequencer_editing_get(scene, false);
- char str[256];
-
- /* touch all strips with movies */
-
- if (ed == NULL) return;
-
- // XXX25 if (okee("Touch and print selected movies")==0) return;
-
- WM_cursor_wait(1);
-
- SEQP_BEGIN (ed, seq)
- {
- if (seq->flag & SELECT) {
- if (seq->type == SEQ_TYPE_MOVIE) {
- if (seq->strip && seq->strip->stripdata) {
- BLI_make_file_string(G.main->name, str, seq->strip->dir, seq->strip->stripdata->name);
- BLI_file_touch(seq->name);
- }
- }
-
- }
- }
- SEQ_END
-
- WM_cursor_wait(0);
-}
-
#if 0
static void set_filter_seq(Scene *scene)
{
diff --git a/source/blender/windowmanager/intern/wm_playanim.c b/source/blender/windowmanager/intern/wm_playanim.c
index eadb87518c0..675958cf0a3 100644
--- a/source/blender/windowmanager/intern/wm_playanim.c
+++ b/source/blender/windowmanager/intern/wm_playanim.c
@@ -1238,12 +1238,6 @@ static char *wm_main_playanim_intern(int argc, const char **argv)
exit(1);
}
-#if 0 //XXX25
-#if !defined(WIN32) && !defined(__APPLE__)
- if (fork()) exit(0);
-#endif
-#endif //XXX25
-
{
GHOST_EventConsumerHandle consumer = GHOST_CreateEventConsumer(ghost_event_proc, &ps);
@@ -1528,15 +1522,11 @@ static char *wm_main_playanim_intern(int argc, const char **argv)
AUD_Sound_free(source);
source = NULL;
#endif
-
-#if 0 // XXX25
- free_blender();
-#else
/* we still miss freeing a lot!,
* but many areas could skip initialization too for anim play */
BLF_exit();
-#endif
+
GHOST_DisposeWindow(g_WS.ghost_system, g_WS.ghost_window);
/* early exit, IMB and BKE should be exited only in end */