620b960d3d
Cleanup: style, use braces for editors
2019-04-22 19:48:16 +10:00
41d4a19865
ClangFormat: format '#if 0' code in source/
2019-04-17 08:24:14 +02: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
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
744f633986
Cleanup: trailing commas
...
Needed for clan-format not to wrap onto one line.
2019-02-03 14:59:11 +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
c0f88ed8a8
Cleanup: sort forward declarations of enum & struct
...
Done using:
source/tools/utils_maintenance/c_sort_blocks.py
2019-01-28 21:17:58 +11:00
1e4aab36c2
Cleanup: remove redundant BKE/BLI/BIF headers
2019-01-26 21:20:25 +11:00
88a80fcec8
Cleanup: commas at the end of enums
...
Without this clang-format may wrap them onto a single line.
2019-01-16 00:03:03 +11:00
b8e8c0e325
Cleanup: comment line length (editors)
...
Prevents clang-format wrapping text before comments.
2019-01-15 23:30:31 +11:00
e56aa4ff0c
Fix T59668: UV unwrap pinning bugs.
...
With multi object editing it creates the charts twice, which broke some
logic in the unwrapper.
2018-12-21 16:34:08 +01:00
Daniel
72456ee198
Fix T59009: UV unwrapp correct aspect fails on some shapes.
...
Differential Revision: https://developer.blender.org/D4095
2018-12-18 15:07:04 +01:00
1f67db75f1
Cleanup: style
2018-10-21 16:23:15 +11:00
fbfa3999e1
Fix T57284: poor result UV unwrapping concave n-gon.
2018-10-19 15:32:01 +02:00
af36dd4664
Cleanup: trailing newlines
2018-06-29 08:02:49 +02:00
44505b38df
Cleanup: strip trailing space in editors
2018-06-04 09:31:30 +02:00
deacb3d6b8
Cleanup: add 2d suffix to BLI files
...
Some of these API's can have 3D versions, explicitly name them 2D.
2018-02-18 21:27:33 +11:00
ccdacf1c9b
Cleanup: use '_len' instead of '_size' w/ BLI API
...
- When returning the number of items in a collection use BLI_*_len()
- Keep _size() for size in bytes.
- Keep _count() for data structures that don't store length
(hint this isn't a simple getter).
See P611 to apply instead of manually resolving conflicts.
2018-02-15 23:39:08 +11:00
078e012cd9
Cleanup: rename BLI_*_empty() -> clear()
...
Consistent with other BLI API's
2018-02-01 13:40:53 +11:00
959a58da9e
Cleanup: redundant casts
2017-10-20 14:03:22 +11:00
00c4f49a6d
Cleanup: indentation, long lines
2017-06-12 13:38:21 +10:00
124bfa4d2d
Cleanup: spelling, style
2016-07-08 00:48:45 +10:00
439fe6568f
Fix use of uninitialized variable introduced in fix for T48755.
2016-07-04 17:30:52 +02:00
72792406c9
Correct fix for MSVC
2016-06-30 08:10:49 +10:00
20f634cfc2
Fix T48755: Crash UV unwrapping
2016-06-29 11:51:36 +10:00
3d6b8bd506
Fix implicit double to float conversion caused by use of double precision M_PI
2016-02-19 17:41:20 +01:00
1a676d4e0e
Fix related to T45343: UV unwrap giving poor results for some n-gons.
2016-02-18 20:05:56 +01:00
f9047c3f8c
Eigen: fold remaining OpenNL code into intern/eigen.
...
Differential Revision: https://developer.blender.org/D1662
2015-12-10 01:58:10 +01:00
940f7a6d53
Cleanup: shadowing (unwrap)
2015-11-23 22:12:29 +11:00
d28431a648
OpenNL: make the API thread safe by always passing context.
...
Previously two laplacian smooth or deform modifiers executing
simultaneously could crash.
2015-11-22 22:49:43 +01:00
47ce2d7bef
OpenNL: significantly simplify code using Eigen / STL.
2015-11-22 22:49:03 +01:00
9e9cd77b8d
Compiler warning: double-promotion
2015-02-01 01:17:21 +11:00
b09563ca8c
Cleanup: fixes for building with recent clang
2015-01-14 05:11:20 +11:00
aab4f2b762
cleanup: redundant casts & const cast correctness
2015-01-01 23:42:28 +11:00
1cb59394ae
Cleanup: use const, avoid float -> double in matrix invert
2014-11-29 17:49:38 +01:00
915235c87a
Cleanup: unused headers
2014-11-28 22:16:14 +01:00
3a40aed3d5
Cleanup: use float versions of functions when in/output are floats
2014-09-24 14:55:02 +10:00
55d75f5020
Code cleanup: correct abs use
...
also minor cleanup to rotation code
2014-04-21 02:02:21 +10:00
617557b08e
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
2014-04-01 15:22:28 +11:00
9737717234
Fix for some unlikely memory leaks, remove redundant checks
2014-03-01 20:14:20 +11:00
13ea967cce
Code cleanup: correct abs use and quiet warnings
2014-03-01 14:26:18 +11:00
4c6a72a7d8
Fix T38283: UV unwrap giving wrong results with particular meshes.
...
LSCM auto pinning where it picks two vertices on opposite sides of the outer
UV island boundary would in some cases give the same 3D coordinate, which
causes UV unwrap to give poor results.
2014-01-20 18:49:09 +01:00
99d050f88b
Text3d: selection in editmode now follows rotated text along path
2014-01-05 22:20:33 +11:00
c1c26c36f6
Style Cleanup: remove preprocessor indentation (updated wiki style guide too)
2013-12-22 14:12:19 +11:00
2b4c68b902
CMake Build: option to compile without opennl/superlu.
2013-11-25 15:36:19 +11:00
e220d3228f
add MEM_SIZE_OPTIMAL to avoid memory fragmentation & waste lost to slop-space.
2013-10-10 18:18:13 +00:00
e19006b8ce
Fix #36705 : UV pack island crashing after recent change.
2013-09-11 18:57:56 +00:00
d2d1025e4a
add mathutils.geometry.box_fit_2d() to wrap BLI_convexhull_aabb_fit_points_2d()
2013-09-11 06:56:51 +00:00
44ec0b0aab
uv-pack operator: option to rotate uv islands to fit in the optimal rectangle when packing.
2013-09-10 23:11:58 +00:00