4d7d1b5dae
Cleanup: comments in BMesh bisect, use doxygen sections
2021-04-30 15:49:33 +10:00
Wannes Malfait
f903e3a3fd
Fix build error: use of unintialized variable
...
Differential Revision: https://developer.blender.org/D11115
2021-04-29 14:49:19 +05:30
d31d5523d5
Fix T87863: Bisect fails when edges of an N-gon lie on the plane
...
Logic for bisect handled edges in the face crossing the plane,
but not concave N-gons containing multiple edges that lie on the plane.
2021-04-29 16:15:48 +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
2fb9c8ef12
Cleanup: add missing macros to clang-format
2019-04-21 04:40:16 +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
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
5c3953010d
Cleanup: spelling
2018-12-19 10:18:15 +11:00
e757c4a3be
Cleanup: use colon separator after parameter
...
Helps separate variable names from descriptive text.
Was already used in some parts of the code,
double space and dashes were used elsewhere.
2018-12-12 12:50:58 +11:00
ae8225ba6d
Fix BMesh bisect not flagging dirty indices
2018-05-15 09:04:12 +02:00
60956397ca
Cleanup: BLI_utildefines prefix for header-only libs
...
This allows to have different macro headers without them sharing
similar names to regular C modules.
2017-09-19 20:16:05 +10:00
89120cd241
bmesh: use 'uint' instead of 'unsigned int'
...
no functional changes.
2017-05-06 14:19:08 +10:00
2b3cc24388
Fix T50920: Adds missing edges on return of bisect operator
2017-03-13 09:22:11 -03: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
9ac83d499e
Fix bisect flagging w/ multiple cuts on an ngon
...
Caused symmetrize to fail for concave ngons crossing the midpoint multiple times.
2016-01-09 02:06:45 +11:00
02cbc3c1e0
Cleanup: indentation
2015-05-17 17:25:57 +10:00
46e2d5ee41
Cleanup: typo
2014-11-21 14:16:35 +01:00
30dab51c29
Cleanup: use bool and const args
2014-10-09 22:44:03 +02:00
c729ce7e05
BMesh: remove point-in-face test for bisect
...
instead track inside/outside state while stepping over intersections.
2014-09-28 19:19:58 +10:00
7df4fc5eaf
Spelling
2014-08-13 09:34:37 +10:00
f32079d4b9
BLI_stackdefines
...
Bounds check the stack while debugging, also add STACK_PEEK
2014-06-29 05:57:48 +10:00
c5ccbacdaa
move STACK_* macros into BLI_stackdefines.h
2014-06-25 00:01:33 +10:00
48881ad1e0
Code cleanup: doxy comments
2014-05-14 15:00:47 +10:00
3d031d1f3a
BMesh: minor changes for BM_face_split use
2014-03-13 18:41:45 +11:00
62aa004c25
Style Cleanup: whitespace
2014-01-12 22:05:24 +11:00
04a902965e
BMesh optimize face splitting by taking loops rather then verts
...
- add BM_vert_pair_share_face
- add BM_loop_is_adjacent
- remove BM_verts_connect
2013-12-24 11:13:58 +11:00
bea9c3ab30
Fix T36998: Bisect would operate on unselected vertices.
2013-11-19 07:00:18 +11:00
1ae0de2f3a
fix [ #37013 ] Mesh > bisect can't fill the cut if it lines up with two or more adjacent vertices
2013-10-16 03:21:55 +00:00
0b1cf4c2ea
code cleanup: warnings and minor edits.
2013-10-04 17:47:58 +00:00
ec4a7fcad1
fix for lasso selection (in non-zbuf mode) when the line intersected its self.
...
isect_point_poly_v2() - add argument to check overlapping areas.
2013-10-04 10:48:24 +00:00
43217da6d9
set mempool debug in the game-engine-player too. also remove redundant mempool includes.
2013-10-03 16:34:00 +00:00
2dc988df8c
reorder BLI_strict_flags.h include so its not conflicting with stdio.h on apple.
2013-09-03 04:39:12 +00:00
2924a02a35
move strict compiler checks into a header so its easier to manage in one place (pragmas were copied around).
...
also enable more strict warnings for BLF (which had some incorrect casts).
2013-09-01 00:46:04 +00:00
11703b4955
style cleanup
2013-08-27 21:30:33 +00:00
620d674b85
fix error in recently added symmetrize rewrite, verts already on the aligned to the mirror-plane would not be welded.
2013-08-23 13:27:44 +00:00
6f4b79d5af
edits to new symmetrize tool
...
- snap axis-aligned verts to the center.
- expose the threshold for detecting if a vertex is on the axis.
2013-08-23 05:32:43 +00:00
6cba2b8d73
move bmesh tools into their own include,
...
changes to tool args would rebuild far too many files and these are mainly by modifiers outside of bmesh.
2013-08-23 04:22:07 +00:00
e97f979f73
new bmesh operator bisect_plane, cuts a mesh in half, takes a user defined plane as an argument, handles concave ngons which need multiple cuts.
2013-08-22 17:56:08 +00:00