Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-24 | BMesh: BM_verts_from_edges utility function | Campbell Barton | |
2015-11-28 | BMesh: use typed filter callbacks (const args too) | Campbell Barton | |
2015-05-28 | BMesh: util functions to get edge loops from verts | Campbell Barton | |
2015-04-25 | correct own error in recent ngon creation edit | Campbell Barton | |
2015-04-25 | Cleanup: use 8 space indent for multi-line args | Campbell Barton | |
2015-04-25 | BMesh: simplify BM_face_create_ngon | Campbell Barton | |
Was doing quite a lot of unnecessary steps. Now construct the sorted verts, edges /w error checking, in a single loop. | |||
2014-09-24 | Custom Data API: redundant pointer-to-pointer arg | Campbell Barton | |
2014-04-26 | Code cleanup: use 'const' for arrays (bmesh) | Campbell Barton | |
2014-02-02 | Code cleanup: suffix vars to make obvious they are squared | Campbell Barton | |
2014-01-17 | Code Cleanup: move delete funcs out of bmesh_construct.c into own file | Campbell Barton | |
2013-10-03 | fix [#36923] Merge / Delete vertices crashes for some meshes | Campbell 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-24 | allocate 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-06 | sorting utility functions for simple cases - sorting pointers by float for ↵ | Campbell Barton | |
example. | |||
2013-08-23 | fix 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-21 | bmesh 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-21 | use 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-21 | bmesh 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-18 | improved BM_face_copy_shared to copy from more possible connected loops and ↵ | Campbell Barton | |
add filter function (not used yet). | |||
2013-08-13 | switch arg order for BM_elem_select_copy(), would like to make this constant ↵ | Campbell Barton | |
for all bmesh functions eventually. | |||
2013-08-03 | correct invalid sizeof() use in bmesh (harmless in practice) | Campbell Barton | |
2013-07-28 | move alloca define into its own header since its not related to BLI_array | Campbell Barton | |
2013-07-25 | mesh 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-25 | fix for face normal flipping calculation. | Campbell Barton | |
2013-07-24 | internal 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-21 | code cleanup: add break statements in switch ()'s, (even at the last case). | Campbell Barton | |
2013-07-11 | add 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-11 | fix 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-26 | code cleanup: typos | Campbell Barton | |
2013-05-26 | bmesh: copy function - replace use of array reallocations with alloca in a ↵ | Campbell Barton | |
static function. | |||
2013-05-09 | can'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-08 | minor speedup for bmesh - add CustomData_bmesh_free_block_data(), use | Campbell Barton | |
when the block would be immediately allocated again. | |||
2013-04-07 | Fix for [#34898] Typo in error message of mathutils.Vector | Thomas Dinges | |
* Also fixed some more cases of "more then" -> "more than". | |||
2013-03-27 | api 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-14 | use booleans for bmesh api. | Campbell Barton | |
2013-01-03 | code cleanup: BM_face_create_ngon() | Campbell Barton | |
Change some of the paranoid checks into an assert since they should never happen. | |||
2013-01-03 | fix [#33689] Crash with decimate modifier | Campbell 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-19 | use BM_face_create() over BM_face_create_ngon() in bevel and extrude ↵ | Campbell Barton | |
individual faces to get some speedup. | |||
2012-12-19 | bmesh 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-19 | fix [#33606] Adding the Decimate modifier will crash Blender | Campbell Barton | |
own regression since 2.65 release. | |||
2012-12-11 | replace 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-29 | fix [#33029] Applying modifier leaks memory | Campbell 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-19 | bmesh: 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-18 | bmesh: 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-12 | BM_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-09 | style cleanup: indentation | Campbell Barton | |
2012-10-27 | fix 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-01 | add compiler hints that failing to create a bmesh face is unlikely. | Campbell Barton | |
2012-09-19 | fix for missing NULL check in init_render_texture() (possibly own fault), ↵ | Campbell Barton | |
also remove some redundant code. | |||
2012-08-13 | style cleanup: use <pre> for doxygen ascii art | Campbell Barton | |
2012-05-22 | fix [#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. |