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
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
1e2ceabbe1
correct error in face walker (was inserting into the wrong ghash which was immediately freed after)
2013-08-24 16:43:09 +00:00
638c021039
tweak to edge-loop select, so loop selecting a side of a subdivided triangle selects all edges along one side.
2013-05-30 21:39:12 +00:00
ec834f8234
Bug fix, IRC report.
...
Mesh with very strange topology makes loop-select (ALT+select) crash.
Missing NULL check for do-while loop that can return NULL.
For Campbell: here's the file to check: http://www.pasteall.org/blend/21576
2013-05-23 16:01:25 +00:00
5888830acb
tweak to r56784, no functional change, utility function worked confusingly.
2013-05-14 06:10:26 +00:00
3b8b62ea4e
fix for problem where edge loop select would select too many vertices (extend selection too far),
...
before & after: http://www.graphicall.org/ftp/ideasman42/edgeloop_select_fix.png
2013-05-14 04:55:21 +00:00
b31e03fdd1
refactor bmesh edge loop walker,
...
was getting too complicated handing different cases at once, split out boundary case into its own branch.
2013-05-14 04:09:02 +00:00
92da9792fe
fix for strange behavior with loop select involving ngons,
...
when selecting a loop with quads on one side an ngon on another - never select the outer boundary edge of the ngon.
2013-05-13 17:42:27 +00:00