Age | Commit message (Collapse) | Author |
|
|
|
maceros had unused args in both cases).
|
|
|
|
was used by inset but make into an api function since scripts can use this too.
|
|
|
|
- remove recently added BM_mesh_select_flush_strip(), functions purpose wasn't clear.
- add BM_mesh_elem_hflag_disable_test(), BM_mesh_elem_hflag_enable_test()
to match existing BM_mesh_elem_hflag_enable/disable_all(), these take a hflag to test before editing each element.
This replaces the need for BM_mesh_select_flush_strip().
|
|
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead.
- quiet warnings in editmesh_slide.c
- cleanup comments in bmesh and some other minor comment additions.
|
|
include so definitions dont get out of sync.
|
|
unstable.
|
|
select all could select hidden faces, now BM_mesh_elem_flag_enable/disable_all takes an argument to skip hidden elements.
|
|
|
|
then the cross product between 2 faces if the faces infact share an edge - works best for non planer faces.
also added utility function - BM_loop_other_vert_loop
|
|
normals are now used to calculate the inset edge vector if the faces are different and not planer.
|
|
inset could make a quad that used the same vertex multiple times.
|
|
still possible to cause a crash with a different selection, will fix next.
|
|
|
|
option to inset boundaries.
|
|
fix hole when 2+ faces a vert but no edges (would make a hole), now splice the verts back together.
|
|
|
|
oflag.
|
|
improve inset code by not allocating an array the size of edges - instead count all inset edges and allocate an array only for those.
also fixes an error where edge lengths were being compared while the verts were being placed. (now do beforehand)
|
|
- Even option (like solidify even option)
- Relative option (insets based on lengths of surrounding edges)
TODO: merge tares when 2+ face corners meet but don't form a contiguous region.
|