Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-19code cleanup: remove unused BMesh args.Campbell Barton
2012-04-19remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the ↵Campbell Barton
maceros had unused args in both cases).
2012-04-19style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITERCampbell Barton
2012-04-16minor speedup for scanfill, dont calculate the normal if its already known - ↵Campbell Barton
use for editmode ngon filling.
2012-04-16inline function for "Newell's Method" used for normal calc.Campbell Barton
2012-04-15make ngon_perimeter into a public api function and expose to python.Campbell Barton
2012-04-08code cleanup:Campbell Barton
- 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()
2012-03-28own error r45225Campbell Barton
- move defines to the top of the func. - rename T -> EPS - undefine at the end.
2012-03-28code cleanup: (dont include ';' in defines), last commit also missed changes ↵Campbell Barton
to paint_image.c
2012-03-27Fix tweak for #30638: use same BMesh Face area computation functions as Mesh,Brecht Van Lommel
it's a bit fuzzy how to compute area for ngons, but at least should be consistent.
2012-03-26fix #30668 and the rest of #30638.Antony Riakiotakis
Port angle stretch code for uvs to bmesh. Also added comment to clarify previous commit.
2012-03-25Comment out the projection to ngon normal plane when calculating ngon area. ↵Antony Riakiotakis
This is hardly worth the cost since we use an approximation anyway.
2012-03-25Fix #30638 and part of #30646.Antony Riakiotakis
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.
2012-03-11fix for debug assignment left in from own commit r44778Campbell Barton
also removed private face normal update functions - they were same as public.
2012-03-10Speedup for ngon normal calculationCampbell Barton
- 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.
2012-03-10bmesh fix: faces were being created flipped the wrong way compared to ↵Campbell Barton
surrounding geometry. also the last edge was mot taken into account when calculating the correct winding.
2012-03-09style cleanup: comment blocksCampbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-08building without python works again, cleanup bmesh include paths (cmake and ↵Campbell Barton
scons).
2012-03-07- simplify rip code not to expand/contract selection.Campbell Barton
- disable BVH edge visibility test (ifdef'd out. dont think its really needed)
2012-03-06fix for own error in edge-rotate keeping edge customdata - this was crashing ↵Campbell Barton
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.
2012-03-04bmesh: add back feature from 2.4x Ctrl+Shift+T subdivides quads in the ↵Campbell Barton
alternate direction.
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-03-03style cleanup - spelling corrections & update some incorrect comments.Campbell Barton
2012-03-02style cleanupCampbell Barton
- 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.
2012-03-01style cleanup: bmesh - have continue on new line, also avoid unneeded loop ↵Campbell Barton
in bmo_extrude_face_region_exec() in some cases.
2012-02-29use floats rather then doubles for bmesh poly functions.Campbell Barton
2012-02-29Undid part of commit 44552: can't use mathutils on doublesHoward Trickey
2012-02-29Code cleanup, no functional change: use mathutils copyHoward Trickey
Also renamed a variable to make intent clearer (else seemed like there was a bug).
2012-02-29update doxygen comments for bmesh.Campbell Barton
2012-02-28more header re-arranging.Campbell Barton
Some function comments were in headers, some in the C files, some in both. Moved function comments from headers into the C files.
2012-02-28Code CleanupCampbell Barton
* 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().
2012-02-27minor bmesh api naming edits.Campbell Barton
2012-02-27style cleanupCampbell Barton
2012-02-26bmesh code cleanupCampbell Barton
* 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.
2012-02-25bugfixCampbell Barton
* 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.
2012-02-24bmesh py api - bmesh.utils.face_flipCampbell Barton
2012-02-24bmesh: minor speedup, use 1 iterator rather then 2 when normalizing verts.Campbell Barton
2012-02-19copying bmesh dir on its own from bmesh branchCampbell Barton