Age | Commit message (Collapse) | Author |
|
|
|
maceros had unused args in both cases).
|
|
|
|
use for editmode ngon filling.
|
|
|
|
|
|
- remove unused vars
- no need to hard code version number for collada.
- cleanup some typos in comments.
- movieclip_calc_length was passing arg which should be unsigned to BLI_stringdec()
|
|
- move defines to the top of the func.
- rename T -> EPS
- undefine at the end.
|
|
to paint_image.c
|
|
it's a bit fuzzy how to compute area for ngons, but at least should be consistent.
|
|
Port angle stretch code for uvs to bmesh.
Also added comment to clarify previous commit.
|
|
This is hardly worth the cost since we use an approximation anyway.
|
|
Problem was that area calculation of polygons was done relative to the xy plane, and with a very obscure (to me at least) algorithm. That meant that vertical ngons would get 0 area.
Commented initial code in case this is a strange optimization case that someone wants to use and used a cleaner algorithm: first project vertices to the ngon plane, defined by the normal of the ngon and the center (mean) of the ngon vertices. This will only be exact for convex and mostly planar ngons, still it is much better than the previous code.
Also fixed memory leak when stretch display was on.
|
|
also removed private face normal update functions - they were same as public.
|
|
- BM_mesh_normals_update was looping over all faces to find the largest one, this is no longer needed.
- calculating a face normal was looping over every faces corners twice, now only once - using the loops directly (not an iterator).
- face vert locations were being copied an array, now use directly.
- calculating the normals would copy a float vector for the next point in the face, which was never used (only current and previous used).
- was copying vectors to compute the normal, now just assign the float pointers.
|
|
surrounding geometry.
also the last edge was mot taken into account when calculating the correct winding.
|
|
|
|
also remove large, duplicate comments from sunsky.h
|
|
scons).
|
|
- disable BVH edge visibility test (ifdef'd out. dont think its really needed)
|
|
when rotating multiple edges.
Now create the rotate edge in advance and copy its customdata (before joining the faces).
This commit also fixes an annoyance where tryangulating faces could create duplicate edges.
|
|
alternate direction.
|
|
|
|
|
|
- spelling - turns out we had tessellation spelt wrong all over.
- use \directive for doxy (not @directive)
- remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
|
|
in bmo_extrude_face_region_exec() in some cases.
|
|
|
|
|
|
Also renamed a variable to make intent clearer (else seemed like
there was a bug).
|
|
|
|
Some function comments were in headers, some in the C files, some in both.
Moved function comments from headers into the C files.
|
|
* remove one the changes to fix #30374, instead just check if the face exists.
* remove some unneeded edge checks in BM_face_create_quad_tri_v().
|
|
|
|
|
|
* change BMO_elem_flag_* defines to inline functions.
* BMO_slot_map_insert() is too big for an inline function - un-inline it.
* remove redundant casts.
|
|
* ntreeCompositExecTree accessed 'ntree' before NULL check.
* BM_face_triangulate accessed 'f' before NULL check.
also quiet warning in BKE_text_to_curve() and add a check for BMesh bridge loops so it knows quicker if it can copy loop data or not.
|
|
|
|
|
|
|