020fdeb760
Cleanup: de-duplicate quad_coord & resolve_quad_uv_v2
2015-11-04 04:01:15 +11:00
268538853c
Correct error in recent commit
2015-11-04 00:01:41 +11:00
bed91b623f
Edge/Vert slide: improve multires interpolation
...
Need to re-interpolate the entire face, not just the connected loop.
Also add BM_face_interp_multires()
2015-11-03 20:38:23 +11:00
f75d6c4a8f
BMesh: add BM_loop_interp_multires_ex which takes cached vars
...
Avoid recalculating face centers (for each loop) when interpolating multires.
2015-11-03 18:28:13 +11:00
77e223ddd5
BMesh: inline vert-loop iteration for normal calc
...
Calculating normals is called often (sculpting for eg),
so avoid using high-level iterator here.
2015-11-03 17:46:09 +11:00
ac7abb55d7
Cleanup: use 'const' for BMesh checking funcs
2015-11-03 17:06:56 +11:00
073ae9c572
Fix flip normals w/ multires
...
Needs Z axis flip to maintain the shape.
2015-11-03 15:50:59 +11:00
5f0f861b1d
BMesh: avoid mdisp lookups (minor optimization)
2015-11-03 15:50:52 +11:00
56bcda8bc6
Fix BMesh selection flushing w/ mixed modes
...
Fix for T46494 wasn't working properly when de-selecting faces,
adjacent faces would remain selected but have unselected edges.
Logic here is admittedly rather fragile since it relies on both
selection functions and flushing afterwards.
2015-11-02 17:04:29 +11:00
df61c50ffa
Fix T46651: Select linked crash w/ wire seam edges
2015-10-31 17:10:22 +11:00
afe3b55483
Cleanup: warning & whitespace
2015-10-26 22:22:30 +11:00
f53a21747c
Fix T46494: Can't de-select a face w/ mixed modes
2015-10-15 19:57:51 +11:00
b098609186
Fix various compiler warnings.
2015-10-10 17:35:30 +02:00
e4e8e359a1
BMesh: maintain select-history when sorting
2015-10-07 15:40:32 +11:00
605a2c8490
Cleanup: warning, style
2015-09-21 06:59:50 +10:00
09e40a4956
Cleanup: spelling
2015-09-14 02:22:22 +10:00
10c93a582b
Check for no-op edge separates to quiet asserts when inset individual.
...
This causes no change in behavior, since code was alreadying doing
a no-op in bmesh_edge_separate if the edge is a boundary.
But it tripped an assert, annoying in debug builds.
We want to leave assert in bmesh_edge_separate in case callers
expect there to be separate loops after this always.
So putting test in caller.
(Same worry about bmesh_urmv_loop? I checked callers and they
appear OK to me - they deal with the no-op return.)
2015-09-03 10:42:16 -04:00
9304df5182
Fix T45939: Crash w/ BMesh.*.sort()
2015-09-01 16:07:34 +10:00
6db978f6d1
BMesh: add asserts for BMesh sort ghash lookups
2015-09-01 15:43:49 +10:00
a7b349d03c
Cleanup: redundant cast
2015-09-01 15:01:13 +10:00
2e2dc9b9e3
Refactor translation code out of blenfont
...
- Add blentranslation `BLT_*` module.
- moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`).
- moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-18 07:01:26 +10:00
fdc8b12726
Cleanup: whitespace, unused var
2015-08-06 13:03:07 +10:00
a7442bef59
Fix selecting linked edges
2015-08-05 20:24:27 +10:00
49f88326af
Docs: doxy cleanup/minor edits
2015-08-01 12:37:52 +10:00
03f00eb91d
Docs: doxy corrections
2015-07-31 23:44:37 +10:00
32157d8d01
Triangulate wasn't clearing arena after each use
2015-07-29 12:01:55 +10:00
1d9fbdc9a0
Fix T45455: Select linked issue w/ hidden faces
2015-07-21 12:02:11 +10:00
bf6ac302cd
Correct own error w/ recent changes to triangulate
2015-07-20 16:12:30 +10:00
2cffd6649b
Match face tessellation order in edimode
...
add a negated version of axis_dominant_v3_to_m3
2015-07-14 22:29:31 +10:00
12aff8d783
Add 'loop slide' option to bevel. See T45260
...
Current behavior of bevel is to 'loop slide' along unbeveled edges
when possible, but this produces uneven bevel widths sometimes,
so this option lets user choose between having the loop slide effect
or having more even bevel widths. Trying it out with default being
'no loop slide', so different from current behavior. May reverse this
choice later, depending on user reactions.
2015-07-05 09:53:17 -04:00
58d65dd976
Cleanup: use cross_v2v2 function
2015-07-01 16:37:05 +10:00
0d4cca6593
Fix edge/vert slide UV-correct & zero length edges
...
When calculating loop angle weighting, skip overlapping vertices.
2015-06-24 09:54:23 +10:00
e807520a1e
BMesh: minor optimization for UV island walker
2015-06-20 16:40:39 +10:00
937ecaf77e
BMesh: Add edge-offset option: cap-endpoint
...
Creating triangles at endpoints is often not so good, disable by default.
2015-06-18 03:17:20 +10:00
173c1133a8
Fix own mistake selecting linked
2015-06-16 20:33:36 +10:00
fa823dc828
Cleanup: style
2015-06-16 10:32:41 +10:00
d8e994b35f
BMesh: edge-offset feature (Ctrl+Shift+R)
...
Ability to quickly add 2x edge loops on either side of selected loops.
2015-06-15 11:03:13 +10:00
41564a402e
BMesh: flatten faces operator
2015-06-11 21:54:06 +10:00
ee37de75e6
BMesh: add BMO_ITER_INDEX macro
2015-06-11 21:54:06 +10:00
af434fea71
BMesh: select linked /w delimiters & wire edges
...
Add support for using edge delimiters mixed with wire edges.
Code isn't so elegant but users will expect this.
2015-05-29 14:41:39 +10:00
dc1586063b
BMesh: correct flag check (own mistake)
2015-05-28 12:11:35 +10:00
3e0c6a8ca2
BMesh: util functions to get edge loops from verts
2015-05-28 11:46:58 +10:00
8715fd0925
BMesh: join tris, split angle limit in two
...
Use a separate limit for face-angle and shape comparisons.
There was no way to join non-rectangular, co-planer tries.
2015-05-26 14:27:38 +10:00
9ce20d3341
BMesh: join tris now delimits all UV/Color layers
...
Previously was only checking active layers
Also add delimit by edge seam
2015-05-26 13:42:59 +10:00
f01c6e185f
Cleanup: typos
2015-05-23 22:38:47 +10:00
5d30c23c35
doxygen: corrections/updates
...
Also add depsgraph & physics
2015-05-20 14:12:22 +10:00
07e9fb8ec6
BMesh: calls to store selection at the list head
2015-05-19 23:51:57 +10:00
d3cc7419a3
BMesh: add BM_edge_pair_share_face_by_len
2015-05-19 23:51:57 +10:00
3aa4a0e787
BMesh: add UV delimit for select-linked, dissolve
2015-05-16 12:21:31 +10:00
05c4c2409e
BMesh: add sharp edge delimiter
2015-05-16 10:18:38 +10:00