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-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
2020-03-09Cleanup: Replace ABS/SQUARE/CUBE with function callsSergey Sharybin
While it might be handy to have type-less functionality which is similar to how C++ math is implemented it can not be easily achieved with just preprocessor in a way which does not have side-effects on wrong usage. There macros where often used on a non-trivial expression, and there was at least one usage where it was causing an actual side effect/bug on Windows (see change around square_f(sh[index++]) in studiolight.c). For such cases it is handy to have a function which is guaranteed to have zero side-effects. The motivation behind actually removing the macros is that there is already a way to do similar calculation. Also, not having such macros is a way to guarantee that its usage is not changed in a way which have side-effects and that it's not used as an inspiration for cases where it should not be used. Differential Revision: https://developer.blender.org/D7051
2019-08-02Fix T68129: Bridge edge loops fails on small edge loopsCampbell Barton
2019-04-29Cleanup: comments (long lines) in bmeshCampbell Barton
2019-04-20Cleanup: add missing macros to clang-formatCampbell 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
2017-11-01Cleanup: styleCampbell Barton
2017-10-24Fix T53143: Knife Crash after Grid FillCampbell Barton
BM_ELEM_INTERNAL_TAG flag wasn't ensured to be cleared.
2017-09-19BLI_utildefines_iter: Use for iteration helpersCampbell Barton
2017-09-18BMesh: move bridge tools stepping logic into macroCampbell Barton
Also use floor division since regular division was giving a bias on negative error values.
2017-09-15Fix T52384: Bridge pair result depends on other loopsCampbell Barton
When 2x loops have different number of vertices, the distribution for vertices fan-fill depended on the loop order and was often lop-sided. This caused noticeable inconstancies depending on the input since edge-loops are flipped to match each others winding order.
2017-05-06bmesh: use 'uint' instead of 'unsigned int'Campbell Barton
no functional changes.
2015-11-19BMesh: support splitting edge-loops when expandingCampbell Barton
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2014-11-21Cleanup: typoCampbell Barton
2014-07-30BLI_listbase: consistent name prefixCampbell Barton
2014-06-25Use api function for flipping button list & rename to BLI_listbase_reverseCampbell Barton
2014-05-22Fix T40297: Crash while ripping an edge when autosmooth is activated.Bastien Montagne
Turned out there was still quite a few cases were indices were set dirty, but elem_index_dirty was not tagged accordingly (mostly for BM_LOOP, but a few others as well). So probably this crash was not the only one hidden here. Hopefully all possible cases were catched this time!
2014-04-27Correct some errors in auto-cleanupCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (bmesh)Campbell Barton
2014-04-08Mempool: delay allocating an initial chunk, its not always usedCampbell Barton
2014-04-05Mempool: remove BLI_MEMPOOL_SYSMALLOC, MEM_* allocs are more efficient nowCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-02Code cleanup: suffix vars to make obvious they are squaredCampbell Barton
2013-09-06rename positive_mod to mod_i, make it work with nagative numbers (matching ↵Campbell Barton
pythons modulo), and use in a few more places. allow mesh-checker-deselect to have a negative offset.
2013-08-27ghash/bli-listbase edits, rename BLI_ghash_pop -> BLI_ghash_popkey (since it ↵Campbell Barton
takes a key as an arg and isnt popping any element from the hash as you might expect). add BLI_pophead/tail, since getting the first element from a list and removing it is a common task.
2013-08-03correct edgeloop tagging assigning an uninitialized value, also remove ↵Campbell Barton
redundant NULL check in edgenet fill
2013-07-05fix [#35989] bridge tool flip mashCampbell Barton
open edge loops were calculating flipping incorrectly.
2013-06-26correct typos in comments.Campbell Barton
2013-06-06fix issue with new bridge tool interpolation [#35636]Campbell Barton
2013-06-04fix for own error in recent bridge changes, make sure normals are calculated ↵Campbell Barton
before use.
2013-05-31fix [#35578] New bridge tool; bowtie crossing when destination edges form ↵Campbell Barton
one half of an 'X'
2013-05-23Support for bridge tool subdivisions, smoothing and shape along the profile.Campbell Barton
also added the underlying subdivision as a standalone operator in the edge menu, named: subdivide edge-ring. http://www.graphicall.org/ftp/ideasman42/bridge_subd.png
2013-05-22utility bmesh functions, for edge loop creation, optionally pass array ↵Campbell Barton
BM_edge_split_n() to get verts created.
2013-05-17fix for BM_mesh_edgeloops_find(), could give edge loops with one vert. ↵Campbell Barton
(caused bridge to crash sometimes)
2013-05-16fix for crash in grid-fill where it was possible for rail edges to overlap.Campbell Barton
2013-05-15bmesh edgeloop utility function, calculates an edge loop from 2 verts (start ↵Campbell Barton
and endpoint).
2013-05-12fix for crash with new bridge method used with invalid edge-loops.Campbell Barton
2013-05-12bridge option to bridge loop pairs,Campbell Barton
change the operator option to an enum: Connect Loops - open/closed/pairs because it was getting confusing having all as bools.
2013-05-12bridge tool: support for bridging loops with different numbers of vertices.Campbell Barton
2013-05-11add support for bridging multiple edge loops at once.Campbell Barton
2013-05-11- add generic edge-loop utility functions for bmesh.Campbell Barton
- rewrite bridge tool to use the new functions (using edge & vertex arrays was quite cumbersome).