ee192a35e8
Cleanup: comments (long lines) in bmesh
2019-04-29 22:06:26 +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
854db8951b
Cleanup: strip trailing space in bmesh module
2018-06-04 08:49:47 +02:00
c62e3a05b0
Cleanup: -Wnonnull-compare GCC warning
2017-11-24 14:29:17 +11:00
bc3f0cfd14
BMesh: add limited support for parallelization over some basic iterators.
...
This merely uses new memloop/task looper over vertex/edge/face mempools.
Quite obviously, only BM_VERTS/EDGES/FACES_OF_MESH iterators are
supported.
2017-11-23 21:19:54 +01:00
5e1c729882
Cleanup: use function attrs for BMesh inline funcs
2015-05-02 15:45:57 +10:00
3c0605c0ef
BMesh: generic callbacks for mempool iterator
2014-09-24 14:55:30 +10:00
d98b6a289c
BMesh: typecheck iterator
2014-08-02 18:05:13 +10:00
78c35c7720
bmesh: optimize iterator size using a union for iterator specific data.
...
on 64bit system reduces the struct to 64bytes, was 120, also avoids initializing unused values.
2013-05-25 09:46:28 +00:00
d17a8639e4
Added typecasts to keep c++ from reporting errors
2013-03-02 12:16:23 +00:00
2005f7c6c0
style cleanup: also some typos
2013-02-11 00:49:00 +00:00
ef0ed228ec
remove NULL checks for BM_iter_new() element iterators. replace checks with assert().
2013-01-14 19:46:30 +00:00
b27854bd47
use booleans for bmesh api.
2013-01-14 16:42:43 +00:00
028dbb132d
add asserts for invalid iteratpr values so we can catch them in debug mode.
2012-04-19 22:40:09 +00:00
ebbfcd71e5
Fixed crash in iter api, triggered by calling index_update() on the loop py seq in the py api. Note, I didn't fix the underlying problem (bad iter type) so loops.index_update() still isn't working (it's just not crashing).
2012-04-19 21:14:11 +00:00
3c11379e26
code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).
2012-03-24 01:24:58 +00:00