Campbell Barton
e5e73ccc90
Math Lib: rename fill_*, to copy_*
...
matching convention for fixed length api, eg: copy_v3_fl
2015-05-05 17:08:29 +10:00
Campbell Barton
e59bd19fa7
Cleanup: style & const's
2015-05-05 05:19:49 +10:00
Campbell Barton
53d08ec506
BMesh: BM_mesh_edgesplit
...
Did quite a few checks not to tag bad splits (which wasn't working perfectly)
Instead rely on BM_vert_separate not to create invalid geometry.
2015-05-02 16:24:46 +10:00
Campbell Barton
a5869945c6
Cleanup: bmesh src/dst order in API args
2015-05-02 15:46:03 +10:00
Brecht Van Lommel
d3c4553552
Fix a couple of harmless compiler warnings.
2015-05-01 19:18:26 +02:00
Campbell Barton
e9dcb068c7
Fix T44484: Edge-split corrupts mesh
...
Splitting non-manifold edges could produce duplicate edges.
2015-04-30 07:22:18 +10:00
Campbell Barton
7e36c280c2
Cleanup: redundant checks
2015-04-28 16:47:45 +10:00
Campbell Barton
89f5a09ab4
Cleanup: use 8 space indent for multi-line args
2015-04-25 20:15:20 +10:00
Campbell Barton
e688ba0304
GHash: use unsigned int for ghash_size
2015-04-13 13:45:48 +10:00
Campbell Barton
690b90f1e2
BMesh: minor optimization counting adjacent data
...
add BM_***_count_is_over(), _count_is_equal()
Useful if we only want to know if the count is a smaller value.
2015-04-12 17:38:14 +10:00
Campbell Barton
a6421e1291
BMesh: intersect was using ptr hash for int keys
2015-04-11 23:41:10 +10:00
Campbell Barton
d60ff6c112
Fix for own last commit
...
resolved bug but wasn't correct
2015-04-07 20:27:08 +10:00
Campbell Barton
20a780e3e8
Fix T44258: Can't select similar regions
2015-04-07 19:56:24 +10:00
Campbell Barton
26e50295ce
Use BKE_ghash_ensure_p where possible
2015-04-06 20:41:37 +10:00
Campbell Barton
59bfc5c76e
Fix T44270: Similar face region crash /w wire edge
2015-04-05 09:44:30 +10:00
Campbell Barton
d49eeabae7
Cleanup: warnings
2015-03-16 09:37:00 +11:00
Howard Trickey
2140cb60cb
Fix T39184: Multisegment bevel profiles should curve in-plane sometimes.
...
When the multisegment profile joins two unbeveled edges, all in the same
plane, users desire that rather than the current behavior of linear
interpolation between those edges, the profile should curve.
This changes behavior to do that. The old behavior can be obtained
by setting the profile parameter to 0.25, if desired.
2015-03-15 18:24:36 -04:00
Antony Riakiotakis
a7d292394e
Fix T43898, correct all uv layers in bevel, not only the active one
2015-03-05 18:50:44 +01:00
Bastien Montagne
ced19783fd
Fix mismatch (missing 'const' to mactch funcs declarations).
...
Was breaking windows compile, reported by bdancer over IRC, thanks.
Also, quite some annoying 'unused vars' warnings (debug-only vars).
2015-02-23 13:57:02 +01:00
Campbell Barton
5a372dbd89
Fix error in recent vert/edge-slide commits
...
`CustomData_bmesh_interp_n` was expecting the 'dest' arg not to have its offset applied.
This was a bit confusing since the source args have it applied,
and in some cases we only have the destination with the offset.
2015-02-23 13:57:06 +11:00
Campbell Barton
d580c90469
CustomData: const correctness for interp()
2015-02-23 13:54:33 +11:00
Campbell Barton
7a977df6d4
Refactor array_utils out of BLI_array
...
BLI_array.h is for resizing array macros, where as array_utils can operate on any arrays.
2015-02-14 08:00:41 +11:00
Howard Trickey
dce59530d0
Fix part 1 of T43239, multisegment vertex bevel on 2-edge vertices.
...
Implemented multisegment rounding of vertices with two edges.
Works both with wire edges and edges that have one or two faces
attached.
2015-02-12 06:55:30 -05:00
Campbell Barton
d4934f8f6d
cleanup: style/indentation
2015-02-11 18:39:28 +11:00
Campbell Barton
64124ba904
BMesh: tool to ensure all faces are convex
...
Access from Mesh -> Cleanup
2015-02-02 09:23:44 +11:00
Campbell Barton
9e9cd77b8d
Compiler warning: double-promotion
2015-02-01 01:17:21 +11:00
Campbell Barton
b09563ca8c
Cleanup: fixes for building with recent clang
2015-01-14 05:11:20 +11:00
Campbell Barton
9fadacfd0f
cleanup: style
2015-01-08 19:57:50 +11:00
Howard Trickey
bf168f0600
Fix T43137: vertex bevel percent mode wasn't implemented.
2015-01-06 09:13:38 -05:00
Campbell Barton
01c04333f5
Fix T43034: beautify-fill leaves zero area tri's
2014-12-27 16:47:42 +11:00
Campbell Barton
445e50fd1e
cleanup: use cross_tri_v2 when area isn't needed.
2014-12-26 08:46:48 +11:00
Campbell Barton
0c5eb88451
Quiet warning (harmless)
2014-12-18 02:15:42 +01:00
Campbell Barton
15bde0dbea
Docs: comments (hash table & beauty fill)
2014-12-17 09:58:23 +01:00
Campbell Barton
a5c3de2e49
Fix T42630: Triangulate returns invalid face-map
...
Triangulate with beautify caused a bug when there were existing edges
could make the bmesh-operator return an invalid face-map.
Now the beauty is calculated on the 2d-tri's resulting from polyfill,
its simpler and faster.
2014-12-09 13:08:28 +01:00
Campbell Barton
6076bedec0
Cleanup: remove scanfill define for polyfill code
...
also rename vars which were previously used for scanfill.
2014-12-09 12:19:26 +01:00
Campbell Barton
a5cd6a029f
Cleanup: style & de-duplicate
2014-12-02 10:30:29 +01:00
Campbell Barton
25c5542fe7
Math Lib: add constant: M_SQRT1_3 1/sqrt(3)
2014-11-22 18:21:52 +01:00
Campbell Barton
46e2d5ee41
Cleanup: typo
2014-11-21 14:16:35 +01:00
Campbell Barton
c31f74de6b
Cleanup: use BLI_listbase_count_ex to avoid redundant looping
2014-11-16 14:23:37 +01:00
Campbell Barton
7d040d2a08
Cleanup: use BLI_listbase_*** prefix for count,sort,sort_r
2014-11-16 13:57:58 +01:00
Campbell Barton
7d4c89e6da
Correct recent refactor (use generic callback)
2014-11-06 11:47:08 +01:00
Campbell Barton
d57ce42dfa
BMesh: arg reorder
2014-11-03 08:30:54 +01:00
Bastien Montagne
9b8be0bc0c
Cleanup/fix from latest coverity report.
...
Mostly harmless things, though the 'multires' error was a real bug.
2014-11-01 16:36:11 +01:00
Campbell Barton
133f79e449
Cleanup: warnings, typos
2014-10-29 14:15:21 +01:00
Bastien Montagne
8d1d16bf0d
Bevel modifier: Add weight support for vertices bevelling.
...
Nothing to say here, really, just a couple of lines to add to get it working...
2014-10-15 08:57:11 +02:00
Campbell Barton
30dab51c29
Cleanup: use bool and const args
2014-10-09 22:44:03 +02:00
Campbell Barton
77af624524
Quiet warning on 32bit system
2014-10-06 09:51:51 +02:00
Campbell Barton
230c272fe3
Comments: note on bmesh_region_match
...
also correct buffer type
2014-10-03 08:21:14 +02:00
Tamito Kajiyama
516dbaeb73
Fix for a build error with VS 2013.
2014-09-29 14:53:28 +09:00
Campbell Barton
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