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-04Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fixSebastian Parborg
No functional changes
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
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-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-15Fix T55490, intersect two triangles fails.Howard Trickey
Need to use the 'use_partial_connect' option in island connect, so changed signatures of various functions to pass that into and then down from BM_mesh_intersect (making true for intersect, false for boolean). Then fix bm_face_split_edgenet_partial_connect to work when input edges are not necessarily wire, but at least not in the face they are being connected in. That caused generalization of core BM_vert_separate_hflag_wire (which is only used in this one place in all Blender).
2017-03-12BMesh: rename cryptic functionsCampbell Barton
Use expanded names for bmesh primitive operations (urmv jvke semv jfke). Use 'bmesh_kernel_' prefix, these functions aren't intended for wide use so favor readability. Remove BM_face_vert_separate, it wasn't used and only skipped step of finding correct loop of face.
2016-11-09BMesh: face-flip, no need for temporary edge-arrayCampbell Barton
Reverse loops in-place.
2016-03-14Fix T47788: Symmetrize flips multi-res dataCampbell Barton
Symmetrize was unusable with multi-res data, add an option for the bmesh operator not to flip the multi-res depth.
2015-12-16BMesh: utility function to split off wire edgesCampbell Barton
2015-12-11BMesh: Add BM_face_kill_looseCampbell Barton
Removes edges/verts that become unused.
2015-11-19BMesh: new API call to collapse an edgeCampbell Barton
Existing collapse functions were strict regarding the number of verts sharing an edge. BM_edge_collapse allows any edge to be passed in without first having to manipulate geometry.
2015-11-19BMesh: bmesh_jekv check for degenerate facesCampbell Barton
Move check for degenerate faces from BM_vert_collapse_faces into bmesh_jekv.
2015-05-02BMesh: utility to split isolated loop regionsCampbell Barton
2015-05-02BMesh: BM_vert_separate double edge fixCampbell Barton
Splitting edges could give duplicates.
2015-05-02Cleanup: bmesh src/dst order in API argsCampbell Barton
2015-04-29BMesh: add BM_face_loop_separate_multiCampbell Barton
New utility function to handle splitting off multiple loops from a face at once.
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2014-08-18BMesh: add BM_vert_splice_check_doubleCampbell Barton
checks if splicing verts creates duplicate edges
2014-06-27BMesh: add ability not to delete vertex when collapsingCampbell Barton
2013-12-24BMesh optimize face splitting by taking loops rather then vertsCampbell Barton
- add BM_vert_pair_share_face - add BM_loop_is_adjacent - remove BM_verts_connect
2013-11-27Fix T37583: regression in bmesh triangulate breaking python's use of face_mapCampbell Barton
2013-10-08Triangulate Modifier changes - using scanfillDalai Felinto
The ear loop method is potentially too slow (OˆN). We are not using the 'beauty' option at the moment. I'll incorporate that next. (and later specific methods for quad splitting) Patch done in collaboration (and reviewed by) with Campbell Barton.
2013-08-21bmesh 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-21fix own regression [#36443] Vertex to UV index doesn't match with 2.68aCampbell Barton
add BM_face_create_verts wrapper for BM_face_create which creates its own edge array.
2013-08-13fix own regression, rip tool wasn't handling selection.Campbell Barton
2013-08-13bmesh_vert_separate: remove unused return valueCampbell Barton
2013-08-13bmesh_edge_separate: avoid counting radial loops when splitting edges, we ↵Campbell Barton
only need to check if the edge is boundary or not. will speedup edgesplit modifier a little.
2013-07-11fix 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-03-09code cleanup: make bmesh var names more consistentCampbell Barton
2013-01-14use booleans for bmesh api.Campbell Barton
2012-11-29fix [#33029] Applying modifier leaks memoryCampbell 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-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-04-04add option not to delete edges/verts when joining faces, needed so we can ↵Campbell Barton
loop over edges and join them without having to check if they have been removed.
2012-03-19bmesh inset:Campbell Barton
fix hole when 2+ faces a vert but no edges (would make a hole), now splice the verts back together.
2012-03-09BMesh: rewrite edge split code (used by edge split modifier and rip tool)Campbell Barton
this fixes but [#30461] where the same vertex was added to some faces twice. Previous code rebuilt all faces around the split edges, replace this with much simpler code that uses existing bmesh API for splitting. This also gives a performance boost to the modifier (over 30x faster in the bug-report file).
2012-03-09added API function to C and pythonCampbell Barton
* C: BM_vert_separate(...) * py: bmesh.utils.vert_separate(vert, edges) This splits off regions around the vertex, splitting on connected edges passed in a sequence. also made minor changes - rename python api functions _rip to _separate - fixed bmesh iterator being iterable its self (some parts of python expect this) - fix memory leak in bmesh python api.
2012-03-09bmesh py api, new functions:Campbell Barton
* bmesh.utils.face_vert_rip(f, v) * bmesh.utils.loop_rip(l)
2012-03-06fix for own error in edge-rotate keeping edge customdata - this was crashing ↵Campbell Barton
when rotating multiple edges. Now create the rotate edge in advance and copy its customdata (before joining the faces). This commit also fixes an annoyance where tryangulating faces could create duplicate edges.
2012-03-05edge rotate now keeps edge properties (like seam, crease, bevel weight.. etc)Campbell Barton
2012-03-05Improvements to bmesh edge rotateCampbell Barton
On a user level, edge rotate now works better with multiple edges selected, it wont make zero area faces or rotate edges into existing ones. With a single edge selected - rotate is less strict and will allow ugly resulting faces but still checks on duplicate edges. API: * BM_edge_rotate now takes a flag, to optionally... ** check for existing edge ** splice edge (rotate and merge) ** check for degenerate resulting faces (overlapping geometry, zero area) ** beauty - only rotate to a better fit. ... this allows it to still be used as a low level API function since all checks can be skipped. * BM_edge_rotate() now works a bit different, it find the new edge rotation before joining the faces - exposed by BM_edge_rotate_calc(). * Added api call bmesh_radial_faceloop_find_vert() - Radial Find a Vertex Loop in Face
2012-02-29Code Cleanup: remove non existing function declarations.Campbell Barton
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
2012-02-28more header re-arranging.Campbell Barton
Some function comments were in headers, some in the C files, some in both. Moved function comments from headers into the C files.