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
Campbell Barton
8e4fdba19c
Cleanup: typo
2014-09-27 20:32:12 +10:00
Sergey Sharybin
e6edc1b09d
Fix ocmpilation error with strict flags after the recent commit
2014-09-26 20:17:21 +06:00
Campbell Barton
2f4e70702c
BMesh: select similar regions
...
Select operator that takes multiple selected face regions and
selects any number of matching regions (when they have distinguishing features to isolate them).
UI access next.
2014-09-26 23:06:20 +10:00
Campbell Barton
90e1746d89
BMesh: correct flag use
...
Allowed fill to make duplicate faces
2014-08-21 13:08:13 +10:00
Campbell Barton
d42c085516
Fix T41517: BMesh intersect crash
2014-08-21 09:23:07 +10:00
Campbell Barton
d93c07d987
Cleanup
2014-08-21 09:23:07 +10:00
Campbell Barton
ed08597442
Correct mistake in recently added intersect tool
...
Sorting verts along an edge wasn't working reliably.
2014-08-20 12:44:11 +10:00
Campbell Barton
ea07d93f77
Fix for fix (don't guess enum's sign)
2014-08-19 07:08:15 +10:00
Bastien Montagne
2a514f8e29
Fix building on some compilers (clang on OSX).
...
Reported and patch by jensverwiebe (jens verwiebe).
2014-08-18 15:39:40 +02:00
Campbell Barton
b9ebf44139
BMesh: intersect tool
...
Modeling tool to cut intersections into geometry (like boolean, without calculating inside/outside).
Faces are split along intersections, leaving new edges selected.
Access from Face menu.
2014-08-18 17:09:30 +10:00
Campbell Barton
7df4fc5eaf
Spelling
2014-08-13 09:34:37 +10:00
Campbell Barton
eadfddd02a
Cleanup: magic numbers
2014-08-12 15:58:53 +10:00
Campbell Barton
e1819cc918
Fix T40948: Fill holes fails in certain case
2014-08-08 04:30:24 +10:00
Campbell Barton
ce0ff266e9
GHash: generic comparison for int[4]
2014-07-30 07:30:18 +10:00
Campbell Barton
13a8f650df
Cleanup
2014-07-21 10:53:07 +10:00
Campbell Barton
00b29156e0
Defines: replace ELEM3-16 with ELEM(...), that can take varargs
2014-07-20 01:33:40 +10:00
Howard Trickey
70453c578d
Fix T34664: bevel face material can be set in tool and modifier.
...
Now the bevel tool, modifier, and internal operator have a material
slot # parameter that the user can set. If left at default of -1,
behavior is as current -- bevel face material is taken from the
closest original face (this may be ambiguous). If material slot
is >= 0, it gives the material slot index number for the material
to use.
2014-07-17 09:20:22 -04:00
Campbell Barton
3b81aae5c1
BMesh: avoid redundant normalize comparing angles
2014-07-14 14:22:15 +10:00
Campbell Barton
f32079d4b9
BLI_stackdefines
...
Bounds check the stack while debugging, also add STACK_PEEK
2014-06-29 05:57:48 +10:00
Campbell Barton
e947dd8cd7
BMesh: add BM_vert_is_edge_pair(), faster then checking (BM_vert_edge_count(v) == 2)
2014-06-27 20:28:32 +10:00
Campbell Barton
c3deb16c16
BMesh: add ability not to delete vertex when collapsing
2014-06-27 20:28:02 +10:00
Campbell Barton
c5ccbacdaa
move STACK_* macros into BLI_stackdefines.h
2014-06-25 00:01:33 +10:00
Howard Trickey
b5213b2dea
Fix T40007 Bevel tool resets after getting to 1.
...
If the side of a beveled edge hit another vertex, the offset
amount reset to zero. This was the result of commit rB1582dd5e4d7c
which clamped the amount to zero to avoid creating spikes with
obtuse angles. Now we clamp the amount to the closest end of
the edge to where the amount wants to be.
Also fixes the first part of T40365.
2014-06-14 17:47:44 -04:00
Campbell Barton
d6287b213b
BLI_gsqueue: use size_t for elem_size (was casting all over)
2014-06-15 03:49:25 +10:00
Campbell Barton
9f0466fb6b
Quiet double promotion warning & ws edit
2014-06-13 02:22:40 +10:00
Howard Trickey
8c2b5ffb11
Fix Bevel bug T39746, small scale gives flat profile.
...
With very small meshes or very small bevel amounts, the bevel
profile would be flat even if a round one was requested.
Problem was that the code was checking the length of a cross
product for closeness to zero to test coplanarity. Needed
to normalize things before making that test to account for scale.
2014-06-12 10:22:10 -04:00