ca7d1ec39d
style cleanup: use <pre> for doxygen ascii art
2012-08-13 15:17:15 +00:00
b96c622015
style cleanup
2012-08-11 22:12:32 +00:00
9ff4fa6671
style cleanup
2012-08-04 12:30:16 +00:00
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
718569dc16
Fix #32199 : Smooth Vertex no longer has X, Y and Z options.
2012-07-27 17:35:02 +00:00
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
32cf7fcdb1
code cleanup: spelling
2012-07-16 23:23:33 +00:00
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
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
1a9e7a00f3
style cleanup: var names
2012-07-06 19:22:21 +00:00
5f3bd06f37
code cleanup: use a define for bmesh hull epsilon
2012-07-05 18:03:07 +00:00
8b865c01cd
style cleanup: comments
2012-06-30 22:49:33 +00:00
2932cded40
fix for own error renaming bmesh operator dupe
2012-06-30 21:19:12 +00:00
69a7e0af02
rename bmesh ops since they are exposed in an api now.
2012-06-30 15:27:13 +00:00
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
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
bd9192670b
Added option in shift-g to select verts by number of connected edges (valence).
2012-06-15 01:43:01 +00:00
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
56c5c63f57
code cleanup: doxy comment filename corrections
2012-06-08 23:43:11 +00:00
e6d75d8974
fix [ #31674 ] BMesh Corrupt Stack around BMVert array "verts" - ONLY ON DEBUG VERSION
2012-06-03 17:16:20 +00:00
032d83ecc4
style cleanup: defines with braces
2012-05-27 20:13:59 +00:00
5b8cbbe3fd
code cleanup: fix possible use of uninitialized value and remove dead initializations.
2012-05-23 21:39:39 +00:00
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
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
c0bd076bfd
style cleanup: and add missing files to cmake
2012-05-17 23:12:15 +00:00
9dd981a440
style cleanup: block comments
2012-05-16 23:37:23 +00:00
ed33320e3f
Code cleanup: simplify standard GHash creation.
...
Added four new functions as shortcuts to creating GHashes that use the
standard ptr/str/int/pair hash and compare functions.
GHash *BLI_ghash_ptr_new(const char *info);
GHash *BLI_ghash_str_new(const char *info);
GHash *BLI_ghash_int_new(const char *info);
GHash *BLI_ghash_pair_new(const char *info);
Replaced almost all occurrences of BLI_ghash_new() with one of the
above functions.
2012-05-16 00:51:36 +00:00
0de912b82d
Partial fix for bug #31458 Convex Hull operator crash
...
Change hull's point/triangle side test to > rather than >=.
This seems to fix the (infinite?) loop, but not the crash.
2012-05-14 20:59:08 +00:00
f87fda5864
Fix precision issue for bmo_hull.interior_geom output slot.
...
Keep track of interior verts during the hull build to avoid
imprecise floating-point test afterward.
2012-05-14 20:58:59 +00:00
c8ebfe1d12
code cleanup:
...
- use bmesh iterator macros in more places
- rename scanfill variables (were using same names as mesh faces/verts which was confusing)
2012-05-13 14:47:53 +00:00
305d341ec2
code cleanup: use vector math function minmax_v3v3_v3() and other minor vector function edits.
2012-05-13 11:05:52 +00:00
23c0d49a7c
optimization for select similar
...
- use angle_normalized_v3v3() where both vectors are known to be normalized.
- remove needless radian to degrees conversions.
- move checks for customdata layers outside the inner loop (for bevel and crease).
2012-05-12 14:25:14 +00:00
821b231bd6
add bevel to select similar edges operator
2012-05-12 14:06:35 +00:00
32ba51c4a1
fix for limited dissolve (after sine intended fixes - not cleaning up before vertex dissolve would skip dissolving some verts that should be dissolved).
...
now do this:
- edge dissolve
- cleanup (removing edges left over from dissolving faces)
cleanup removes verts and NULL vertex input array
- dissolve verts which haven't been removed.
2012-05-06 18:37:08 +00:00
a731e13043
code cleanup: function naming, use BKE_*type* prefix.
2012-05-05 14:03:12 +00:00
4c5502bfd6
code cleanup: function naming for BLI functions.
2012-05-05 00:23:55 +00:00
65b5362c74
fix [ #31235 ] Limited Dissolve problems
...
this is in fact 2 bugs.
- unselected edges between 2 faces that were joined didnt get removed.
- in face mode, edges and verts at the boundary of the selection would get incorrectly dissolved.
also quiet float/double promotion warning.
2012-05-04 15:02:02 +00:00
4ea8c9ab38
Small hull bmop fix, distance check from plane needs absolute value.
2012-05-04 03:25:46 +00:00
2a1ba8c85b
style cleanup: formatting and some float/double promotion
2012-05-03 19:57:24 +00:00
3ee4be913b
Fix #31139 : fractal mesh subdivide was only working along normal where previously
...
it would displace in all directions. Now there's an operator option to control this.
2012-05-03 10:14:08 +00:00
6f0cb140b0
Initialize an input in bmo_hull.
2012-05-02 23:29:52 +00:00
5d4fd04f05
Fix #31230 : Grid primitive changes size with changing resolution
2012-05-02 09:03:15 +00:00
4cfa761951
source code style checker to, (similar to pythons pep8 checker)
...
currently checks for brace placement and some whitespace use.
can be accessed with:
make test_style
or...
source/tools/check_style_c.py source/blender
also style cleanup on bmo_primitives.c
2012-05-01 20:36:39 +00:00
933b3166fc
style cleanup: guys - set your editors to tabs!
2012-05-01 17:51:03 +00:00
8f3ed0501e
code cleanup: quiet clang warnings, these would likely never but wont hurt to quiet them,
2012-04-30 10:47:32 +00:00
5979893711
style cleanup: edits to convex hull.
2012-04-30 10:39:35 +00:00
70f1279eab
Add convex hull operator (bmesh operator and wm operator.)
...
Image-heavy user documentation:
http://wiki.blender.org/index.php/User:Nicholasbishop/Convex_Hull
Thanks to Campbell for providing code review:
http://codereview.appspot.com/6114060
2012-04-29 16:09:40 +00:00
04d8ef3c47
wireframe option to crase edges at the hub, much nicer subsurf
2012-04-29 12:33:56 +00:00
41a5e731a2
bmesh: new wireframe tool
...
- makes wireframe from faces.
- options similar to inset (even offset, relative scale)
- copies face settings and loops (uvs, vcolors)
- optionally replaces the existing geometry.
2012-04-29 10:44:00 +00:00
ef054e165c
style cleanup: format 'for' loop macros the same as for loops, some renaming to BLI_array macros.
2012-04-28 15:14:16 +00:00