Campbell Barton
c9c76a9a68
add compiler hints that failing to create a bmesh face is unlikely.
2012-10-01 11:12:49 +00:00
Campbell Barton
ed1cda9a6c
style cleanup
2012-09-30 06:12:47 +00:00
Campbell Barton
f3850ca13b
fix for adding triangle-fan filled circle not tagging the center vertex.
2012-09-27 03:32:13 +00:00
Campbell Barton
dbeddcdbce
style cleanup: also correct incorrect doxy heading
2012-09-26 20:26:31 +00:00
Campbell Barton
aa49ca25d5
incorrect spelling in comments
2012-09-26 20:05:38 +00:00
Campbell Barton
e2baa41ec7
fix [ #32665 ] Inconsistent Circle Mesh Edge Subdivision
2012-09-26 11:14:40 +00:00
Campbell Barton
25c96bc9f3
code cleanup: remove unused macros, commet some which may be useful later - or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
2012-09-20 01:02:39 +00:00
Campbell Barton
db051f2b2d
fix MESH_OT_tris_convert_to_quads() limit options (uv and vertex color) were not working at all.
2012-09-19 04:48:34 +00:00
Campbell Barton
e75f5c8208
quiet -Wmissing-prototypes warnings, and enable this warning by default for C with gcc.
...
helps for finding unused functions and making functions static, also did some minor code cleanup.
2012-09-15 01:52:28 +00:00
Campbell Barton
319831d7b8
code cleanup: use an enum for uiBut->pointype (more useful debug display of members),
...
and rename COL -> COLOR --- less confusing since the layout engine has row/col's.
2012-09-11 23:10:23 +00:00
Campbell Barton
9411716f31
fix for error in own recent commit
2012-09-06 11:02:27 +00:00
Campbell Barton
47ec91e8d3
code clenup: comments and some style edits on ghost/osx (odd indentation)
2012-09-06 02:10:09 +00:00
Campbell Barton
5c52455fba
fix [ #32500 ] Odd behaviour with subdividing an ngon
2012-09-06 01:06:36 +00:00
Campbell Barton
20b84ec37c
committed by accident
2012-09-05 23:30:30 +00:00
Campbell Barton
36797a64a5
code cleanup: use *(*var)[2] for pairs in bmesh code rather then a 1d array stepping by 2.
2012-09-05 23:17:19 +00:00
Campbell Barton
6e85ffc4fa
code cleanup: bmesh subdivide code was growing arrays one by one, when the final size is known - do this in one go.
...
also replace for loops with iterator macros.
2012-09-05 19:21:55 +00:00
Campbell Barton
bd53226b5c
fix [ #32423 ] Extrude crash
...
mistake in r50086 caused the crash (killing the wrong vertex)
2012-09-03 00:30:55 +00:00
Brecht Van Lommel
5ecff7a240
Fix #32329 : inset produces incorrect result, epsilon was too small to handle
...
floating point error.
2012-08-31 16:10:13 +00:00
Campbell Barton
3da7e0f3bf
mesh bridge tool now leaves bridge faces selected.
2012-08-24 17:58:49 +00:00
Campbell Barton
d3a566457b
fix for merged bridge crashing on closed loops (own bug in recent commit)
2012-08-24 16:55:25 +00:00
Campbell Barton
b5e90d6b1c
fix [ #32357 ] Subdivide fails on newly created edge
...
problem since bmesh merge, new edges were not selected.
2012-08-24 14:54:14 +00:00
Campbell Barton
6e90903baf
- add BM_data_interp_from_edges() function (matches BM_data_interp_from_verts).
...
- bridge-merged now merges edge customdata and flags for verts and edges.
2012-08-23 05:19:40 +00:00
Campbell Barton
c0c575751d
bmesh tool: support for merged-bridge (like bridge, collapsing), with a
...
factor to blend between loops.
2012-08-23 04:55:59 +00:00
Brecht Van Lommel
84e80b6904
Fix #32301 : mesh select more/less not taking hidden vertices/faces into account.
2012-08-22 15:10:07 +00:00
Brecht Van Lommel
d3f1222d38
Fix #32262 : mesh bridge between edge loops failed to find a good edge matching
...
in some cases, in particular when the the edge loops were not planar.
Now rather than finding the shortest distance between two vertices, one from
each edge loop and using that as a starting point, it now finds the smallest
sum of distances between all vertex pairs that would be connected.
2012-08-22 14:27:06 +00:00
Brecht Van Lommel
809fce9d00
Fix #32341 : extrude with a mirror modifier could lead to orphan vertices, it
...
was already removing unnecessary edges, just not vertices of those edges.
2012-08-21 14:38:03 +00:00
Campbell Barton
ca7d1ec39d
style cleanup: use <pre> for doxygen ascii art
2012-08-13 15:17:15 +00:00
Campbell Barton
b96c622015
style cleanup
2012-08-11 22:12:32 +00:00
Campbell Barton
9ff4fa6671
style cleanup
2012-08-04 12:30:16 +00:00
Campbell Barton
f608b3c444
code cleanup:
...
- building without python works again
- rename maxi/mini to i_max/i_min (so thay are available for function names)
- some minor edits to IK stretch setting (no functional changes).
2012-07-29 17:49:14 +00:00
Sergey Sharybin
718569dc16
Fix #32199 : Smooth Vertex no longer has X, Y and Z options.
2012-07-27 17:35:02 +00:00
Campbell Barton
90d215535e
add option so operators can be called with a flag, currently the only flag is to respect hidden geometry.
...
this is useful for bmesh tools that operate in object mode or for modifiers which would previously use hidden faces in some cases.
2012-07-21 00:58:02 +00:00
Campbell Barton
32cf7fcdb1
code cleanup: spelling
2012-07-16 23:23:33 +00:00
Campbell Barton
3a0593cc3d
code cleanup: dont use function calls like dot_v3v3, pow and sqrt within macros which results in calling the function multiple times needlessly.
...
also added some comments.
2012-07-06 22:48:28 +00:00
Campbell Barton
2336aadb80
decrease size for convex hull epsilon when checking which side of a face the vertex is on.
...
this doesnt fix all cases but works better then it did.
2012-07-06 20:16:04 +00:00
Campbell Barton
1a9e7a00f3
style cleanup: var names
2012-07-06 19:22:21 +00:00
Campbell Barton
5f3bd06f37
code cleanup: use a define for bmesh hull epsilon
2012-07-05 18:03:07 +00:00
Campbell Barton
8b865c01cd
style cleanup: comments
2012-06-30 22:49:33 +00:00
Campbell Barton
2932cded40
fix for own error renaming bmesh operator dupe
2012-06-30 21:19:12 +00:00
Campbell Barton
69a7e0af02
rename bmesh ops since they are exposed in an api now.
2012-06-30 15:27:13 +00:00
Nicholas Bishop
f57c1c8b34
Avoid adding overlapping triangles in convex hull
...
Add an epsilon value to the point-outside-hull test, helps when some
of the input vertices are nearly coplanar.
Fixes bug [#31941 ] convex hull fails (and depends on vertex order when it shouldn't)
http://projects.blender.org/tracker/index.php?func=detail&aid=31941&group_id=9&atid=498
2012-06-27 18:39:17 +00:00
Campbell Barton
3e305c1018
bmesh.ops module for bmesh operator access, only remove_doubles and convex_hull at the moment.
2012-06-26 21:40:01 +00:00
Joseph Eagar
bd9192670b
Added option in shift-g to select verts by number of connected edges (valence).
2012-06-15 01:43:01 +00:00
Campbell Barton
0a2da1ee45
patch [ #31574 ] Screw seams to not work
...
from Benoit Donat-Bouillud (ladeheria)
from tracker -
When using a screw axis (reference edge for screw), the operation always give the same result (as if the orientation of the reference edge was not take into account).
2012-06-13 16:06:13 +00:00
Campbell Barton
56c5c63f57
code cleanup: doxy comment filename corrections
2012-06-08 23:43:11 +00:00
Campbell Barton
e6d75d8974
fix [ #31674 ] BMesh Corrupt Stack around BMVert array "verts" - ONLY ON DEBUG VERSION
2012-06-03 17:16:20 +00:00
Campbell Barton
032d83ecc4
style cleanup: defines with braces
2012-05-27 20:13:59 +00:00
Campbell Barton
5b8cbbe3fd
code cleanup: fix possible use of uninitialized value and remove dead initializations.
2012-05-23 21:39:39 +00:00
Nicholas Bishop
ec29e2620e
Clear skin root flag on new vertices created by extruding.
...
Skin modifier documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/SkinModifier
2012-05-22 15:30:05 +00:00
Campbell Barton
2d2d36fe3b
code cleanup:
...
- style - multi-line ifs move braces onto new lines.
- iterators - convert some to macros, other split up and move brace.
2012-05-20 19:49:27 +00:00