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-06-24Cleanup: comment blocks, trailing space in commentsCampbell Barton
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
2020-02-07Cleanup: use of 'unsigned'Campbell Barton
- Replace 'unsigned' used on it's own with 'uint'. - Replace 'unsigned const char' with 'const uchar'.
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.
2018-09-02Cleanup: comment blocksCampbell Barton
2018-04-03Cleanup: rename BMesh count_ex -> count_at_mostCampbell Barton
2017-07-29Cleanup: multistatement-macros warningCampbell Barton
2017-05-06bmesh: use 'uint' instead of 'unsigned int'Campbell Barton
no functional changes.
2016-06-29BMesh Intersect: use flags to keep track of vertsCampbell Barton
For simple cases bitmasks were OK, but didnt work for vert/edge, vert/edge tests. Tag verts instead, makes logic easier to follow and gives minor speedup.
2015-12-26BMesh: add checks for duplicates in a faceCampbell Barton
These could go un-noticed, causing errors later on.
2015-04-12BMesh: minor optimization counting adjacent dataCampbell Barton
add BM_***_count_is_over(), _count_is_equal() Useful if we only want to know if the count is a smaller value.
2014-07-11BMesh: new face splitting function BM_face_split_edgenetCampbell Barton
This takes a face and an edge-net, splitting the face into regions defined by the edge-net.
2014-07-09Correct IS_EMPTY macroCampbell Barton
also prevent reading from BM_ELEM_API_FLAG_ get/setters
2014-04-16Math Lib: optimize axis_dominant_v3_to_m3, approx 6x speedupCampbell Barton
build the matrix directly rather then calculating with axis/angle also remove unused function calc_poly_plane
2013-08-03code cleanup: bmesh use 'const' for query functions.Campbell Barton
2013-03-26code cleanup: operator headersCampbell Barton
2012-11-19bmesh: BM_verts_in_face was using bmesh operator flag which is no longer ↵Campbell Barton
ensured to be available, use internal apiflag instead, Thanks to Nicholas Bishop for spotting. also quiet some warnings.
2012-11-18bmesh: move internal API flags out of BMFlagLayer, into BMHeader which was ↵Campbell Barton
being padded up anyway, added static assert to make sure it stays <=16 bytes.
2012-09-12code cleanup: replace BM_DISK_EDGE_LINK_GET define with inline function, ↵Campbell Barton
that checks for the vertex not matching either of the edges verts.
2012-09-12fix [#31456] Extreme lag editing meshesCampbell Barton
running BM_CHECK_ELEMENT was taking over 75% of the time to subdivide a mesh, since this only reports errors, and is so slow - only run this on non-release builds.
2012-05-06fix [#31197] Limited dissolve leaves faces/edges/verts behindCampbell Barton
bad bug where vertices could be in a face more then once (which isn't allowed), now check for this when creating a face.
2012-05-01style cleanup: guys - set your editors to tabs!Campbell Barton
2012-04-23code cleanup: change C naming convention (so py and C api match), eg:Campbell Barton
C: BM_face_calc_area(f), Py: BMFace.calc_area()
2012-04-19code cleanup: remove unused BMesh args.Campbell Barton
2012-04-08code cleanup:Campbell Barton
- remove unused vars - no need to hard code version number for collada. - cleanup some typos in comments. - movieclip_calc_length was passing arg which should be unsigned to BLI_stringdec()
2012-03-11fix for debug assignment left in from own commit r44778Campbell Barton
also removed private face normal update functions - they were same as public.
2012-03-10Speedup for ngon normal calculationCampbell Barton
- BM_mesh_normals_update was looping over all faces to find the largest one, this is no longer needed. - calculating a face normal was looping over every faces corners twice, now only once - using the loops directly (not an iterator). - face vert locations were being copied an array, now use directly. - calculating the normals would copy a float vector for the next point in the face, which was never used (only current and previous used). - was copying vectors to compute the normal, now just assign the float pointers.
2012-02-29Code Cleanup: remove non existing function declarations.Campbell Barton
added some missing functions too - which are not used yep but should be there for api completeness. * CDDM_set_mloop * CDDM_set_mpoly * BLI_mempool_count
2012-02-28more header re-arranging.Campbell Barton
Some function comments were in headers, some in the C files, some in both. Moved function comments from headers into the C files.
2012-02-28code cleanup,Campbell Barton
- bmesh_newcore.c -> bmesh_core.c. - add bmesh_interp header.
2012-02-28Code Cleanup: bmeshCampbell Barton
* remove unneeded struct's from headers. * give argument names for return ** pointers r_ prefix.
2012-02-27bmesh minor api edits to be a little more typesafe.Campbell Barton
2012-02-27minor bmesh api naming edits.Campbell Barton
2012-02-26bmesh code cleanupCampbell Barton
* change BMO_elem_flag_* defines to inline functions. * BMO_slot_map_insert() is too big for an inline function - un-inline it. * remove redundant casts.
2012-02-19copying bmesh dir on its own from bmesh branchCampbell Barton