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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-29 15:05:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-29 15:06:26 +0300
commitf9ee08610ac5f66441ddc972f403ca28c7d943d0 (patch)
tree20c55fa8e6f4d8bf9a4f8f5c0783d3bc3e800df4 /source
parentbbbf1664309b6c30581ea6db035620c4abfe8e46 (diff)
Cleanup: comments (long lines) in misc libraries
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenfont/intern/blf_thumbs.c4
-rw-r--r--source/blender/blenlib/intern/hash_mm2a.c2
-rw-r--r--source/blender/blenloader/intern/readblenentry.c5
-rw-r--r--source/blender/blenloader/intern/readfile.c6
4 files changed, 10 insertions, 7 deletions
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);