de07bf2b13
Cleanup: spelling
2021-10-08 13:23:19 +11:00
74f45ed9c5
Cleanup: spelling in comments
2021-10-03 12:13:29 +11:00
c1a477b497
Cleanup: use C++ comments or 'if 0' for commented code
2021-08-03 15:27:20 +10:00
9b89de2571
Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXX
...
Also use doxy style function reference `#` prefix chars when
referencing identifiers.
2021-07-04 00:43:40 +10:00
17e1e2bfd8
Cleanup: correct spelling in comments
2021-02-05 16:23:34 +11:00
Valentin
5ac4778056
Cleanup: convert gforge task ID's to phabricator format
...
Cleanup old tracker task format to the new. e.g: [#34039 ] to T34039
Ref D8718
2020-09-30 20:11:06 +10:00
a29686eeb3
Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete)
...
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-08-07 11:23:02 +02:00
2d1cce8331
Cleanup: make format after SortedIncludes change
2020-03-19 09:33:58 +01:00
b718d659c9
Fix T70594: mathutils.geometry.tessellate_polygon flips triangles
...
Some scripts will need to be updated to support this.
2019-10-09 16:56:54 +11:00
6529d20d79
Cleanup: spelling in comments
2019-06-12 09:43:49 +10:00
e12c08e8d1
ClangFormat: apply to source, most of intern
...
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-04-17 06:21:24 +02:00
9ba948a485
Cleanup: style, use braces for blenlib
2019-03-27 13:17:30 +11:00
de13d0a80c
doxygen: add newline after \file
...
While \file doesn't need an argument, it can't have another doxy
command after it.
2019-02-18 08:22:12 +11:00
eef4077f18
Cleanup: remove redundant doxygen \file argument
...
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
2019-02-06 15:45:22 +11:00
65ec7ec524
Cleanup: remove redundant, invalid info from headers
...
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-02-02 01:36:28 +11:00
4226ee0b71
Cleanup: comment line length (blenlib)
...
Prevents clang-format wrapping text before comments.
2019-01-15 23:30:31 +11:00
41216d5ad4
Cleanup: Remove more #if 0 blocks
...
Continuation of https://developer.blender.org/D3802
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3808
2018-10-18 15:43:06 +02:00
5513da65b2
Cleanup: trailing space for BLI
2018-06-17 16:32:54 +02:00
bb6fbc64ae
Docs: scanfill.c purpose
2016-05-06 00:45:38 +10:00
dbf1257b14
Minor optimization for scanfill
...
Replace angle with with cosine calculation.
2016-04-20 09:53:40 +10:00
9c782c17ba
Cleanup: hopefully last int->bool one in this area!
2014-12-01 17:11:55 +01:00
7d040d2a08
Cleanup: use BLI_listbase_*** prefix for count,sort,sort_r
2014-11-16 13:57:58 +01:00
bba80ed7af
Cleanup
2014-08-17 12:18:40 +10:00
0b6412607f
Comments
2014-08-07 14:42:47 +10:00
483d8da9bc
Code cleanup: use 'const' for arrays (blenlib)
2014-04-27 00:25:15 +10:00
0319db1063
Correct own recent changes broke release builds
2014-03-30 20:35:59 +11:00
ae8327dbf3
Mask: add option to detect self intersections
2014-02-13 19:12:28 +11:00
c85e66e7fe
Scanfill: add user-flags for edges and verts, useful elsewhere.
2014-02-13 16:46:51 +11:00
fcb06097a5
Scanfill: name flags better and comment unused SF_EDGE_BOUNDARY flag.
2014-02-13 14:13:42 +11:00
108ad34429
Mask: option not to treat overlapping curves as holes
2014-02-13 11:48:46 +11:00
b3afbcab8f
ListBase API: add utility api funcs for clearing and checking empty
2014-02-08 06:24:05 +11:00
6110a5bdef
Scanfill: use poly_nr as an index rather then index + 1
2014-02-06 02:12:46 +11:00
41d23116aa
Scanfill: malloc arrays and zero init members
2014-02-06 01:03:02 +11:00
d598dcd461
Code cleanup: remove scdata from ScanFillContext
2014-02-05 05:39:28 +11:00
6c17d2141b
Scanfill: optimize filling curves, text, masks - skip calculating holes
...
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-05 05:27:01 +11:00
db74968402
Scanfill: minor optimization, comment unused code, avoid vert loop
2014-02-05 05:27:01 +11:00
8b1731e13d
Scanfill: skip checks for loose edges when they can't occur
...
Only editmesh needs this, text, curves, masks - can all skip this check
2014-02-04 02:57:27 +11:00
0d7586739a
Code cleanup: replace while -> for loops
2014-02-04 02:23:34 +11:00
af93ebcb50
Code Cleanup: style and redundant casts
2014-01-16 19:15:53 +11:00
6f5ced4a30
Math Lib: add dist_squared_to_line_v2, avoids sqrt in scanfill and 3d-text
2013-12-28 17:23:59 +11:00
098cf90956
use strict flags for scanfill, also replace shorts with unsigned shorts and ints/bools in some cases.
2013-09-01 03:37:45 +00:00
9e561a641e
remove callback BLI_localErrorCallBack from scanfill, was here for years and only ever wrapped printf.
2013-08-28 02:14:24 +00:00
27df6a3b54
scanfill curves, ngons, masks had their own memarena code and would allocate 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-28 02:07:54 +00:00
f97a4bd254
code cleanup: more zero as NULL pointers.
2013-08-07 03:36:05 +00:00
a050ddf279
remove unused callback
2013-06-26 03:42:45 +00:00
f8c37b083c
remove own optimization in scanfill, in rare cases it caused problems, reported as [ #35861 ]
2013-06-24 18:22:59 +00:00
99b55ef6eb
add asserts when scanfilling or triangulating with zero length normal.
2013-06-02 22:54:00 +00:00
5018ea5e29
real fix for [ #35097 ], (curve cap flipping).
...
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-26 21:04:12 +00:00
1143b658a0
fix [ #34947 ] Alt-F Fill not working
...
Regression in r54579.
2013-04-10 23:59:37 +00:00
ece766ee7e
code cleanup: unused defines, remove unused scanfill success value from BLI_scanfill_begin().
2013-04-10 23:52:07 +00:00