Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-05 | BMesh: remove redundant mesh-backups from EDBM_op_* API | Campbell 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-05 | BMesh: dissolve faces no longer fails when some faces can't dissolve | Campbell 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-05 | Cleanup: minor improvements to BMesh dissolve faces | Campbell 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-01 | Cleanup: remove redundant calls to BMO_error_clear | Campbell Barton | |
2021-07-01 | Cleanup: remove bmesh-operator error code | Campbell 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-15 | Fix missing NULL checks in adb21faa83d69069418d7bb14e0211261072f3a9 | Campbell Barton | |
2021-04-15 | Fix T70286: Dissolve vertices/edges creates duplicate face | Campbell Barton | |
2021-04-12 | Fix T87259: Un-Subdivide creates duplicate faces | Campbell Barton | |
Add argument to BM_vert_collapse_faces to remove any faces that become duplicate as result of the collapse. | |||
2021-02-05 | Cleanup: correct spelling in comments | Campbell Barton | |
2020-03-19 | Cleanup: `make format` after SortedIncludes change | Dalai Felinto | |
2019-04-29 | Cleanup: comments (long lines) in bmesh | Campbell Barton | |
2019-04-17 | ClangFormat: apply to source, most of intern | Campbell 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-27 | Cleanup: style, use braces for bmesh | Campbell Barton | |
2019-02-18 | doxygen: add newline after \file | Campbell Barton | |
While \file doesn't need an argument, it can't have another doxy command after it. | |||
2019-02-06 | Cleanup: remove redundant doxygen \file argument | Campbell Barton | |
Move \ingroup onto same line to be more compact and make it clear the file is in the group. | |||
2019-02-01 | Cleanup: remove redundant, invalid info from headers | Campbell 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-04 | Cleanup: strip trailing space in bmesh module | Campbell Barton | |
2018-03-14 | Cleanup: rename BLI_array_count -> len | Campbell Barton | |
Match naming convention used everywhere else. Count should only be used when this isn't directly accessible. | |||
2018-02-01 | Cleanup: rename BLI_*_empty() -> clear() | Campbell Barton | |
Consistent with other BLI API's | |||
2017-05-06 | bmesh: use 'uint' instead of 'unsigned int' | Campbell Barton | |
no functional changes. | |||
2016-11-12 | BMesh: Minor improvement to face-join | Campbell Barton | |
Pass in loops instead of edge & faces. Nearly all callers have the loop-pairs to pass in. | |||
2016-07-01 | BMesh: make toolflags optional | Campbell Barton | |
Saves 8 bytes per vert/edge/face. Gives overall ~20-25% memory saving for dyntopo sculpting and modifiers that use BMesh. | |||
2016-05-12 | BMesh: avoid calling delete operator w/ face dissolve | Campbell Barton | |
In nearly all cases this isn't needed. | |||
2016-05-11 | BMesh: ignore non-manifold face connections | Campbell Barton | |
Was showing an error message, now dissolve the faces that and delimit at non-manifold boundaries. | |||
2016-03-05 | Cleanup: quiet -Wcomma, cast to void where needed | Campbell Barton | |
2015-05-01 | Fix 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-31 | Compiler warning: double-promotion | Campbell Barton | |
2014-08-26 | Fix T41568: Dissolve & Tear Boundary Keeps Verts | Campbell Barton | |
2014-07-24 | Correction to recent rip-tear | Campbell Barton | |
2014-07-23 | Editmesh: Add option to tear boundary vertices when dissolving | Campbell Barton | |
2014-06-27 | BMesh: more edits to vertex dissolve, handle mixing wire edges with faces better | Campbell Barton | |
2014-06-27 | BMesh: tweaks to dissolve, remove wire edges before other calculations | Campbell Barton | |
also avoid feedback loop when checking topology giving nondeterministic results. | |||
2014-06-27 | BMesh: add BM_vert_is_edge_pair(), faster then checking ↵ | Campbell Barton | |
(BM_vert_edge_count(v) == 2) | |||
2014-06-27 | BMesh: add ability not to delete vertex when collapsing | Campbell Barton | |
2014-06-26 | Fix T40813: Dissolve verts with adjacent regions, removes the dividing edge | Campbell Barton | |
2014-06-26 | Fix for dissolve faces iterating over verts while removing | Campbell Barton | |
2014-02-17 | Mesh Tool: removes degenerate edges, faces and face ears. | Campbell Barton | |
2013-12-24 | BMesh optimize face splitting by taking loops rather then verts | Campbell Barton | |
- add BM_vert_pair_share_face - add BM_loop_is_adjacent - remove BM_verts_connect | |||
2013-11-22 | Fix T37559: Crash dissolving vertices in some situations | Campbell Barton | |
2013-10-03 | fix crash in editmesh edge-dissolve, when 2 faces shared multiple edges, ↵ | Campbell Barton | |
freed edges would be checked. | |||
2013-10-03 | yet another instance dissolve deletes verts it loops over. | Campbell Barton | |
2013-10-03 | fix [#36923] Merge / Delete vertices crashes for some meshes | Campbell 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-23 | move 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-17 | style cleanup | Campbell Barton | |
2013-07-28 | bmesh: 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-25 | correct problem with limited-dissolve not leaving the selection correctly ↵ | Campbell Barton | |
(caused by BM_elem_attrs_copy no longer dealing with selection) | |||
2013-06-14 | remove 'dissolve_edge_loop' bmesh operator, edgeloop dissolve replaces this now. | Campbell Barton | |
2013-06-14 | bmesh edge dissolve: add option use_face_split (matching vertex dissolve ↵ | Campbell Barton | |
option), useful to avoid odd shaped ngons surrounding dissolved edges. | |||
2013-06-03 | fix [#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-09 | fix for 2 errors introduced since release | Campbell Barton | |
- shape key NULL pointer dereference. - use uninitialized variable for bmesh free. also update credits and merge dissolve flag assignment. |