Commit: f9ee08610ac5f66441ddc972f403ca28c7d943d0
Author: Campbell Barton
Date:   Mon Apr 29 22:05:11 2019 +1000
Branches: master
https://developer.blender.org/rBf9ee08610ac5f66441ddc972f403ca28c7d943d0

Cleanup: comments (long lines) in misc libraries

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

M       source/blender/blenfont/intern/blf_thumbs.c
M       source/blender/blenlib/intern/hash_mm2a.c
M       source/blender/blenloader/intern/readblenentry.c
M       source/blender/blenloader/intern/readfile.c

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

diff --git a/source/blender/blenfont/intern/blf_thumbs.c 
b/source/blender/blenfont/intern/blf_thumbs.c
index 2b34b1f8324..802f97fc5f5 100644
--- a/source/blender/blenfont/intern/blf_thumbs.c
+++ b/source/blender/blenfont/intern/blf_thumbs.c
@@ -107,8 +107,8 @@ void BLF_thumb_preview(const char *filename,
 
     font->pos[1] -= font->glyph_cache->ascender * 1.1f;
 
-    /* We fallback to default english strings in case not enough chars are 
available in current font
-     * for given translated string (useful in non-latin i18n context, like 
chinese,
+    /* We fallback to default english strings in case not enough chars are 
available in current
+     * font for given translated string (useful in non-latin i18n context, 
like chinese,
      * since many fonts will then show nothing but ugly 'missing char' in 
their preview).
      * Does not handle all cases, but much better than nothing.
      */
diff --git a/source/blender/blenlib/intern/hash_mm2a.c 
b/source/blender/blenlib/intern/hash_mm2a.c
index 32b6e1a5465..0899491cd0d 100644
--- a/source/blender/blenlib/intern/hash_mm2a.c
+++ b/source/blender/blenlib/intern/hash_mm2a.c
@@ -25,7 +25,7 @@
  * See also:
  * reference implementation:
  * - https://smhasher.googlecode.com/svn-history/r130/trunk/MurmurHash2.cpp
- * - 
http://programmers.stackexchange.com/questions/49550/which-hashing-algorithm-is-best-for-uniqueness-and-speed
+ * - http://programmers.stackexchange.com/questions/49550
  *
  * \warning Do not store that hash in files or such, it is not endian-agnostic,
  * so you should only use it for temporary data.
diff --git a/source/blender/blenloader/intern/readblenentry.c 
b/source/blender/blenloader/intern/readblenentry.c
index 5e4fe4ce269..4b22a59a155 100644
--- a/source/blender/blenloader/intern/readblenentry.c
+++ b/source/blender/blenloader/intern/readblenentry.c
@@ -439,8 +439,9 @@ BlendFileData *BLO_read_from_memfile(Main *oldmain,
 #endif
         }
       }
-      /* In any case, we need to move all lib datablocks themselves - those 
are 'first level data',
-       * getting rid of them would imply updating spaces & co to prevent 
invalid pointers access. */
+      /* In any case, we need to move all lib datablocks themselves - those are
+       * 'first level data', getting rid of them would imply updating spaces & 
co
+       * to prevent invalid pointers access. */
       BLI_movelisttolist(&newmain->libraries, &oldmain->libraries);
 
       blo_join_main(&new_mainlist);
diff --git a/source/blender/blenloader/intern/readfile.c 
b/source/blender/blenloader/intern/readfile.c
index bb766d7c6db..b88a2ca2167 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -8050,7 +8050,8 @@ static void lib_link_workspace_layout_restore(struct 
IDNameLib_Map *id_map,
 
             BLI_mempool_iternew(so->treestore, &iter);
             while ((tselem = BLI_mempool_iterstep(&iter))) {
-              /* Do not try to restore pointers to drivers/sequence/etc., can 
crash in undo case! */
+              /* Do not try to restore pointers to drivers/sequence/etc.,
+               * can crash in undo case! */
               if (TSE_IS_REAL_ID(tselem)) {
                 tselem->id = restore_pointer_by_name(id_map, tselem->id, 
USER_IGNORE);
               }
@@ -9724,7 +9725,8 @@ BlendFileData *blo_read_file_internal(FileData *fd, const 
char *filepath)
 
   BKE_main_id_tag_all(bfd->main, LIB_TAG_NEW, false);
 
-  /* Now that all our data-blocks are loaded, we can re-generate overrides 
from their references. */
+  /* Now that all our data-blocks are loaded,
+   * we can re-generate overrides from their references. */
   if (fd->memfile == NULL) {
     /* Do not apply in undo case! */
     BKE_main_override_static_update(bfd->main);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to