Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-14 | use booleans for bmesh api. | Campbell Barton | |
2012-12-12 | add threshold for bmesh & openmp so its not used with low poly meshes, ↵ | Campbell Barton | |
BM_OMP_LIMIT may need tweaking. | |||
2012-12-12 | use openmp to thread some common bmesh operations | Campbell Barton | |
- BM_mesh_elem_toolflags_ensure / bmo_flag_layer_alloc / bmo_flag_layer_free / bmo_flag_layer_clear - BM_mesh_select_flush - EDBM_index_arrays_init notes: - mostly use openmp `sections` to split operations on vert/edge/face since this is a fairly minor change. - split tool flag pool in 3, this means we can allocate exact sizes needed and iterate on them in threads without alloc'ing. | |||
2012-12-11 | own cleanup commit in bmesh branch - removed last letters from ends of some ↵ | Campbell Barton | |
comments. | |||
2012-12-08 | bmesh toolflags would use BLI_MEMPOOL_SYSMALLOC when reducing layers only ↵ | Campbell Barton | |
(would use MEM_mallocN in one case but malloc in another). better use blenders MEM_mallocN for both. | |||
2012-12-02 | Silent some warnings (the one in bmesh_operator.c was even preventing build ↵ | Bastien Montagne | |
in -Werror mode). | |||
2012-11-28 | bmesh operator naming - use clearer names for args eg: (mat -> matrix, ↵ | Campbell Barton | |
use_singleedge -> use_single_edge) also remove duplicate docs for operator arg formatting. | |||
2012-11-28 | improve docstring for BMO_op_vinitf(). | Campbell Barton | |
2012-11-27 | use clearer names for 'single' bmesh operator args & add '%e' to ↵ | Campbell Barton | |
BMO_op_vinitf comments. | |||
2012-11-27 | py/bmesh api - add support for single item buffers (odd feature but used ↵ | Campbell Barton | |
quite a bit with bmesh operators). also add utility functions BMO_slot_buffer_from_single(), BMO_slot_buffer_get_single() | |||
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-27 | bmesh/py operator api: | Campbell Barton | |
add type checking for element buffers, there was nothing stopping python from passing any element type into an argument when in some cases only verts/edges/faces were expected. now operator args define which types they support. | |||
2012-11-26 | py/bmesh api - support for converting from/to BMO_OP_SLOT_MAPPING type. | Campbell Barton | |
2012-11-26 | use more rigid type checking for bmesh slot subtypes. | Campbell Barton | |
2012-11-26 | add subtypes to bmesh operators (needed for python api to know how to ↵ | Campbell Barton | |
convert return values). | |||
2012-11-22 | fix own error - remove doubles slot name. | Campbell Barton | |
2012-11-20 | code cleanup: comment unused members of bmesh operator slots and some osl ↵ | Campbell Barton | |
style edits. | |||
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 | bmesh operator api edits, add macros and NULL the buffer if ↵ | Campbell Barton | |
BMO_slot_buffer_alloc()'s len is zero. | |||
2012-11-19 | use input and output slots for bmesh operators, needed for the python api to ↵ | Campbell Barton | |
get return values. | |||
2012-11-18 | bmesh: lazy initialize bmesh tool flag pool, has the advantage that ↵ | Campbell Barton | |
modifiers that dont use bmesh operators can skip allocating it. | |||
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-08 | fix [#33000] bmesh.ops.create_* either crash blender or do nothing | Campbell Barton | |
2012-11-05 | avoid using BLI_array for remove double helper function - ↵ | Campbell Barton | |
bmesh_find_doubles_common(), was growing and array one at a time (with re-allocs), when the size is known. | |||
2012-10-29 | style cleanup: also quiet harmless compiler warning. | Campbell Barton | |
2012-10-26 | Big i18n commit: add "reports" from bmesh/readfile/tracking/dynapaint (and a ↵ | Bastien Montagne | |
few others), and another bunch of UI messages tweaks/fixes, as well as some BKE_report()<->BKE_reportf()... | |||
2012-09-18 | code cleanup: typos and set exceptional cases of zero length normals as ↵ | Campbell Barton | |
UNLIKELY(). | |||
2012-09-08 | style cleanup | Campbell Barton | |
2012-07-21 | remove BMO_OP_FLAG_RATIONALIZE_NORMALS option which wasnt used anywhere. | 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-07-03 | add bmesh/python operator support for vector and matrix args. | Campbell Barton | |
also rename BMO_OP_SLOT_PNT to BMO_OP_SLOT_PTR (matches RNA and sounds less like 'point') | |||
2012-06-30 | rename bmesh ops since they are exposed in an api now. | Campbell Barton | |
2012-06-30 | add support for passing lists of verts/edges/faces to bmesh operators | Campbell Barton | |
2012-06-30 | all bmesh operators can now be accessed from bmesh.ops.* using a generic ↵ | Campbell Barton | |
wrapper, argument parsing still needs to have support added for vector, matrix and element types. | |||
2012-06-30 | code cleanup: rename some members of bmesh operators, 'slots' is a C++ ↵ | Campbell Barton | |
keyword which confuses some IDE's. also added missing BMO_op_vinitf args to comments. | |||
2012-06-11 | Fix incorrectly deleted elements in array modifier caps. | Nicholas Bishop | |
Add check for merging vertices into vertices that are themselves marked for merge, was already done for array eleements but not end caps. Fixes bug [#31695] Array Modifier: End Cap fails if all vertices are merged Also corrected some reversed assert arguments. | |||
2012-05-20 | code cleanup: | Campbell Barton | |
- style - multi-line ifs move braces onto new lines. - iterators - convert some to macros, other split up and move brace. | |||
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-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 | code cleanup: first step to replace BM_ITER BM_ITER_INDEX macros. | Campbell Barton | |
2012-04-19 | style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITER | Campbell Barton | |
2012-04-13 | bmesh api changes: | Campbell Barton | |
- remove recently added BM_mesh_select_flush_strip(), functions purpose wasn't clear. - add BM_mesh_elem_hflag_disable_test(), BM_mesh_elem_hflag_enable_test() to match existing BM_mesh_elem_hflag_enable/disable_all(), these take a hflag to test before editing each element. This replaces the need for BM_mesh_select_flush_strip(). | |||
2012-04-03 | fix [#30772] No more than two subdivions give correct result when adding an ↵ | Campbell Barton | |
icosphere bug was introduced in r45297, which inadvertently broke testing for multiple flags at once. added BM_elem_flag_test_bool() and BMO_elem_flag_test_bool() to get TRUE/FALSE results rather then the flag value. | |||
2012-04-03 | bmesh iterators were passing the BMesh as data argument to BM_iter_new(), ↵ | Campbell Barton | |
harmless but incorrect. replace these cases with iterator macro. | |||
2012-04-03 | style cleanup: multi-line if's & whitespace. | Campbell Barton | |
2012-04-03 | stule cleanup: edits for files which were recently cleaned up. | Campbell Barton | |
2012-03-30 | For BMesh functions that test flags, add enabled/disabled variants. | Nicholas Bishop | |
2012-03-30 | Add BMO function to append to a buffer slot. | Nicholas Bishop | |
2012-03-30 | Fix out-of-date slot type sizes. | Nicholas Bishop | |
The BMO_OPSLOT_TYPEINFO array was out of date, the last two entries were off by one. Updated with correct values and added comments to make it easier to match up in future. Also changed the alloc string for mapping slot's ghash to something more descriptive than "bemsh op". |