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
2021-07-05BMesh: remove redundant mesh-backups from EDBM_op_* APICampbell Barton
Using BMesh operators through the edit-mesh API created a full copy of the mesh so it was possible to restore the mesh in case one of the operators raised an error. Remove support for automatic backup/restore from the EDBM_op_* API's as it adds significant overhead and was rarely used. Operators that need this can use the BMBackup API to backup & restore the mesh in case of failure. Add warning levels to BMO_error_raise so operators can report problems without it being interpreted as a request to cancel the operation. For high-poly meshes creating and freeing a full copy is an expensive operation, removing this gives a speedup of ~1.77x for most operators except for "connect_verts" / "connect_vert_pair" which still uses this functionality.
2021-07-05BMesh: dissolve faces no longer fails when some faces can't dissolveCampbell Barton
Previously, any face groups that could not be merged into a face caused the entire operation to report an error and do nothing. Now these cases are skipped over, dissolving faces where possible.
2021-07-05Cleanup: minor improvements to BMesh dissolve facesCampbell Barton
- Only create arrays with groups of two or more faces. - Remove raising exception for zero length arrays. - Remove redundant exception check (assert there is no exception). - Use a struct for face array & it's length instead of a NULL terminated array (removes the need to count faces in a loop).
2021-07-01Cleanup: remove redundant calls to BMO_error_clearCampbell Barton
2021-07-01Cleanup: remove bmesh-operator error codeCampbell Barton
The error codes could be used to look up messages from a table of messages however this wasn't especially useful. Now all calls to BMO_error_raise must inclue a message.
2021-04-15Fix missing NULL checks in adb21faa83d69069418d7bb14e0211261072f3a9Campbell Barton
2021-04-15Fix T70286: Dissolve vertices/edges creates duplicate faceCampbell Barton
2021-04-12Fix T87259: Un-Subdivide creates duplicate facesCampbell Barton
Add argument to BM_vert_collapse_faces to remove any faces that become duplicate as result of the collapse.
2021-02-05Cleanup: correct spelling in commentsCampbell Barton
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
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-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-03-14Cleanup: rename BLI_array_count -> lenCampbell Barton
Match naming convention used everywhere else. Count should only be used when this isn't directly accessible.
2018-02-01Cleanup: rename BLI_*_empty() -> clear()Campbell Barton
Consistent with other BLI API's
2017-05-06bmesh: use 'uint' instead of 'unsigned int'Campbell Barton
no functional changes.
2016-11-12BMesh: Minor improvement to face-joinCampbell Barton
Pass in loops instead of edge & faces. Nearly all callers have the loop-pairs to pass in.
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-12BMesh: avoid calling delete operator w/ face dissolveCampbell Barton
In nearly all cases this isn't needed.
2016-05-11BMesh: ignore non-manifold face connectionsCampbell Barton
Was showing an error message, now dissolve the faces that and delimit at non-manifold boundaries.
2016-03-05Cleanup: quiet -Wcomma, cast to void where neededCampbell 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
2014-08-26Fix T41568: Dissolve & Tear Boundary Keeps VertsCampbell Barton
2014-07-24Correction to recent rip-tearCampbell Barton
2014-07-23Editmesh: Add option to tear boundary vertices when dissolvingCampbell Barton
2014-06-27BMesh: more edits to vertex dissolve, handle mixing wire edges with faces betterCampbell Barton
2014-06-27BMesh: tweaks to dissolve, remove wire edges before other calculationsCampbell Barton
also avoid feedback loop when checking topology giving nondeterministic results.
2014-06-27BMesh: add BM_vert_is_edge_pair(), faster then checking ↵Campbell Barton
(BM_vert_edge_count(v) == 2)
2014-06-27BMesh: add ability not to delete vertex when collapsingCampbell Barton
2014-06-26Fix T40813: Dissolve verts with adjacent regions, removes the dividing edgeCampbell Barton
2014-06-26Fix for dissolve faces iterating over verts while removingCampbell Barton
2014-02-17Mesh Tool: removes degenerate edges, faces and face ears.Campbell 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-22Fix T37559: Crash dissolving vertices in some situationsCampbell Barton
2013-10-03fix crash in editmesh edge-dissolve, when 2 faces shared multiple edges, ↵Campbell Barton
freed edges would be checked.
2013-10-03yet another instance dissolve deletes verts it loops over.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-08-23move bmesh tools into their own include,Campbell Barton
changes to tool args would rebuild far too many files and these are mainly by modifiers outside of bmesh.
2013-08-17style cleanupCampbell Barton
2013-07-28bmesh: skip error checks when building in release mode (minor speedup),Campbell Barton
also more strict use of BLI_array_declare(), only allow after array is declared.
2013-07-25correct problem with limited-dissolve not leaving the selection correctly ↵Campbell Barton
(caused by BM_elem_attrs_copy no longer dealing with selection)
2013-06-14remove 'dissolve_edge_loop' bmesh operator, edgeloop dissolve replaces this now.Campbell Barton
2013-06-14bmesh edge dissolve: add option use_face_split (matching vertex dissolve ↵Campbell Barton
option), useful to avoid odd shaped ngons surrounding dissolved edges.
2013-06-03fix [#35311] Planar Decimate / Limited Dissolve fails to merge some adjacent ↵Campbell Barton
faces optionally limit by face flipping, also added support to delimit by material and edge crease.
2013-05-09fix for 2 errors introduced since releaseCampbell Barton
- shape key NULL pointer dereference. - use uninitialized variable for bmesh free. also update credits and merge dissolve flag assignment.