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
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
2019-04-29Cleanup: comments (long lines) in bmeshCampbell Barton
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-03-27Cleanup: style, use braces for bmeshCampbell Barton
2019-03-19Cleanup: use BLI_kdtree_3d prefixCampbell Barton
Use prefix now there isn't only the 3d version.
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.
2019-01-17BMesh: keep selection history when removing doublesCampbell Barton
Auto-merge would loose the active vertex.
2019-01-17BMesh: Remove doubles now merges face-flagsCampbell Barton
2019-01-17Cleanup: variable namesCampbell Barton
2019-01-16BMesh: prevent weld-verts bmop creating selected+hidden verts/edgesCampbell Barton
Related to error exposed by T59640 Would have fixed crash too, but we want to ignore hidden verts.
2018-06-04Cleanup: strip trailing space in bmesh moduleCampbell Barton
2017-09-19Cleanup: BLI_utildefines prefix for header-only libsCampbell Barton
This allows to have different macro headers without them sharing similar names to regular C modules.
2017-09-03Fix T52634: EditMesh Remove doubles could hangCampbell Barton
A single diagonal axis was used for sorting coordinates, the algorithm relied on users not having vertices axis aligned. Use BLI_kdtree to remove doubles instead. Overall speed varies, it's more predictable than the previous method. Some typical tests gave speedup of ~1.4x - 1.7x.
2017-09-01BMesh: use predictable order for remove-doublesCampbell Barton
Each qsort implementation may give different results when values match. Now fallback to sorting by index.
2017-06-09Fix T51648: Inconsistent edge collapse point depending on orientationLuca Rood
Edge collapse was using bounding box center as the point to collapse to. When collapsing multiple adjacent edges together, this caused inconsistencies in placement of the collapsed point, depending on the orientation of the edges in relation to the space axis. This makes edge collapse use the mean point instead.
2017-05-06bmesh: use 'uint' instead of 'unsigned int'Campbell Barton
no functional changes.
2016-11-13BMesh: BM_face_exists no longer uses return argCampbell Barton
Just return the face or NULL, like BM_edge_exists(), Also for BM_face_exists_overlap & bm_face_exists_tri_from_loop_vert. No functional changes. Old code did some partial overlap checks where this made some sense, but it's since been removed.
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-06-13Fix T48616: Auto-merge selects extra edgesCampbell Barton
Auto-merge caused all edges between selected vertices to be selected. This only makes sense in vertex-select-mode. Correct edge-flag merging code, which now merges flags from multiple edges.
2016-03-05Cleanup: quiet -Wcomma, cast to void where neededCampbell Barton
2015-12-24BMesh: remove doubles fix/optimizationCampbell Barton
Changes to remove doubles face creation, Recent change to remove doubles broke when the new faces already existed (rare occurrence), however theres no point to return an existing double face. Now check if the face exists before creating it. Other changes: - avoid 2x hash lookups on all mapped verts. - fill in the vert array instead of calculating from edges. - remove inefficient search of entire edge-array before adding to it. (flag verts to ensure they're not used multiple times). - move logic for transfusing edge-flags to edge creation.
2015-12-22Fix bad selection after symmetrizeCampbell Barton
Weld verts now keeps original faces so callers don't need to keep track of newly created face data.
2015-12-01Fix auto-merge loosing edge/faces selectionCampbell Barton
2015-06-21BMesh: replace BLI_array -> BLI_stackCampbell Barton
Also use more direct custom-data access.
2015-05-05Cleanup: function arg wrappingCampbell Barton
2015-05-01Fix T44560: Merge Collapse tool - UVs operator panel option ignored with ↵Bastien Montagne
Collapse but not with other merge types. Was missing parameter for collapse bmesh operator...
2015-01-31Compiler warning: double-promotionCampbell Barton
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2014-08-14BMesh: use a smaller dist3 thresholdCampbell Barton
Matches array modifier remove-doubles
2014-07-14Math Lib: add compare_len_squared_v3v3 from paint branchCampbell Barton
2014-06-28BLI_stackdefinesCampbell Barton
Bounds check the stack while debugging, also add STACK_PEEK
2014-06-24move STACK_* macros into BLI_stackdefines.hCampbell Barton
2014-05-23BMesh Walker: rename BMW_SHELL -> BMW_VERT_SHELLCampbell Barton
2014-04-15Various fixes/improvements regarding BMesh's elem_index_dirty and BM_LOOP ↵Bastien Montagne
handling. Most notably, BM_LOOP and BM_FACE index recompute should now be fully decoupled.
2014-01-22BMesh: collapse_uvs - avoid clearing and flagging for every cd-layerCampbell Barton
2014-01-17BMesh: minor optimization for remove doublesCampbell Barton
- replace heap allocation with stack for small arrays. - remove edge-lookup when its already known.
2014-01-17BMesh: add bmesh delete functions that dont depend on operator flagsCampbell Barton
2013-12-24Fix for own recent commitCampbell 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-10-02fix [#36913] GHASH_FLAG_ALLOW_DUPES assert and crash in Edge CollapseCampbell Barton
2013-08-28array modifier was adding vertices to the 'targetmap' multiple times.Campbell Barton
this is supported by weldop but would prefer not to allow multiple keys in the map.
2013-08-28remove doubles: source/target can be swapped, check both flags.Campbell Barton
2013-08-28mesh remove doubles was adding verts into the weld_verts.targetmap multiple ↵Campbell Barton
times (new paranoid asserts find this stuff).
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-17remove unused functionCampbell Barton
2013-03-30code cleanup: move beauty fill calculation into its own function and some ↵Campbell Barton
style cleanup
2013-03-30code comments: bmesh operator doxy header descriptions.Campbell Barton
2013-03-26code cleanup: operator headersCampbell Barton