17e1e2bfd8
Cleanup: correct spelling in comments
2021-02-05 16:23:34 +11:00
Valentin
5ac4778056
Cleanup: convert gforge task ID's to phabricator format
...
Cleanup old tracker task format to the new. e.g: [#34039 ] to T34039
Ref D8718
2020-09-30 20:11:06 +10:00
20869065b8
Cleanup: BMesh, Clang-Tidy else-after-return fixes
...
This addresses warnings from Clang-Tidy's `readability-else-after-return`
rule in the `source/blender/bmesh` module.
No functional changes.
2020-07-03 14:48:37 +02:00
2d1cce8331
Cleanup: make format after SortedIncludes change
2020-03-19 09:33:58 +01:00
82cf0ab468
Cleanup: bmesh inset comments
...
- Use doxy sections
- Don't document implementation details in doxy comments.
2020-02-15 15:24:02 +11:00
9fef5a2db4
Fix T71971: Inset with depth and relative offset fails
2020-02-14 20:38:39 +11:00
ac646bc20d
Cleanup: spelling
2019-08-31 01:21:42 +10:00
604fdb6e85
Spelling fixes in comments and descriptions, patch by luzpaz
...
Differential Revision: https://developer.blender.org/D3744
2019-07-31 14:27:35 +02:00
cd6b49f995
Cleanup: spelling
2019-07-07 15:38:41 +10:00
ee192a35e8
Cleanup: comments (long lines) in bmesh
2019-04-29 22:06:26 +10:00
ac2317f980
ClangFormat: remove '#if 0' to fix bmo_inset.c indent
2019-04-17 09:28:06 +02:00
a54bdd76cb
ClangFormat: format '#if 0' code
...
Previous cleanups didn't account for space after '#'.
2019-04-17 08:52:59 +02: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
8d7005d715
Cleanup: style, use braces for bmesh
2019-03-27 17:14:36 +11: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
89120cd241
bmesh: use 'uint' instead of 'unsigned int'
...
no functional changes.
2017-05-06 14:19:08 +10:00
6521307dcd
BMesh: rename cryptic functions
...
Use expanded names for bmesh primitive operations
(urmv jvke semv jfke).
Use 'bmesh_kernel_' prefix,
these functions aren't intended for wide use so favor readability.
Remove BM_face_vert_separate,
it wasn't used and only skipped step of finding correct loop of face.
2017-03-13 04:39:20 +11:00
1455023e64
Fix T49807: Inset faces edge rail bug
2017-01-19 10:37:04 +11:00
0a026033ae
BMesh: make toolflags optional
...
Saves 8 bytes per vert/edge/face.
Gives overall ~20-25% memory saving for dyntopo sculpting
and modifiers that use BMesh.
2016-07-01 19:29:22 +10:00
0024768f88
Cleanup: style/spelling
2016-03-14 13:21:13 +11:00
4e500101a7
Cleanup: quiet -Wcomma, cast to void where needed
2016-03-05 09:16:12 +11:00
daa90de3fd
Cleanup: shadowing (bmesh)
2015-11-23 17:40:10 +11:00
534c0af4d3
Fix BMesh memory leak w/ multires data
2015-11-05 19:07:22 +11:00
3e63c604e3
Partial revert of warning cleanup
...
These warnings are false-positives
2015-09-04 14:40:03 +10:00
Julian Eisel
ef629e0d50
Quiet warnings
...
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-09-04 01:04:37 +02:00
0018483dfa
error in last commit
2015-09-01 03:02:14 +10:00
705776db1f
Fix T45954: Inset w/ interpolated vertex color
...
Accumulating ubyte color was overflowing.
Thanks to @mont29 for suggested fix.
2015-09-01 02:51:30 +10:00
9b3722b414
avoid assert with bmesh inset
2015-06-19 09:41:39 +10:00
a5869945c6
Cleanup: bmesh src/dst order in API args
2015-05-02 15:46:03 +10:00
d580c90469
CustomData: const correctness for interp()
2015-02-23 13:54:33 +11:00
194f7f0ae8
Cleanup & remove redundant check
2014-09-12 09:53:31 +10:00
b762cc28ea
Workaround for strict flags and release build compilation
...
@campbellbarton, it's really helpful to have strict flags enabled
for release builds as well -- especially when you're working in areas
which are heavily using least squares solvers.
For now made it so blender compiles, but it could be better solution here.
2014-09-11 19:33:37 +06:00
652eaf7723
Fix for mesh-inset modifying hidden faces
2014-09-10 16:02:24 +10:00
1abcbe775b
Fix T41445: Inset creates separated UV's
2014-09-09 18:54:50 +10:00
7df4fc5eaf
Spelling
2014-08-13 09:34:37 +10:00
a217db0d63
Fix T40297: Crash while ripping an edge when autosmooth is activated.
...
Turned out there was still quite a few cases were indices were set dirty,
but elem_index_dirty was not tagged accordingly (mostly for BM_LOOP,
but a few others as well). So probably this crash was not the only one
hidden here.
Hopefully all possible cases were catched this time!
2014-05-21 22:37:50 +02:00
88a0fe5f1b
Code cleanup: use 'const' for arrays (bmesh)
2014-04-27 00:25:16 +10:00
f2c483d108
Fix T39429: Project paint error with UV bleed
2014-04-23 04:33:07 +10:00
9d5ed605fe
BMesh Inset: remove hack to store coords in normals
2014-04-22 01:36:59 +10:00
a51a0ca772
Math Lib: add shell_v3v3_normalized_to_dist and v2 version
...
bypass angle calculation to avoids (asin, sqrt, cos).
2014-04-19 22:17:10 +10:00
3977b7612f
Fix T39288: Inset regression with extreme offset
2014-03-28 21:38:12 +11:00
2a25676168
Fix for inset bug (edge rail had feedback loop with direction)
...
also disable edge-rail by default.
2014-03-28 21:38:12 +11:00
96d5e05e48
Mesh Inset: following existing edges is now optional
2014-02-15 13:51:54 +11:00
5611fb6a32
Fix T38186: mesh inset didn't follow edge directions for flat surfaces
...
also improve evenness when the inset direction wasn't exactly between both edges,
2014-01-14 09:48:59 +11:00
590f58d455
code cleanup: redundant includes and add minor comments.
2013-10-08 20:18:38 +00:00
9470754fd3
bmesh api cleanup, face creation args now accept an example face (as with vertex and edge),
...
also replace BM_face_create_quad_tri_v with BM_face_create_verts
2013-08-21 07:51:47 +00:00
8937a8b839
use BM_CREATE_NOP arg rather then zero, with pointer and bool args in either side in some cases it gets a bit confusing.
...
also correct edge-rotate where bool->flag conversion worked by accident.
2013-08-21 05:39:46 +00:00
f48efbf464
inset depth wasn't working right with relative offset, also make it work for inset individual.
2013-08-20 17:38:29 +00:00