6529d20d79
Cleanup: spelling in comments
2019-06-12 09:43:49 +10:00
e12c08e8d1
ClangFormat: apply to source, most of intern
...
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-17 06:21:24 +02:00
de13d0a80c
doxygen: add newline after \file
...
While \file doesn't need an argument, it can't have another doxy
command after it.
2019-02-18 08:22:12 +11:00
eef4077f18
Cleanup: remove redundant doxygen \file argument
...
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
2019-02-06 15:45:22 +11:00
65ec7ec524
Cleanup: remove redundant, invalid info from headers
...
BF-admins agree to remove header information that isn't useful,
to reduce noise.
- BEGIN/END license blocks
Developers should add non license comments as separate comment blocks.
No need for separator text.
- Contributors
This is often invalid, outdated or misleading
especially when splitting files.
It's more useful to git-blame to find out who has developed the code.
See P901 for script to perform these edits.
2019-02-02 01:36:28 +11:00
d7f55c4ff5
Cleanup: comment block tabs
2018-11-14 17:10:56 +11:00
854db8951b
Cleanup: strip trailing space in bmesh module
2018-06-04 08:49:47 +02:00
d042962025
Cleanup some warnings
2016-03-15 14:16:16 +05:00
89f5a09ab4
Cleanup: use 8 space indent for multi-line args
2015-04-25 20:15:20 +10:00
133f79e449
Cleanup: warnings, typos
2014-10-29 14:15:21 +01:00
13a8f650df
Cleanup
2014-07-21 10:53:07 +10:00
d82cd4d5ef
BMesh Walker: typecheck args for walker->begin()
2014-05-23 20:50:27 +10:00
412826a504
Mempool: delay allocating an initial chunk, its not always used
2014-04-08 12:58:56 +10:00
af59ee340f
Mempool: remove BLI_MEMPOOL_SYSMALLOC, MEM_* allocs are more efficient now
2014-04-05 12:14:05 +11:00
b3afbcab8f
ListBase API: add utility api funcs for clearing and checking empty
2014-02-08 06:24:05 +11:00
bbce51d116
replace hashes with sets where possible.
2013-08-25 20:03:45 +00:00
09a52f18b6
ghash: reserve size when its known or can be guessed close enough.
...
also avoid allocs per node in pbvh_bmesh_node_limit_ensure()
2013-08-24 17:33:47 +00:00
93f5e2218a
code cleanup: replace strncpy -> BLI_strncpy, skip first 2 chars when making a hash from the object name.
2013-08-04 03:45:30 +00:00
fad1da062d
correct typos in comments.
2013-06-25 22:58:23 +00:00
ed33320e3f
Code cleanup: simplify standard GHash creation.
...
Added four new functions as shortcuts to creating GHashes that use the
standard ptr/str/int/pair hash and compare functions.
GHash *BLI_ghash_ptr_new(const char *info);
GHash *BLI_ghash_str_new(const char *info);
GHash *BLI_ghash_int_new(const char *info);
GHash *BLI_ghash_pair_new(const char *info);
Replaced almost all occurrences of BLI_ghash_new() with one of the
above functions.
2012-05-16 00:51:36 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
f87c5b3453
fix [ #30715 ] bmesh: select linked not ignoring hidden verts/edges/faces
...
add optional flag to ignore hidden elements.
also remove loop mask flag - since it wasnt used and vert/edge/face is enough.
2012-03-29 13:09:07 +00:00
3c11379e26
code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).
2012-03-24 01:24:58 +00:00
95f66f162c
Fix #30504 selecting self-intersecting face loop won't work correctly.
...
Added generic secondary hash to walker. In faceloop select it is used to remember if edge has been previously visited, in addition to the hash used for faces. This solves the case where walker stops if it finds an already added face.
2012-03-21 21:40:42 +00:00
21280a6386
Code Cleanup - naming consistancy for bmesh struct types
2012-03-02 12:44:34 +00:00
bc767059cb
Code Cleanup: update to mempool, use flag rather then bool args.
2012-03-01 22:59:18 +00:00
9aafe32147
bmmesh api - use struct rather than int[4] to initialize mesh sizes.
...
also correct bad assert() in previous commit.
2012-03-01 20:09:17 +00:00
ea13ec1699
Spelling Cleanup
2012-03-01 12:20:18 +00:00
a6f420b828
update doxygen comments for bmesh.
2012-02-29 06:55:10 +00:00
03f5758b48
replace BMESH_ERROR with BMESH_ASSERT, most areas it was used are better suited to an assert anyway.
...
also tag all error cases as UNLIKELY() for better branch prediction.
2012-02-26 16:39:21 +00:00
62f9959a8e
replace bmesh_error with macro that gives the file/line/func the error happens on.
2012-02-26 14:57:41 +00:00
afc56a0b10
copying bmesh dir on its own from bmesh branch
2012-02-19 18:31:04 +00:00