[Bf-blender-cvs] [f46113c7b42] soc-2020-info-editor: Cleanup: add user name to todo

Mateusz Grzeliński noreply at git.blender.org
Mon Jul 6 09:24:26 CEST 2020


Commit: f46113c7b4245d001c1b8041a74166f6dc8dedd5
Author: Mateusz Grzeliński
Date:   Mon Jul 6 08:48:35 2020 +0200
Branches: soc-2020-info-editor
https://developer.blender.org/rBf46113c7b4245d001c1b8041a74166f6dc8dedd5

Cleanup: add user name to todo

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

M	source/blender/windowmanager/intern/wm_files.c
M	source/blender/windowmanager/intern/wm_files_link.c
M	source/blender/windowmanager/intern/wm_init_exit.c

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

diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 200b0ba3fca..4c3290ee609 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -3103,7 +3103,7 @@ static void wm_block_file_close_save(bContext *C, void *arg_block, void *arg_dat
   wmWindow *win = CTX_wm_window(C);
   UI_popup_block_close(C, win, arg_block);
 
-  // todo add reports and log them
+  // TODO (grzelins) add reports and log them
   int modified_images_count = ED_image_save_all_modified_info(CTX_data_main(C), NULL);
   if (modified_images_count > 0 && save_images_when_file_is_closed) {
     if (ED_image_should_save_modified(bmain)) {
diff --git a/source/blender/windowmanager/intern/wm_files_link.c b/source/blender/windowmanager/intern/wm_files_link.c
index e3b4982470e..821a2c48a9f 100644
--- a/source/blender/windowmanager/intern/wm_files_link.c
+++ b/source/blender/windowmanager/intern/wm_files_link.c
@@ -303,7 +303,7 @@ static bool wm_link_append_item_poll(ReportList *reports,
   short idcode;
 
   if (!group || !name) {
-    /* todo convert to report, but write why can not be linked. Right now it fails silently, not
+    /* TODO (grzelins) convert to report, but write why can not be linked. Right now it fails silently, not
      * great UX */
     CLOG_INFO(WM_LOG_OPERATORS,
               0,
diff --git a/source/blender/windowmanager/intern/wm_init_exit.c b/source/blender/windowmanager/intern/wm_init_exit.c
index 89b6db90a7a..d99c8ca597c 100644
--- a/source/blender/windowmanager/intern/wm_init_exit.c
+++ b/source/blender/windowmanager/intern/wm_init_exit.c
@@ -352,7 +352,6 @@ void WM_init(bContext *C, int argc, const char **argv)
    * Will try fix when the crash can be repeated. - campbell. */
 
 #ifdef WITH_PYTHON
-  // todo throws
   BPY_context_set(C); /* necessary evil */
   BPY_python_start(argc, argv);



More information about the Bf-blender-cvs mailing list