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:
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-rw-r--r--source/blender/windowmanager/intern/wm_files.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index f50049f93b7..0c2cb7dab3e 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -120,12 +120,12 @@
static void write_history(void);
-/* To be able to read files without windows closing, opening, moving
- we try to prepare for worst case:
- - active window gets active screen from file
- - restoring the screens from non-active windows
- Best case is all screens match, in that case they get assigned to proper window
-*/
+/* To be able to read files without windows closing, opening, moving
+ * we try to prepare for worst case:
+ * - active window gets active screen from file
+ * - restoring the screens from non-active windows
+ * Best case is all screens match, in that case they get assigned to proper window
+ */
static void wm_window_match_init(bContext *C, ListBase *wmlist)
{
wmWindowManager *wm;
@@ -173,11 +173,11 @@ static void wm_window_match_init(bContext *C, ListBase *wmlist)
}
/* match old WM with new, 4 cases:
- 1- no current wm, no read wm: make new default
- 2- no current wm, but read wm: that's OK, do nothing
- 3- current wm, but not in file: try match screen names
- 4- current wm, and wm in file: try match ghostwin
-*/
+ * 1- no current wm, no read wm: make new default
+ * 2- no current wm, but read wm: that's OK, do nothing
+ * 3- current wm, but not in file: try match screen names
+ * 4- current wm, and wm in file: try match ghostwin
+ */
static void wm_window_match_do(bContext *C, ListBase *oldwmlist)
{
@@ -332,13 +332,13 @@ static int wm_read_exotic(Scene *UNUSED(scene), const char *name)
}
else {
//XXX waitcursor(1);
- /*
+#if 0 /* historic stuff - no longer used */
if(is_foo_format(name)) {
read_foo(name);
retval= BKE_READ_EXOTIC_OK_OTHER;
}
else
- */
+#endif
{
retval= BKE_READ_EXOTIC_FAIL_FORMAT;
}