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
2017-10-24Fix T53143: Knife Crash after Grid FillCampbell Barton
BM_ELEM_INTERNAL_TAG flag wasn't ensured to be cleared.
2017-05-06bmesh: use 'uint' instead of 'unsigned int'Campbell Barton
no functional changes.
2016-10-31BMesh: remove redundant walker member & assignmentCampbell Barton
2016-07-01BMesh: make toolflags optionalCampbell Barton
Saves 8 bytes per vert/edge/face. Gives overall ~20-25% memory saving for dyntopo sculpting and modifiers that use BMesh.
2015-12-22BMesh: store stackdepth as an indexCampbell Barton
Avoids -1 all over.
2015-12-11Fix for invalid void* to typed pointer assignment in bmesh when used in C++ ↵Lukas Tönne
code. C++ does not allow the assignment of a void pointer to a typed pointer without explicit casting. Since we use a generic macro in bmesh for iterators we only ever get a void* back and cannot cast it to the target type. However, casting the target to a void* as well solves that issue. This tweak is #ifdef'd to be used in C++ code only.
2015-11-28BMesh: use typed filter callbacks (const args too)Campbell Barton
2015-08-06Cleanup: whitespace, unused varCampbell Barton
2015-04-28Fix for Clang type checkCampbell Barton
2015-04-26BMesh: BM_ELEM_CD_GET_VOID_P cast removed constCampbell Barton
2014-12-08BMesh: ensure iterator macros assign to valid typesCampbell Barton
note, this is for C++ code which expects a cast, (will be added later) also add a macro for nop-expressions (EXPR_NOP), when we never want an expression to be evaluated, but it should still be valid.
2014-08-01Prevent macros hiding casts from `const` pointersCampbell Barton
2014-06-27BMesh: use slightly faster method of stepping over edge-disksCampbell Barton
2014-04-16Dyntopo:Antony Riakiotakis
Store PBVH node ID in CustomData. This avoids a number of hash deletions and checks/insertions on big hashes.
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
2013-12-19Patch T19235: bmesh comments (with updates)Campbell Barton
2013-12-19Code Cleanup: remove duplicate errorstackCampbell Barton
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-09-09correct error in recent changes for building with openmp.Campbell Barton
rename DM_OMP_LIMIT to BKE_MESH_OMP_LIMIT and set to 0 when in debug mode, same for BM_OMP_LIMIT.
2013-09-05code cleanup:Campbell Barton
- add missing headers from cmake (own omission) - quiet rna_test.c unused define warnings. - minor style edits - spelling corrections and ignore all uppercase words with spell checking script.
2013-08-18improved BM_face_copy_shared to copy from more possible connected loops and ↵Campbell Barton
add filter function (not used yet).
2013-07-02bump up openmp limit for release,Campbell Barton
also remove 'Vertex ' prefix for items in the vertex menu.
2013-06-19Remove paranoid null checks for editmesh EDBM_vert_at_index and friends (use ↵Campbell Barton
asserts instead). temp set BM_OMP_LIMIT to zero for better testing before release.
2013-05-14bridge tool: fix for error in recent commit. missed NULL check for example face.Campbell Barton
2013-03-17- ghost-sdl builds again.Campbell Barton
- without python builds without warnings. - replace MAXFLOAT -> FLT_MAX in some areas, MAXFLOAT overflows (lager then float range). - add cmake option WITH_GCC_MUDFLAP to enable libmudflap use.
2013-02-20increase openmp limit for release so low poly meshes don't use openmp ↵Campbell Barton
threads (which can be slow)
2013-02-11style cleanup: also some typosCampbell Barton
2013-01-14fix for own error with unwrap selection checking uvedit_have_selection() ↵Campbell Barton
failed with no UV layer. also add some safety checks for BM_ELEM_CD_GET_* macros.
2013-01-10don't store bevel weights or edge crease customdata layers in editmode ↵Campbell Barton
unless they are needed. configurable in 'Geometry Data' panel, will be added when running crease edges transform for example.
2013-01-07style cleanupCampbell Barton
2012-12-21fix own error in bmesh/openmp unhiding, set BM_OMP_LIMIT to 0 so we can spot ↵Campbell Barton
these cases more easily (will change before release).
2012-12-12add threshold for bmesh & openmp so its not used with low poly meshes, ↵Campbell Barton
BM_OMP_LIMIT may need tweaking.
2012-12-12use openmp to thread some common bmesh operationsCampbell 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-11-27bmesh/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-18bmesh: lazy initialize bmesh tool flag pool, has the advantage that ↵Campbell Barton
modifiers that dont use bmesh operators can skip allocating it.
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-10-22code cleanup: check defgroup_name_index() return value != -1, rather then ↵Campbell Barton
checking >= 0. also remove unused bmesh decimator code.
2012-10-21bmesh decimate fixesCampbell Barton
- don't collapse boundary verts into non boundary edges (was ugly causing spikes) - handle degenerate cases better, rather then removing double edges after collapse, check before collapsing that there won't be any degenerate faces/edges.
2012-07-21remove BMO_OP_FLAG_RATIONALIZE_NORMALS option which wasnt used anywhere.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.
2012-04-07code cleanup: no functional changesCampbell 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-03-21move some bmesh headers into intern/ since they are not used externally.Campbell Barton
2012-03-20style cleanup: minor change to bmesh py repr + comment on loop radial ↵Campbell Barton
next/prev to avoid confusion.
2012-03-18spelling cleanupCampbell Barton
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-09style cleanup: comment blocksCampbell Barton
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
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-28move bmesh wiki docs into bmesh header and update doxygen.Campbell Barton
also have doxygen ignore *.py files and fix some warnings.