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-03Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXXCampbell Barton
Also use doxy style function reference `#` prefix chars when referencing identifiers.
2021-06-26Cleanup: full sentences in comments, improve comment formattingCampbell Barton
2020-09-30Cleanup: convert gforge task ID's to phabricator formatValentin
Cleanup old tracker task format to the new. e.g: [#34039] to T34039 Ref D8718
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-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-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2017-05-06bmesh: use 'uint' instead of 'unsigned int'Campbell Barton
no functional changes.
2016-05-05Transform/Snap: EditMesh/BKE_bvhutils API improvementsGermano Cavalcante
Separate the creation of trees from EditMesh from the creation of trees from DerivedMesh. This was meant to simplify the API, but didn't work out so well. `bvhtree_from_mesh_*` actually is working as `bvhtree_from_derivedmesh_*`. This is inconsistent with the trees created from EditMesh. Since for create them does not use the DerivedMesh. In such cases the dm is being used only to cache the tree in the struct DerivedMesh. What is immediately released once bvhtree is being used in functions that change(tag) the DM cleaning the cache. - Use a filter function so users of SnapObjectContext can define how edit-mesh elements are handled. - Remove em_evil. - bvhtree of EditMesh is now really cached in the snap functions. - Code becomes organized and easier to maintain. This is an important patch for future improvements in snapping functions.
2015-11-19Cleanup: remove unused bmesh iteratorCampbell Barton
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell 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-11-03BMesh: arg reorderCampbell Barton
2014-09-25BMesh: type-check iterator data argumentCampbell Barton
2014-09-24BMesh: generic callbacks for mempool iteratorCampbell 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-09-01Move GCC attributes into a centraized definesSergey Sharybin
Instead of having ifdef __GNUC__ all over the headers to use special compiler's hints use a special file where all things like this are concentrated. Makes code easier to follow and allows to manage special attributes in more efficient way. Thanks Campbell for review!
2013-06-26correct typos in comments.Campbell Barton
2013-05-25bmesh: optimize iterator size using a union for iterator specific data.Campbell Barton
on 64bit system reduces the struct to 64bytes, was 120, also avoids initializing unused values.
2013-05-13remove BLI_array use in bmesh mirror, add BMO_iter_as_arrayN() function.Campbell Barton
2013-03-28BMesh: make the context create operator (Fkay) more logical, before calling ↵Campbell Barton
each operator check the state that it can even run and do something.
2013-03-27api cleanup: replace BMO_vert_edge_flags_count() with more reusable function ↵Campbell Barton
- BMO_iter_elem_count_flag(). closely matching existing BM_iter_elem_count_flag() function but checks tool-flags instead.
2013-01-14use booleans for bmesh api.Campbell Barton
2012-11-18style cleanup: comments & spellingCampbell Barton
2012-11-12BM_iter_as_arrayN() can now take an optional existing array argument, useful ↵Campbell Barton
to avoid many small malloc's by passing a fixes size stack variable instead. Will give some speedup to edge-split modifier and bevel.
2012-10-20code cleanup: remove unused members of BMIter struct to save some space. ↵Campbell Barton
(this iterator is used everywhere). also rename vars in the struct.
2012-10-16un-subdivide bmesh operator, useful for making lower polygon versions of ↵Campbell Barton
models, can give nicer results then edge collapsing which tends to give a lot of sharp triangles. works on edges and faces, has iteration option to further reduce the poly count. access from the edge menu, under subdivide. example: http://www.graphicall.org/ftp/ideasman42/bmesh_unsubdivide.png
2012-09-11fix [#31738] BM_vert_splice modifies loops during iterationCampbell Barton
patch by Nicholas Bishop, modified to avoid looping over vert-loops one extra time. added BM_iter_as_arrayN(), returns an iterator as an array without knowing the length before calling.
2012-04-28bmesh api functions, not used yet:Campbell Barton
BM_iter_elem_count_flag() BM_iter_mesh_count_flag()
2012-04-19remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the ↵Campbell Barton
maceros had unused args in both cases).
2012-04-19code cleanup: first step to replace BM_ITER BM_ITER_INDEX macros.Campbell Barton
2012-03-24code cleanup: move bmesh inline funcs to headers (avoids compiling the C files).Campbell Barton
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-02-29update doxygen comments for bmesh.Campbell Barton
2012-02-28bmesh: re-arrange headersCampbell Barton