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
2014-08-22Cleanup: BMesh arg nameCampbell Barton
2014-08-07BMesh: use existing lookup tables when remappingCampbell Barton
2014-04-13Split Normals I (2/5): Add basic BMesh support of split normals.Bastien Montagne
* Merely a re-implementation of core split algorithm for BMesh, taking advantage of topological data available. * This code needs valid loop indices, so added BM_LOOP support to BM_mesh_elem_index_ensure() & co. Reviewers: campbellbarton Reviewed By: campbellbarton CC: brecht Differential Revision: https://developer.blender.org/D366
2014-04-03Code cleanup: strict flags for bmesh_logCampbell Barton
2014-02-12Fix Editderivedmeshes vertices normals computation.Bastien Montagne
Those derived meshes (used in Edit mode) were using simple sum of neighbor poly normals to get vertex normals, while everywhere else in Blender we use weighted sum of such poly normals. Patch: D311 Reviewed and enhanced by Campbell, thanks!
2013-10-28move bmesh array lookup data and utility functions from editmesh into bmesh,Campbell Barton
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces. developers note: - EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free - EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index - EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free - ED_uv_element_get -> BM_uv_element_get
2013-10-27rename BM_vert_at_index -> BM_vert_at_index_find (since this searches the ↵Campbell Barton
mempool). needed for other changes - coming.
2013-09-24allocate bmesh data from known sizes where possible (was still using ↵Campbell Barton
defaults in places), add macros for initializing BMAllocTemplate's, also add assert on invalid use of bmesh_sfme()
2013-04-24fix [#34657] Smoothing will not be updated in object mode, when hiding faces ↵Campbell Barton
in edit mode and changing shape. remove the option to skip hidden faces in BM_mesh_normals_update, use openmp to speedup recalculation for high poly meshes.
2013-04-14bmesh operators: use operator type-flag to specify which operations require ↵Campbell Barton
normal-calculations and which operations require selection flushing. eg, no need to flush selection after 'Smooth' tool, no need to recalculate normals after 'Select Similar'.
2013-01-14use booleans for bmesh api.Campbell Barton
2012-12-03use const for bm_mesh_allocsize_default, bm_mesh_chunksize_defaultCampbell Barton
2012-11-20fix for changes in own recent commit:Campbell Barton
selected linked in face mode was crashing. (needs bmesh operator flags) also some style edits, remove unused includes and change triangulate modifiers use_beauty to a flag.
2012-11-18bmesh: lazy initialize bmesh tool flag pool, has the advantage that ↵Campbell Barton
modifiers that dont use bmesh operators can skip allocating it.
2012-07-21remove BMO_OP_FLAG_RATIONALIZE_NORMALS option which wasnt used anywhere.Campbell Barton
2012-04-23code cleanup: change C naming convention (so py and C api match), eg:Campbell Barton
C: BM_face_calc_area(f), Py: BMFace.calc_area()
2012-04-19BMESH_TODO: xsort of vertices working again.Bastien Montagne
This commits adds a new function which can remap vertices/edges/faces of a BMesh in a new given order: void BM_mesh_remap(BMesh *bm, int *vert_idx, int *edge_idx, int *face_idx)
2012-03-11remove Object member from BMesh struct - was only used for undo and ↵Campbell Barton
BMEditMesh already stores an object pointer. also fix for own mistake with mesh conversion refactor, shape key index was off by 1 when switching editmode.
2012-03-02minor edits to last commit - use fixed chunksize, rather than the number of ↵Campbell Barton
verts/edges/faces in bm_mempool_init().
2012-03-02bmmesh api - use struct rather than int[4] to initialize mesh sizes.Campbell Barton
also correct bad assert() in previous commit.
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.