1a7eb3454e
style cleanup
2012-09-08 08:59:47 +00:00
a9f10b6bc2
style cleanup
2012-09-08 06:40:03 +00:00
9411716f31
fix for error in own recent commit
2012-09-06 11:02:27 +00:00
47ec91e8d3
code clenup: comments and some style edits on ghost/osx (odd indentation)
2012-09-06 02:10:09 +00:00
5c52455fba
fix [ #32500 ] Odd behaviour with subdividing an ngon
2012-09-06 01:06:36 +00:00
20b84ec37c
committed by accident
2012-09-05 23:30:30 +00:00
df51ab27ed
code cleanup: BM_face_legal_splits() was doing some redundant assignments.
2012-09-05 23:22:47 +00:00
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
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
aaafa0c2fe
code cleanup: move file string defines into BLI_path_utils.h, BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03 22:04:14 +00:00
5c2d9022d9
Fix knife bug #30764 , failure to cut sometimes.
...
Two bugs: first, the point-in-face function had a bug that made it fail for the xz or yz planes.
Second, in ortho mode, simultaneous linehits need careful sorting.
Also, in orth mode it is somewhat random whether the edges exactly behind the front ones are reported 'hit' by bvh tree, so put in code to prevent cuts along the parallel-to-view faces when not in cut-through mode.
2012-09-03 14:37:34 +00:00
bd53226b5c
fix [ #32423 ] Extrude crash
...
mistake in r50086 caused the crash (killing the wrong vertex)
2012-09-03 00:30:55 +00:00
5ecff7a240
Fix #32329 : inset produces incorrect result, epsilon was too small to handle
...
floating point error.
2012-08-31 16:10:13 +00:00
fe9b1c644f
Fix #32458 : changing UV image in image editor not working when the active face
...
was not selected. Now changed it so that the active face must also have its
UVs shown in the image editor to be used as the source of the image shown.
2012-08-31 15:01:40 +00:00
ee96cde864
style cleanup: whitespace
2012-08-26 11:35:43 +00:00
32e4e0f873
add conjugate_qt_qt(), also some code cleanup and use const for 'rotOrders' var in math_rotation.c
2012-08-25 17:42:15 +00:00
ed0489bb6e
style cleanup: also spelling
2012-08-24 23:22:34 +00:00
3da7e0f3bf
mesh bridge tool now leaves bridge faces selected.
2012-08-24 17:58:49 +00:00
d3a566457b
fix for merged bridge crashing on closed loops (own bug in recent commit)
2012-08-24 16:55:25 +00:00
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
0dd42fd513
Fix #32387 : some mesh modifications breaking other shape keys.
...
The vertex shapekey index is now no longer copied, and propagation of offsets
in the basis to other shapekeys is disabled if new vertices were added. The
reason being that the propagation will only be done for the old vertices leaving
the new ones behind, and so doing e.g. subdivide + translate on the basis would
create a mess on other shape keys.
2012-08-23 13:54:30 +00:00
e91e1814d0
fix own error in BM_data_interp_from_edges() from recent commit.
2012-08-23 09:20:15 +00:00
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
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
84e80b6904
Fix #32301 : mesh select more/less not taking hidden vertices/faces into account.
2012-08-22 15:10:07 +00:00
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
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
cf3d58512b
- fix for error in ndof patch.
...
- ColorBalanceModifierData wasn't aligned on 32bit systems.
- BM_vert_find_first_loop() was missing NULL check.
2012-08-19 15:56:49 +00:00
27b4b45543
utility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in a linked list by a pointer.
2012-08-18 16:16:13 +00:00
9e742ffc2b
style cleanup: also correct some doxy comments
2012-08-18 13:07:48 +00:00
e9caa21830
fix own error in recent smoothview cleanup, also correct some cross references in bmesh docs.
2012-08-17 14:43:20 +00:00
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
c41e1e434a
code cleanup: replace MIN2/MAX2 with minf/maxf
2012-07-29 16:59:51 +00:00
718569dc16
Fix #32199 : Smooth Vertex no longer has X, Y and Z options.
2012-07-27 17:35:02 +00:00
d9fcbe2f59
remove BMO_OP_FLAG_RATIONALIZE_NORMALS option which wasnt used anywhere.
2012-07-21 01:09:11 +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
c8db1e832d
minor edits for bmesh api
2012-07-20 09:49:54 +00:00
32cf7fcdb1
code cleanup: spelling
2012-07-16 23:23:33 +00:00
75a5eab8d1
code cleanup
2012-07-08 21:37:59 +00:00
84bf3e48c0
style cleanup: use c style comments in C code
2012-07-06 23:56:59 +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
1b6a4c1c9b
Fix [ #32003 ] Triangulate fails for simple case.
...
Main problem was in poly_rotate_plane() (which rotates a ngon to make its normal aligned with Z axis), it did not handled the case where the normal was aligned but opposite to the Z axis (which had the consequence that, as with the T mesh of the given blend, all tested new edges inside face were detected as outside, and vice-versa...).
Additionnaly, I made a mistake in previous Triangulate commit (r48243) in bm_face_goodline, which could allow a few invalid triangles in some specific cases, fixed!
And done a bit of cleanup, as I was at it.
2012-07-06 07:40:54 +00:00
5f3bd06f37
code cleanup: use a define for bmesh hull epsilon
2012-07-05 18:03:07 +00:00
558721ab59
More spell checking.
2012-07-04 15:04:38 +00:00
2ed69a95f4
add bmesh/python operator support for vector and matrix args.
...
also rename BMO_OP_SLOT_PNT to BMO_OP_SLOT_PTR (matches RNA and sounds less like 'point')
2012-07-02 20:28:43 +00:00