Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-18 | bmesh improvements to face creation. | Campbell Barton | |
* fill-holes operator now takes advantage of new edge-net fill, works in many more cases then it did before. * face-create that uses edge-net now initializes the normals based on surrounding geometry, only running normal calculation if there are no connected faces for a reference. | |||
2013-08-17 | remove unused args from edgenet fill (since rewrite, but they weren't used ↵ | Campbell Barton | |
before either) | |||
2013-08-16 | rewrite edgenet fill bmesh operator. | Campbell Barton | |
previous code created faces with mixed face-flipping and could get very slow, test with ~60,000 edges here hung my system for over 2min (didnt wait for it to finish), new code executes in about 1 second. new code doesn't attempt to flip faces correctly, its quite involved to do so, especially when the new faces are not created adjacent to eachother. so simpler to calculate normals afterwards. | |||
2013-08-03 | correct invalid sizeof() use in bmesh (harmless in practice) | Campbell Barton | |
2013-07-19 | style cleanup: braces/indentation | Campbell Barton | |
2013-03-30 | code comments: bmesh operator doxy header descriptions. | Campbell Barton | |
2013-03-28 | code cleanup: python/pep8 and double-promotion warnings. | Campbell Barton | |
2013-03-28 | BMesh: make the context create operator (Fkay) more logical, before calling ↵ | Campbell Barton | |
each operator check the state that it can even run and do something. | |||
2013-03-27 | fix for mesh face filling when a valid edge-loop was selected but unselected ↵ | Campbell Barton | |
connecting geometry existed inside the loop. In this case edgenet_fill operator failed and it would fallback to filling as unordered vertices which was mostly fine but failed on some concave loops. Add a new bmesh operator 'edgeloop_fill' fills in closed loops even if they don't make a valid edge-net. | |||
2013-03-27 | api cleanup: move edgenet bmesh operator into its own file. | Campbell Barton | |
2013-03-27 | code cleanup: quiet shadow warnings | Campbell Barton | |
2013-03-16 | code cleanup: shadowing | Campbell Barton | |
2013-03-09 | bmesh operator 'contextual_create' wasn't flagging single faces that were ↵ | Campbell Barton | |
created (caused glitch in some cases with recent create-select functionality). | |||
2013-03-09 | use 'bool' for BLI_/BKE_ functions. | Campbell Barton | |
2013-01-14 | use booleans for bmesh api. | Campbell Barton | |
2012-12-11 | own cleanup commit in bmesh branch - removed last letters from ends of some ↵ | Campbell Barton | |
comments. | |||
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-27 | fix for asserts added in own recent commit with more strict type-checking | Campbell Barton | |
- BMO_slot_copy now only copies compatible elements. other minor changes - don't use text.format(...), convention for UI scripts is C style string formatting. - rename bmo_edgenet_prepare --> bmo_edgenet_prepare_exec - float/double warning in bevel. | |||
2012-11-20 | bmesh operator api: | Campbell Barton | |
avoid per vert/edge/face string lookups in BMO_slot_map_* functions --- used in array modifier, subdivide, remove doubles and other tools. | |||
2012-11-20 | code cleanup: make bmesh operator names more consistant since python has ↵ | Campbell Barton | |
access to these as input arguments and return values. all output values currently have ".out" suffix, this may go in the future, but for now it makes it clear in C code what are inputs and outputs. | |||
2012-11-19 | use input and output slots for bmesh operators, needed for the python api to ↵ | Campbell Barton | |
get return values. | |||
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-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 | bmesh refactor - rename some of the BM_****_share_****_count() functions to ↵ | Campbell Barton | |
BM_***_share_check() some of these were only returning a boolean, others returned a count even though only a boolean was needed. split some of the functions in two as well where check/count are both needed. | |||
2012-10-21 | style cleanup: bge, switch statements mostly. | Campbell Barton | |
also left bmesh decimator on in previous commit. | |||
2012-10-01 | add compiler hints that failing to create a bmesh face is unlikely. | Campbell Barton | |
2012-09-27 | incorrect spelling in comments | Campbell Barton | |
2012-09-20 | code cleanup: remove unused macros, commet some which may be useful later - ↵ | Campbell Barton | |
or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc | |||
2012-08-24 | fix [#32357] Subdivide fails on newly created edge | Campbell Barton | |
problem since bmesh merge, new edges were not selected. | |||
2012-08-12 | style cleanup | Campbell Barton | |
2012-08-04 | style cleanup | Campbell Barton | |
2012-07-21 | add option so operators can be called with a flag, currently the only flag ↵ | Campbell Barton | |
is to respect hidden geometry. this is useful for bmesh tools that operate in object mode or for modifiers which would previously use hidden faces in some cases. | |||
2012-06-03 | fix [#31674] BMesh Corrupt Stack around BMVert array "verts" - ONLY ON DEBUG ↵ | Campbell Barton | |
VERSION | |||
2012-05-18 | style cleanup: and add missing files to cmake | Campbell Barton | |
2012-05-16 | Code cleanup: simplify standard GHash creation. | Nicholas Bishop | |
Added four new functions as shortcuts to creating GHashes that use the standard ptr/str/int/pair hash and compare functions. GHash *BLI_ghash_ptr_new(const char *info); GHash *BLI_ghash_str_new(const char *info); GHash *BLI_ghash_int_new(const char *info); GHash *BLI_ghash_pair_new(const char *info); Replaced almost all occurrences of BLI_ghash_new() with one of the above functions. | |||
2012-05-03 | style cleanup: formatting and some float/double promotion | Campbell Barton | |
2012-04-28 | style cleanup: format 'for' loop macros the same as for loops, some renaming ↵ | Campbell Barton | |
to BLI_array macros. | |||
2012-04-21 | fix [#31049] New Faces (F) always solid shaded | Campbell Barton | |
2012-04-20 | code cleanup: prefer BM_face/edge/vert_select_set() over ↵ | Campbell Barton | |
BM_elem_select_set() when the type is known (saves switch statement check on the type). Add asserts so the correct types are ensured. | |||
2012-04-19 | code cleanup: remove unused BMesh args. | Campbell Barton | |
2012-04-19 | remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the ↵ | Campbell Barton | |
maceros had unused args in both cases). | |||
2012-04-19 | style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITER | Campbell Barton | |
2012-04-09 | fix [#30852] Wrong Material ID applied for the new faces | Campbell Barton | |
2012-04-07 | code cleanup: no functional changes | Campbell Barton | |
- memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead. - quiet warnings in editmesh_slide.c - cleanup comments in bmesh and some other minor comment additions. | |||
2012-04-06 | code cleanup: add doxygen headers to bmesh operator files, also add own ↵ | Campbell Barton | |
include so definitions dont get out of sync. | |||
2012-03-30 | For BMesh functions that test flags, add enabled/disabled variants. | Nicholas Bishop | |
2012-03-21 | style cleanup: bmesh | Campbell Barton | |
2012-03-20 | rename define BM_INLINE -> BLI_INLINE to avoid confusion with bmesh defines. | Campbell Barton | |
2012-03-19 | code cleanup: bmesh api - make arg order consistent - htype before hflag or ↵ | Campbell Barton | |
oflag. |