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
2015-12-24BMesh: BM_verts_from_edges utility functionCampbell Barton
2015-11-28BMesh: use typed filter callbacks (const args too)Campbell Barton
2015-05-28BMesh: util functions to get edge loops from vertsCampbell Barton
2015-04-25correct own error in recent ngon creation editCampbell Barton
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2015-04-25BMesh: simplify BM_face_create_ngonCampbell Barton
Was doing quite a lot of unnecessary steps. Now construct the sorted verts, edges /w error checking, in a single loop.
2014-09-24Custom Data API: redundant pointer-to-pointer argCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (bmesh)Campbell Barton
2014-02-02Code cleanup: suffix vars to make obvious they are squaredCampbell Barton
2014-01-17Code Cleanup: move delete funcs out of bmesh_construct.c into own fileCampbell Barton
2013-10-03fix [#36923] Merge / Delete vertices crashes for some meshesCampbell Barton
add BM_ITER_MESH_MUTABLE which steps before entering the for() loop body and prevents the assert from complaining about removing mesh data while iterating as well as the crash. this was done in quite a few areas, more may turn up.
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-09-06sorting utility functions for simple cases - sorting pointers by float for ↵Campbell Barton
example.
2013-08-23fix leak in BM_face_split() with multires if the split failed.Campbell Barton
also remove redundant normal copy. only triangulate the mesh if its needed when enabling dyntopo.
2013-08-21bmesh api cleanup, face creation args now accept an example face (as with ↵Campbell Barton
vertex and edge), also replace BM_face_create_quad_tri_v with BM_face_create_verts
2013-08-21use BM_CREATE_NOP arg rather then zero, with pointer and bool args in either ↵Campbell Barton
side in some cases it gets a bit confusing. also correct edge-rotate where bool->flag conversion worked by accident.
2013-08-21bmesh api:Campbell Barton
- use heap for BM_face_create_ngon_vcloud allocations. - replace BM_face_create_ngon_verts with more efficient BM_face_create_verts
2013-08-18improved BM_face_copy_shared to copy from more possible connected loops and ↵Campbell Barton
add filter function (not used yet).
2013-08-13switch arg order for BM_elem_select_copy(), would like to make this constant ↵Campbell Barton
for all bmesh functions eventually.
2013-08-03correct invalid sizeof() use in bmesh (harmless in practice)Campbell Barton
2013-07-28move alloca define into its own header since its not related to BLI_arrayCampbell Barton
2013-07-25mesh tool to fill in holes, added in mesh clean menu,Campbell Barton
unlike other face creation tools it copies data from surrounding faces.
2013-07-25fix for face normal flipping calculation.Campbell Barton
2013-07-24internal bmesh api change: BM_elem_attrs_copy() no longer copies the ↵Campbell Barton
selection flag. this was slowing down modifiers since the selection flags would be copied and flushed to connected geometry.
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-11add BM_elem_attrs_copy_ex() which can take a flag arg to define which flags ↵Campbell Barton
should be copied. (mainly to be able to avoid copying selection/hidden state)
2013-07-11fix for problem with edge slide where it would stop shapekey modifier from ↵Campbell Barton
being applied (because of added vertices), now, instead of making hidden copies of faces, the faces are copied into a temp bmesh. also remove a hash that was being created and not used (old code).
2013-05-26code cleanup: typosCampbell Barton
2013-05-26bmesh: copy function - replace use of array reallocations with alloca in a ↵Campbell Barton
static function.
2013-05-09can't use alloca in inline functions (fills up stack - I thought compiler ↵Campbell Barton
would be smart here). also reserve the exact number of vert/face/edge/loops when creating a bmesh during undo.
2013-05-08minor speedup for bmesh - add CustomData_bmesh_free_block_data(), useCampbell Barton
when the block would be immediately allocated again.
2013-04-07Fix for [#34898] Typo in error message of mathutils.VectorThomas Dinges
* Also fixed some more cases of "more then" -> "more than".
2013-03-27api cleanup: split part of BM_face_create_ngon_vcloud() into a new function ↵Campbell Barton
BM_face_create_ngon_verts(), a function to create a bmesh face from an ordered vertex array, optionally creating edges and calculating winding.
2013-01-14use booleans for bmesh api.Campbell Barton
2013-01-03code cleanup: BM_face_create_ngon()Campbell Barton
Change some of the paranoid checks into an assert since they should never happen.
2013-01-03fix [#33689] Crash with decimate modifierCampbell Barton
in fact a more general bug in BM_face_create_ngon() where edges containing the same vertex multiple times were not accounted for.
2012-12-19use BM_face_create() over BM_face_create_ngon() in bevel and extrude ↵Campbell Barton
individual faces to get some speedup.
2012-12-19bmesh optimization: use BM_face_create() rather then BM_face_create_ngon() ↵Campbell Barton
in BM_mesh_copy(), gives ~30% overall speedup in my tests.
2012-12-19fix [#33606] Adding the Decimate modifier will crash BlenderCampbell Barton
own regression since 2.65 release.
2012-12-11replace BLI_array_fixedstack_declare with() new macro BLI_array_alloca() ↵Campbell Barton
which uses stack memory always and doesn't need to be freed explicitly.
2012-11-29fix [#33029] Applying modifier leaks memoryCampbell Barton
Thanks for Sergey for finding the bug & patching, This fix works a bit differently. Theres no need to allocate the customdata in the first place - since its written into. So add a flag for vert/edge/face/loop creation functions so they can skip customdata creation.
2012-11-19bmesh: BM_verts_in_face was using bmesh operator flag which is no longer ↵Campbell Barton
ensured to be available, use internal apiflag instead, Thanks to Nicholas Bishop for spotting. also quiet some warnings.
2012-11-18bmesh: move internal API flags out of BMFlagLayer, into BMHeader which was ↵Campbell Barton
being padded up anyway, added static assert to make sure it stays <=16 bytes.
2012-11-12BM_iter_as_arrayN() can now take an optional existing array argument, useful ↵Campbell Barton
to avoid many small malloc's by passing a fixes size stack variable instead. Will give some speedup to edge-split modifier and bevel.
2012-11-09style cleanup: indentationCampbell Barton
2012-10-27fix for filled rip copying loop customdata (fix in BM_edge_other_loop broke it)Campbell Barton
also assert when customdata can't be copied because of invalid args.
2012-10-01add compiler hints that failing to create a bmesh face is unlikely.Campbell Barton
2012-09-19fix for missing NULL check in init_render_texture() (possibly own fault), ↵Campbell Barton
also remove some redundant code.
2012-08-13style cleanup: use <pre> for doxygen ascii art Campbell Barton
2012-05-22fix [#31489] EdgeSplit modifier prevents All Edge to be work correctly since ↵Campbell Barton
2.63 bmesh regression where the edge-draw flag was cleared when bmesh modifiers were used.