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
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2021-07-23Cleanup: code comments punctuation / spacingCampbell Barton
2021-07-13Cleanup: replace BKE_customdata.h in BKE_editmesh.hCampbell Barton
Only DNA_customdata_types.h is needed for BMEditMesh.
2021-07-03Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXXCampbell Barton
Also use doxy style function reference `#` prefix chars when referencing identifiers.
2021-06-28Cleanup: repeated terms in code comments & error messagesCampbell Barton
2021-06-26Cleanup: full sentences in comments, improve comment formattingCampbell Barton
2021-06-22Cleanup: Spelling MistakesLeon Zandman
This patch fixes many minor spelling mistakes, all in comments or console output. Mostly contractions like can't, won't, don't, its/it's, etc. Differential Revision: https://developer.blender.org/D11663 Reviewed by Harley Acheson
2021-02-24Docs: clarify radial/cycle use for BMesh loopsCampbell Barton
Also add minor corrections clarifications elsewhere.
2021-02-22Fix proportional connected not working with loose edges due to hidden geometryPablo Dobarro
This was introduced in the new geodesic distances algorithm for proportional editing. When all faces of an edge are hidden, that edge should be considered as loose geometry. Initial patch by Pablo with modifications by Brecht. Differential Revision: https://developer.blender.org/D10488
2021-01-31Cleanup: remove unused BMesh.currentop struct memberCampbell Barton
2020-11-17BMesh: support for comparing loops when calculating face-groupsCampbell Barton
Add an optional callback to check source/destination loops for BM_mesh_calc_face_groups. This is needed so it can be used to calculate UV islands.
2020-10-03Cleanup: Remove/replace C standard library assert() and header usagesJulian Eisel
We have our own assert implementation, `BLI_assert()` that is prefered over the C standard library one. Its output is more consistent across compilers and makes termination on assert failure optional (through `WITH_ASSERT_ABORT`). In many places we'd include the C library header without ever accessing it.
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-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-04-29Cleanup: comments (long lines) in bmeshCampbell Barton
2019-04-18Cleanup: comment blocksCampbell 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-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-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2018-08-04Removed redundant comment in BMeshRohan Rathi
2018-06-11Merge branch 'blender2.8' into soc-2018-bevelRohan Rathi
2018-06-04Cleanup: strip trailing space in bmesh moduleCampbell Barton
2018-05-25Applied soc-2017-normal-toolsRohan Rathi
2017-10-24Fix T53143: Knife Crash after Grid FillCampbell Barton
BM_ELEM_INTERNAL_TAG flag wasn't ensured to be cleared.
2017-05-06bmesh: use 'uint' instead of 'unsigned int'Campbell Barton
no functional changes.
2016-10-31BMesh: remove redundant walker member & assignmentCampbell Barton
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.
2015-12-22BMesh: store stackdepth as an indexCampbell Barton
Avoids -1 all over.
2015-12-11Fix for invalid void* to typed pointer assignment in bmesh when used in C++ ↵Lukas Tönne
code. C++ does not allow the assignment of a void pointer to a typed pointer without explicit casting. Since we use a generic macro in bmesh for iterators we only ever get a void* back and cannot cast it to the target type. However, casting the target to a void* as well solves that issue. This tweak is #ifdef'd to be used in C++ code only.
2015-11-28BMesh: use typed filter callbacks (const args too)Campbell Barton
2015-08-06Cleanup: whitespace, unused varCampbell Barton
2015-04-28Fix for Clang type checkCampbell Barton
2015-04-26BMesh: BM_ELEM_CD_GET_VOID_P cast removed constCampbell Barton
2014-12-08BMesh: ensure iterator macros assign to valid typesCampbell Barton
note, this is for C++ code which expects a cast, (will be added later) also add a macro for nop-expressions (EXPR_NOP), when we never want an expression to be evaluated, but it should still be valid.
2014-08-01Prevent macros hiding casts from `const` pointersCampbell Barton
2014-06-27BMesh: use slightly faster method of stepping over edge-disksCampbell Barton
2014-04-16Dyntopo:Antony Riakiotakis
Store PBVH node ID in CustomData. This avoids a number of hash deletions and checks/insertions on big hashes.
2014-04-13Split Normals I (2/5): Add basic BMesh support of split normals.Bastien Montagne
* Merely a re-implementation of core split algorithm for BMesh, taking advantage of topological data available. * This code needs valid loop indices, so added BM_LOOP support to BM_mesh_elem_index_ensure() & co. Reviewers: campbellbarton Reviewed By: campbellbarton CC: brecht Differential Revision: https://developer.blender.org/D366
2013-12-19Patch T19235: bmesh comments (with updates)Campbell Barton
2013-12-19Code Cleanup: remove duplicate errorstackCampbell Barton
2013-10-28move bmesh array lookup data and utility functions from editmesh into bmesh,Campbell Barton
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces. developers note: - EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free - EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index - EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free - ED_uv_element_get -> BM_uv_element_get
2013-09-09correct error in recent changes for building with openmp.Campbell Barton
rename DM_OMP_LIMIT to BKE_MESH_OMP_LIMIT and set to 0 when in debug mode, same for BM_OMP_LIMIT.
2013-09-05code cleanup:Campbell Barton
- add missing headers from cmake (own omission) - quiet rna_test.c unused define warnings. - minor style edits - spelling corrections and ignore all uppercase words with spell checking script.
2013-08-18improved BM_face_copy_shared to copy from more possible connected loops and ↵Campbell Barton
add filter function (not used yet).
2013-07-02bump up openmp limit for release,Campbell Barton
also remove 'Vertex ' prefix for items in the vertex menu.
2013-06-19Remove paranoid null checks for editmesh EDBM_vert_at_index and friends (use ↵Campbell Barton
asserts instead). temp set BM_OMP_LIMIT to zero for better testing before release.
2013-05-14bridge tool: fix for error in recent commit. missed NULL check for example face.Campbell Barton