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-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-07Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete)Sybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/blenlib` module. Not all warnings are addressed in this commit. No functional changes.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-10-09Fix T70594: mathutils.geometry.tessellate_polygon flips trianglesmano-wii
Some scripts will need to be updated to support this.
2019-06-12Cleanup: spelling in commentsCampbell 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 blenlibCampbell 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.
2019-01-15Cleanup: comment line length (blenlib)Campbell Barton
Prevents clang-format wrapping text before comments.
2018-10-18Cleanup: Remove more #if 0 blocksJacques Lucke
Continuation of https://developer.blender.org/D3802 Reviewers: brecht Differential Revision: https://developer.blender.org/D3808
2018-06-17Cleanup: trailing space for BLICampbell Barton
2016-05-05Docs: scanfill.c purposeCampbell Barton
2016-04-20Minor optimization for scanfillCampbell Barton
Replace angle with with cosine calculation.
2014-12-01Cleanup: hopefully last int->bool one in this area!Bastien Montagne
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-08-17CleanupCampbell Barton
2014-08-07CommentsCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (blenlib)Campbell Barton
2014-03-30Correct own recent changes broke release buildsCampbell Barton
2014-02-13Mask: add option to detect self intersectionsCampbell Barton
2014-02-13Scanfill: add user-flags for edges and verts, useful elsewhere.Campbell Barton
2014-02-13Scanfill: name flags better and comment unused SF_EDGE_BOUNDARY flag.Campbell Barton
2014-02-13Mask: option not to treat overlapping curves as holesCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-05Scanfill: use poly_nr as an index rather then index + 1Campbell Barton
2014-02-05Scanfill: malloc arrays and zero init membersCampbell Barton
2014-02-04Code cleanup: remove scdata from ScanFillContextCampbell Barton
2014-02-04Scanfill: optimize filling curves, text, masks - skip calculating holesCampbell Barton
Support for tagging polygon numbers when adding scanfill data, saves having to calculate connectivity afterwards (which can take approx half overall scanfill time for complex curves).
2014-02-04Scanfill: minor optimization, comment unused code, avoid vert loopCampbell Barton
2014-02-03Scanfill: skip checks for loose edges when they can't occurCampbell Barton
Only editmesh needs this, text, curves, masks - can all skip this check
2014-02-03Code cleanup: replace while -> for loopsCampbell Barton
2014-01-16Code Cleanup: style and redundant castsCampbell Barton
2013-12-28Math Lib: add dist_squared_to_line_v2, avoids sqrt in scanfill and 3d-textCampbell Barton
2013-09-01use strict flags for scanfill, also replace shorts with unsigned shorts and ↵Campbell Barton
ints/bools in some cases.
2013-08-28remove callback BLI_localErrorCallBack from scanfill, was here for years and ↵Campbell Barton
only ever wrapped printf.
2013-08-28scanfill curves, ngons, masks had their own memarena code and would allocate ↵Campbell Barton
a new one for every fill. now use BLI_memarena and support passing the arena into the fill function, so the arena is re-used, when scanfill is called in a loop.
2013-08-07code cleanup: more zero as NULL pointers.Campbell Barton
2013-06-26remove unused callbackCampbell Barton
2013-06-24remove own optimization in scanfill, in rare cases it caused problems, ↵Campbell Barton
reported as [#35861]
2013-06-03add asserts when scanfilling or triangulating with zero length normal.Campbell Barton
2013-04-27real fix for [#35097], (curve cap flipping).Campbell Barton
previous commit was incorrect, the face flipping depended on the orientation of the curve. fix by passing the bevel direction to the fill function so we can have a reliable front/back. This also gives some speedup for all curve filling since we can avoid calculating the normal since its already known.
2013-04-11fix [#34947] Alt-F Fill not workingCampbell Barton
Regression in r54579.
2013-04-11code cleanup: unused defines, remove unused scanfill success value from ↵Campbell Barton
BLI_scanfill_begin().
2013-02-21code cleanup: rename ScanFillVert.h --> edge_tot, SF_VERT_UNKNOWN --> ↵Campbell Barton
SF_VERT_AVAILABLE
2013-02-15skip fix from r54579 when holes aren't used (keeps bmesh ngon filling fast)Campbell Barton
2013-02-15Bug fix #34177Ton Roosendaal
Blender's triangulator has been rescued :) This commit fixes errors with concave holes inside polygons. Simple explanation: Blender "ScanFill" works by sorting vertices from top-left to bottom-right, and connecting these vertices with a sorted list of edges they have. The inner loop then goes over every vertex, its edges, and tries to make triangles by checking vertices that are next in the list. - if the triangle has points inside: it creates an edge to this vertex, and continues - else: add new triangle. Very simple, fast and efficient. But it needed one more check for the first step: it should check every vertex inside the triangle, and pick the best vertex for an edge based on forming the sharpest angle with the tested edge. That solves the case for concave holes. Blender ScanFill was coded 20 years ago, and is an own invention. I wanted a triangulator that just fills any collection of polygons, including with holes. No idea if this was ever published in a paper!
2013-02-10style cleanupCampbell Barton
2012-12-29style cleanupCampbell Barton