Pratik Borhade
493628e541
Fix T67190: Edge Loop Select doesn't support non-manifold edges
...
- New Walker added `bmw_NonManifoldedgeWalker_type`.
- This walks over edges connected with 3 or more faces connected.
Ref D10497 with edits.
2021-03-10 23:04:37 +11:00
e6a5e548d5
Cleanup: correct and update comments for bmesh walkers
...
- Correct variable names which were missed when refactoring.
- Use full sentences.
2021-01-31 17:42:42 +11:00
213f8294b5
Fix T84906: Loop select can fail when starting from an ngon
...
When stepping over an ngon's edges, check the number of edges & faces,
to ensure the topology connected to the ngon would be walked along.
2021-01-29 10:06:56 +11:00
1e355b0992
Docs: add diagrams describing the purpose of BMwEdgeLoopWalker.f_hub
...
Without this the purpose of this feature isn't clear.
While 01b3e9cc9f
linked to an image,
add inline ascii diagrams with detailed explanations.
2021-01-29 10:06:52 +11:00
aa3a4973a3
Cleanup: use ELEM macro
2020-11-06 12:32:54 +11:00
4b188bb08c
Cleanup: use over-line for doxy comments
...
Follow our code style for doxygen sections.
2020-10-27 21:45:55 +11:00
3d26cd01b9
Spelling: Apart Versus A Part
...
Corrects incorrect usages of the fragment 'apart of' when 'a part of' was required.
Differential Revision: https://developer.blender.org/D9245
Reviewed by Campbell Barton
2020-10-19 09:47:19 -07:00
d1eefc4215
Spelling: Then Versus Than
...
Corrects incorrect usages of the words 'then' and 'than'.
Differential Revision: https://developer.blender.org/D9246
Reviewed by Campbell Barton
2020-10-19 08:43:08 -07: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
b1959a96a2
Cleanup: spelling
2019-08-18 04:26:34 +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
909665a0d4
ClangFormat: run with ReflowComments on source/
...
Prepare for enabling ReflowComments.
2019-05-01 11:13:14 +10:00
ee192a35e8
Cleanup: comments (long lines) in bmesh
2019-04-29 22:06:26 +10:00
41d4a19865
ClangFormat: format '#if 0' code in source/
2019-04-17 08:24:14 +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
854db8951b
Cleanup: strip trailing space in bmesh module
2018-06-04 08:49:47 +02: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
a46d930d8b
BMesh: add BMW_ISLAND_MANIFOLD
...
An island walker that only walks over manifold edges.
2016-05-12 05:59:59 +10:00
f6948083e9
BMesh Island Walker: use direct loop access
2016-05-12 05:30:20 +10:00
1b003511be
BMesh: boundary walker, skip non-manifold loops
...
Instead of setting an exception, treat non-manifold edges as boundaries.
2016-05-12 04:39:01 +10:00
daa90de3fd
Cleanup: shadowing (bmesh)
2015-11-23 17:40:10 +11:00
df61c50ffa
Fix T46651: Select linked crash w/ wire seam edges
2015-10-31 17:10:22 +11:00
fdc8b12726
Cleanup: whitespace, unused var
2015-08-06 13:03:07 +10:00
a7442bef59
Fix selecting linked edges
2015-08-05 20:24:27 +10:00
49f88326af
Docs: doxy cleanup/minor edits
2015-08-01 12:37:52 +10:00
1d9fbdc9a0
Fix T45455: Select linked issue w/ hidden faces
2015-07-21 12:02:11 +10:00
e807520a1e
BMesh: minor optimization for UV island walker
2015-06-20 16:40:39 +10:00
173c1133a8
Fix own mistake selecting linked
2015-06-16 20:33:36 +10:00
af434fea71
BMesh: select linked /w delimiters & wire edges
...
Add support for using edge delimiters mixed with wire edges.
Code isn't so elegant but users will expect this.
2015-05-29 14:41:39 +10:00
547b676181
BMesh: add loop-shell walker
2015-05-15 17:07:57 +10:00
bc371030a7
BMesh: rename loop walker -> edgeloop
2015-05-15 10:55:56 +10:00
0154096fd5
Cleanup: unused headers
2014-11-28 23:12:12 +01:00
133f79e449
Cleanup: warnings, typos
2014-10-29 14:15:21 +01:00
f2a0062042
Use ARRAY_SIZE to replace (sizeof(a) / sizeof(*a))
2014-06-17 02:47:57 +10:00
365ff66987
GSet, GHash: Add BLI_gset_add, since its common to add members to a set
...
also rename BLI_edgeset_reinsert -> BLI_edgeset_add, in this case its the same.
2014-06-14 00:47:12 +10:00
fad267bf57
BMesh Walker: add face-shell walker
2014-05-23 20:50:27 +10:00
7e78322eef
BMesh Walker: rename BMW_SHELL -> BMW_VERT_SHELL
2014-05-23 20:50:27 +10:00
d82cd4d5ef
BMesh Walker: typecheck args for walker->begin()
2014-05-23 20:50:27 +10:00
b6e967be63
Code cleanup: const args and arrays
2014-04-27 08:56:54 +10:00
668250deb8
BMesh: minor change to looping
2014-04-12 13:06:08 +10:00
ec4e12d9a2
Code cleanup: comments and typos
2014-03-18 05:40:18 +11:00
6aff80a9d1
BMesh: simple edge boundary walker
2014-03-07 10:39:30 +11:00
6b2d1d1493
Docs: doxygen sections for bmesh walkers
2014-02-22 18:52:14 +11:00
62aa004c25
Style Cleanup: whitespace
2014-01-12 22:05:24 +11:00
7c8c49a34a
style cleanup
2013-10-21 23:35:08 +00:00
87fb70cad2
fix for crash dissolving faces, bmesh walkers were using freed mempool elements.
...
use a convention for freeing walker-states where freed-dangling pointers aren't left assigned to prevent errors like this happening in future.
2013-10-03 13:35:57 +00:00