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
2020-09-30Cleanup: convert gforge task ID's to phabricator formatValentin
Cleanup old tracker task format to the new. e.g: [#34039] to T34039 Ref D8718
2020-07-03Cleanup: BMesh, Clang-Tidy else-after-return fixesSybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/bmesh` module. No functional changes.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Cleanup: trailing commasCampbell Barton
2019-03-27Cleanup: style, use braces for bmeshCampbell Barton
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2018-06-04Cleanup: strip trailing space in bmesh moduleCampbell Barton
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2016-11-14BMesh: avoid extra calls per faces-of-vert iteratorCampbell Barton
- `bmesh_radial_faceloop_find_first` & `bmesh_disk_faceedge_find_first` can be replaced with a single call to a new function: `bmesh_disk_faceloop_find_first` - `bmesh_disk_faceedge_find_first` called `bmesh_radial_facevert_check` which isn't needed, since either the current or next loop in the cycle is attached to the edge we're looking for.
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.
2016-05-13Correct BM_iter_mesh_bitmap_from_filter returnCampbell Barton
2016-05-05Fix for fix, sorry for the noiseCampbell Barton
2016-05-05Missed last commitCampbell Barton
2016-05-05Correct own mistake int recent transform API editsCampbell Barton
Need to return number of enabled elements.
2016-05-05Transform/Snap: EditMesh/BKE_bvhutils API improvementsGermano Cavalcante
Separate the creation of trees from EditMesh from the creation of trees from DerivedMesh. This was meant to simplify the API, but didn't work out so well. `bvhtree_from_mesh_*` actually is working as `bvhtree_from_derivedmesh_*`. This is inconsistent with the trees created from EditMesh. Since for create them does not use the DerivedMesh. In such cases the dm is being used only to cache the tree in the struct DerivedMesh. What is immediately released once bvhtree is being used in functions that change(tag) the DM cleaning the cache. - Use a filter function so users of SnapObjectContext can define how edit-mesh elements are handled. - Remove em_evil. - bvhtree of EditMesh is now really cached in the snap functions. - Code becomes organized and easier to maintain. This is an important patch for future improvements in snapping functions.
2015-11-19Cleanup: remove unused bmesh iteratorCampbell Barton
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2014-11-03BMesh: arg reorderCampbell Barton
2014-09-24BMesh: generic callbacks for mempool iteratorCampbell Barton
2013-10-04code cleanup: warnings and minor edits.Campbell 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-10-03add debug mode assert if mesh-data is removed while iterating over it. (can ↵Campbell Barton
crash).
2013-05-25bmesh: optimize iterator size using a union for iterator specific data.Campbell Barton
on 64bit system reduces the struct to 64bytes, was 120, also avoids initializing unused values.
2013-05-13remove BLI_array use in bmesh mirror, add BMO_iter_as_arrayN() function.Campbell Barton
2013-03-28BMesh: 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-27api cleanup: replace BMO_vert_edge_flags_count() with more reusable function ↵Campbell Barton
- BMO_iter_elem_count_flag(). closely matching existing BM_iter_elem_count_flag() function but checks tool-flags instead.
2013-01-14use booleans for bmesh api.Campbell Barton
2012-11-12code cleanup: spelling,Campbell Barton
also initialize bmesh-bevel settings struct to zero to avoid possible uninitialized memory later.
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-20code cleanup: remove unused members of BMIter struct to save some space. ↵Campbell Barton
(this iterator is used everywhere). also rename vars in the struct.
2012-10-16fix for free NULL pointer in BM_vert_splice() and BM_iter_as_arrayN() failed ↵Campbell Barton
with BM_VERTS_OF_MESH/BM_EDGES_OF_MESH/BM_FACES_OF_MESH.
2012-09-11code cleanup: use min/max inline functions rather than macros & simplify loopCampbell Barton
2012-09-11fix [#31738] BM_vert_splice modifies loops during iterationCampbell Barton
patch by Nicholas Bishop, modified to avoid looping over vert-loops one extra time. added BM_iter_as_arrayN(), returns an iterator as an array without knowing the length before calling.
2012-04-28bmesh api functions, not used yet:Campbell Barton
BM_iter_elem_count_flag() BM_iter_mesh_count_flag()
2012-04-19code cleanup: first step to replace BM_ITER BM_ITER_INDEX macros.Campbell Barton
2012-04-19style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITERCampbell Barton
2012-03-24code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).Campbell Barton
2012-03-08building without python works again, cleanup bmesh include paths (cmake and ↵Campbell Barton
scons).
2012-03-01Code Cleanup: remove bmesh_radial_loop_next() function,Campbell Barton
just access l->radial_next
2012-02-29update doxygen comments for bmesh.Campbell Barton
2012-02-28code cleanup: de-duplicate bmesh face creation code,Campbell Barton
2012-02-28Code Cleanup:Campbell Barton
- apply some rules for function naming conventions, added to main bmesh doc in bmesh.h. - remove unused function BM_loops_to_corners().
2012-02-27Code Cleanup:Campbell Barton
* made bmesh_structure.h function names more consistant. * remove unused code in bmesh_structure.c * removed 'Edge Flip' operator (missing from bmesh but looked into trunk feature and dont think its worth keeping). * tagged some BMESH_TODO's
2012-02-26* bmesh py api BMEdge.verts was using 2 v1'sCampbell Barton
* bmesh pu api __repr__ functions for mesh data. * correct py hash defines.
2012-02-24bmesh py api (some api changes and doc additions)Campbell Barton
* remove 'select' and 'hide' from BMLoop * remove BMesh.update * add BMesh.normal_update(skip_hidden=False) * add BMElemSet.index_update(), eg: bm.verts.index_update() bmesh api * BM_mesh_normals_update() now takes skip_hidden as an argument (previously this was default behavior), however this isnt good when using BMesh modifiers, where you want all normals to be recalculated. * add bm_iter_itype_htype_map[], to get the iter type from a BMesh iterator.
2012-02-23bmesh minor api refactorCampbell Barton
* BM_vert_in_face now loops over a vert's faces rather then every vert in the face. * rename bmesh_radial_find_first_facevert --> bmesh_radial_find_first_faceloop * rename bmesh_radial_find_next_facevert --> bmesh_radial_find_next_faceloop * rename BM_vert_collapse_edges --> BM_vert_collapse_edge (only collapses one)
2012-02-22bmesh python api - add BMEdge.verts, also had to add VERTS_OF_EDGE iterator ↵Campbell Barton
in bmesh's api.