[Bf-blender-cvs] [986329b4c40] master: Cleanup: comments

Campbell Barton noreply at git.blender.org
Thu Apr 11 17:07:19 CEST 2019


Commit: 986329b4c40b1cb0ef5e6cbd695c45d7bffa97af
Author: Campbell Barton
Date:   Fri Apr 12 00:58:54 2019 +1000
Branches: master
https://developer.blender.org/rB986329b4c40b1cb0ef5e6cbd695c45d7bffa97af

Cleanup: comments

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

M	source/blender/editors/gpencil/gpencil_utils.c
M	source/blender/windowmanager/intern/wm_files.c

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

diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c
index bb3da77ffac..44510a3f6ad 100644
--- a/source/blender/editors/gpencil/gpencil_utils.c
+++ b/source/blender/editors/gpencil/gpencil_utils.c
@@ -992,7 +992,7 @@ void ED_gp_project_stroke_to_plane(
 
 /**
  * Reproject given point to a plane locked to axis to avoid stroke offset
- * \param[in, out] pt : Point to affect
+ * \param[in,out] pt: Point to affect
  */
 void ED_gp_project_point_to_plane(
         const Scene *scene, const Object *ob,
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index 0b990be3eec..f4127a6b44b 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -405,7 +405,11 @@ static int wm_read_exotic(const char *name)
 				retval = BKE_READ_EXOTIC_OK_BLEND;
 			}
 			else {
-#if 0           /* historic stuff - no longer used */
+				/* We may want to support loading other file formats
+				 * from their header bytes or file extension.
+				 * This used to be supported in the code below and may be added
+				 * back at some point. */
+#if 0
 				WM_cursor_wait(true);
 
 				if (is_foo_format(name)) {



More information about the Bf-blender-cvs mailing list