41564a402e
BMesh: flatten faces operator
2015-06-11 21:54:06 +10:00
b8b57d2da9
BLI_listbase: match arg order with BLI_qsort_r
2015-06-11 21:54:06 +10:00
ec3c2d3be9
Fix T45009: Bad 'tri area computation' code in knife tool.
...
Was causing wrong selection of 'outside' face.
2015-06-10 16:35:52 +02:00
bcfe38aa03
Fix T44964: Bisect tool /w nonuniform scale
2015-06-08 22:30:45 +10:00
60621940d0
Use threshold for selecting side-of-axis
2015-06-07 02:09:41 +10:00
7173069cbe
Fix T44915 vertex color lost when adding new layer in edit mode.
...
Was copying new layer colors to old layer colors.
2015-06-01 19:06:46 +02:00
668f1f9554
Fix for leak in BM_uv_element_map_create
...
Also correct over alloc and redundant alloc.
2015-06-01 14:16:28 +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
4bf64e841c
Correct convex-hull for recent join-tri changes
2015-05-27 21:43:35 +10:00
d45c4af469
Cleanup: update comment
2015-05-27 00:00:31 +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
f9b6f5756c
Fix crash clearing skin data on non mesh
2015-05-25 00:08:43 +10:00
ed2cb8de2f
Fix for join faces ignoring angle limit
...
Angle limit for join-faces was more advice then actual limit.
Now joining entire selection, gives assurance that no faces above the limit will be merged.
The purpose of this was to allow users to isolate 2 faces and always join them.
Instead, support this by bypassing limit only when its not set and 2 faces are selected.
2015-05-22 18:14:03 +10:00
6b40a4bcb1
Fix T44794: Blend From Shape tool X Icon UI Bug?
...
Note: maybe we could even make `RNA_property_is_unlink()` always return false
for enum properties? But well, guess being explicit here does not hurt...
2015-05-21 12:00:31 +02:00
2c000cc9fc
Fix mesh mirror failing on isolated verts
2015-05-21 13:01:44 +10:00
df0a1fa3c5
Fix T44766: Connect fails /w selected ngon edges
2015-05-19 23:51:57 +10:00
30b45d5591
BMesh: don't check winding for uv-vert-map
...
Made link-select separate front/back with projected UV's
2015-05-17 23:06:41 +10:00
dddb4f655c
BMesh: link-select-pick now supports redo
...
Without this you can't change delimiter options without editing the keymap.
2015-05-16 20:53:35 +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
5cc55486ee
BMesh: select linked, support other delimiters
...
Use same options as limited dissolve (adds material & winding)
2015-05-16 10:17:46 +10:00
1bb3d0d485
Select linked seam limit, now works for picking
...
Second half of fix for also T42510
2015-05-16 09:35:35 +10:00
ba9dbaae64
Fix T42510: Limit by seams fails in edge/vert mode
2015-05-15 17:14:02 +10:00
bc371030a7
BMesh: rename loop walker -> edgeloop
2015-05-15 10:55:56 +10:00
4a5933bb74
Rip tool, support filling-edges with fill enabled
2015-05-07 05:34:07 +10:00
4487358da7
Fix T44618: Rip Fill on a single vert would only generate one of the two expected faces.
...
Was tagging (for filling) the wrong edge for one of the two involved loops...
2015-05-06 17:51:39 +02:00
1648feec94
Cleanup: rip tool
2015-05-05 16:34:37 +10:00
22bbd1c512
BMesh: improve rip tool /w mon-manifold verts
...
Can now rip from multiple fans (mixed single faces or larger regions)
Also add BM_vert_is_manifold_region which only checks if a vert has disconnected fans.
2015-05-05 07:22:35 +10:00
fdc5f9c0a8
Add name argument to data creation API calls
...
Was adding then renaming, unnecessarily.
2015-05-04 16:01:20 +10:00
944e0bd7b5
Cleanup: rename clear_skin & clear_mask operators to skin_clear and mask_clear.
...
So that they match all other op names around - and sensible logic as well.
2015-05-03 15:18:27 +02:00
3a808270df
Fix T44589: No way to add a skin data layer manualy.
...
There are several ways to end up with an object with skin modifier, but no
skin data on the geometry. So we need an operator to add it by hands.
Also tweaked a bit UI of this modifier.
2015-05-03 15:09:48 +02:00
6bc8a3f8d3
BMesh: rip-tool can now split off isolated fans
...
Useful since there wasn't a good way to do this previously.
2015-05-03 06:17:32 +10:00
33cc5ed495
Cleanup: redundant vars
2015-05-03 06:16:59 +10:00
53d08ec506
BMesh: BM_mesh_edgesplit
...
Did quite a few checks not to tag bad splits (which wasn't working perfectly)
Instead rely on BM_vert_separate not to create invalid geometry.
2015-05-02 16:24:46 +10:00
a5869945c6
Cleanup: bmesh src/dst order in API args
2015-05-02 15:46:03 +10:00
74d31279cd
Fix T44560: Merge Collapse tool - UVs operator panel option ignored with Collapse but not with other merge types.
...
Was missing parameter for collapse bmesh operator...
2015-05-01 17:10:39 +02:00
e9dcb068c7
Fix T44484: Edge-split corrupts mesh
...
Splitting non-manifold edges could produce duplicate edges.
2015-04-30 07:22:18 +10:00
99811c283e
BMesh: use BM_face_loop_separate_multi for rip
...
Resolves bug over-splitting non-manifold connected edges.
2015-04-30 06:24:33 +10:00
3878180a6f
Fix typo using interp_v3_v3v3 over float[2] variables...
...
Found by asan! ;)
2015-04-29 19:44:06 +02:00
c760c0dbb3
Cleanup: use mul_v3_mat3_m4v3
2015-04-28 01:18:50 +10:00
3f80accfb3
Fix T44011: Ruler/Knife/Loop-cut fail in quad-view
...
This is a kind of sloppy-focus,
resolving long standing bug with loop-cut/knife/ruler /w quad-view.
Where activating a tool would lock onto one of quad-views,
especially problematic when activating from the toolbar or menus.
2015-04-27 19:17:07 +10:00
5e1eb8cdcf
Cleanup: rename GRAB_POINTER -> GRAB_CURSOR
...
Term pointer is overloaded already.
2015-04-27 18:58:53 +10:00
2374cb380b
BMesh: subdiv smooth, use simpler even calculation
...
Was checking all vertices adjacent faces,
now just compare the difference between normal angles.
Also default to inverse-square for loopcut-subdiv falloff.
2015-04-26 19:20:34 +10:00
6e02f1da74
BMesh: use inverse-square falloff /w smooth-subdiv
...
Resolves ugly artifacts with multi-cut.
2015-04-26 18:35:42 +10:00
86d3a1f683
Cleanup
2015-04-25 12:29:52 +10:00
c2f861453e
Fix T44492: knife tool should cut across a split edge.
...
Added filter condition in visibility check that prevented
a "butting-up-against" face from obscuring an edge.
2015-04-24 07:29:45 -04:00
61ac5dd5ba
Correct missing NULL check (own mistake)
2015-04-24 02:38:15 +10:00
8010672bbc
BMesh: mesh-data picking, edge+vert improvement
...
When zoomed out vert bias over edges meant it wasn't possible to select edges.
Now pick the edge if the cursor is closer to its center.
2015-04-23 16:11:54 +10:00
c9f9e29538
Math Lib: handling bits handling into own file
2015-04-22 04:44:24 +10:00