Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-20 | Merge branch 'master' into blender2.8 | Sergey Sharybin | |
2018-03-20 | Fix BLI_assert for MSVC | Campbell Barton | |
Also use `_BLI_ASSERT` prefix for internal defines. | |||
2018-03-20 | Merge branch 'master' into blender2.8 | Joshua Leung | |
2018-03-20 | Fix compile error with MSVC2013 - Can't use __func__ (from BLI_assert) in ↵ | Joshua Leung | |
inlined functions ERROR: blenlib/intern/math_base_inline.c:371 - '__func__' : undeclared identifier (C:\blenderdev\master2\blender\source\blender\editors\lattice\editlattice_tools.c) [C2065] | |||
2018-03-19 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-03-19 | Cleanup: type conversion warning | Campbell Barton | |
2018-03-18 | Merge branch 'master' into blender2.8 | Bastien Montagne | |
2018-03-18 | Cleanup: kdopbvh, only set parent nodes once | Campbell Barton | |
2018-03-16 | Merge branch 'master' into blender2.8 | Sergey Sharybin | |
2018-03-16 | Add Truecolor ANSI console constants | Sergey Sharybin | |
They are used to start and end colored output in console. Use with care, it is up to you to check that console actually supports Truecolor ANSII. In thew future we can extend this to other consoles and platforms. | |||
2018-03-16 | Hash: Add utility function to convert address to rgb values | Sergey Sharybin | |
Some magic hashing, will become handy to make debug messages easier to follow. | |||
2018-03-15 | BLI_assert: extract from BLI_utildefines | Campbell Barton | |
BLI_utildefines is quite large, defining many unrelated things. Add BLI_assert to include in inline headers, so math defines don't pull in too much. | |||
2018-03-15 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-03-15 | Missed last commit | Campbell Barton | |
2018-03-15 | BLI_math: don't use asserts in inline API | Campbell Barton | |
Requires BLI_utildefines.h to be included first, (already noted in other inline code). Possible alternative could be to move BLI_assert into own header. | |||
2018-03-14 | Merge branch 'master' into blender2.8 | Bastien Montagne | |
2018-03-14 | Cleanup: rename BLI_array_count -> len | Campbell Barton | |
Match naming convention used everywhere else. Count should only be used when this isn't directly accessible. | |||
2018-03-13 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-03-13 | Cleanup: doxygen comments | Campbell Barton | |
2018-03-09 | Cleanup: iterator macros | Campbell Barton | |
- put render iterator in own scope (would shadow it's own variable if used multiple times). - enforce semicolon at end of iterator macros. - no need to typedef one-off macro structs. | |||
2018-03-07 | Eevee: Fix volume rendering glitches. | Clément Foucault | |
The bug was due to the Halton function returning uninitialized value for 0 iteration. | |||
2018-02-28 | BLI_link_utils: Add BLI_LINKS_APPEND(list, link) | Clément Foucault | |
2018-02-27 | merge from master | Gaia Clary | |
2018-02-26 | Cleanup: typos | Campbell Barton | |
D3081 by @rjg, with others. | |||
2018-02-23 | Eevee: add blackbody shader node support. | Brecht Van Lommel | |
This replaces the blackbody to RGB code with the simpler and faster one from Cycles. It's a little different but the other placing using this is the legacy volume drawing, so no need to stay compatible with that. | |||
2018-02-23 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-02-23 | Cleanup: header guards & style | Campbell Barton | |
2018-02-18 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-02-18 | Cleanup: group BLI_ghash_utils.c API in BLU_ghash.h | Campbell Barton | |
2018-02-18 | Cleanup: split GHash helpers from implementation | Campbell Barton | |
2018-02-18 | Cleanup: add 2d suffix to BLI files | Campbell Barton | |
Some of these API's can have 3D versions, explicitly name them 2D. | |||
2018-02-15 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-02-15 | Cleanup: rename BLI_thread.h API | Campbell Barton | |
- Use BLI_threadpool_ prefix for (deprecated) thread/listbase API. - Use BLI_thread as prefix for other functions. See P614 to apply instead of manually resolving conflicts. | |||
2018-02-15 | Merge branch 'master' into blender2.8 | Sergey Sharybin | |
2018-02-15 | Cleanup: use '_len' instead of '_size' w/ BLI API | Campbell Barton | |
- 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 | Cleanup: Style, braces with macros | Sergey Sharybin | |
See https://wiki.blender.org/index.php/Dev:Doc/Code_Style#Braces_with_Macros | |||
2018-02-15 | Cleanup: Remove BLI_ prefix from listbase macro | Sergey Sharybin | |
This is kind of doesn't matter where macro itself is defined. We should stick to the following: - If some macro is actually more an inline function, follow regular function name conventions. - If macro is a macro, type it in capitals. Use module prefix if that helps readability or it if helps avoiding accidents. | |||
2018-02-15 | Merge branch 'master' into blender2.8 | Sergey Sharybin | |
2018-02-15 | Blenlib: Assert when attempting to rotate point around vector and store ↵ | Sergey Sharybin | |
result in the point This isn't supported since there are subsequent reads to all point coordinates after modification started. Probably we need to create a temp copy of point, but that's like extra CPU ticks. | |||
2018-02-15 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-02-15 | Cleanup: style | Campbell Barton | |
2018-02-14 | Merge branch 'master' into blender2.8 | Brecht Van Lommel | |
2018-02-14 | Cycles: change Index output of Hair and Particle Info to Random, in 0..1 range. | Brecht Van Lommel | |
These are used for randomization, so it's convenient if the index is already hashed and consistent with the Object Info node. | |||
2018-02-14 | Math utils: Add clamping functions | Sergey Sharybin | |
2018-02-08 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-02-08 | Mesh: concave quad support | Campbell Barton | |
Previously quads always split along first-third vertices. This is still the default, to avoid flickering with animated deformation however concave quads that would create two opposing triangles now use second-fourth split. Reported as T53999 although this issue has been known limitation for a long time. | |||
2018-02-01 | Merge remote-tracking branch 'origin/master' into blender2.8 | Dalai Felinto | |
2018-02-01 | Fix: msvc build error with bli_fileops.h | Ray Molenkamp | |
bli_fileops.h was using uint64_t without including the proper header. issue triggered by rBb0af44fa4d7a2e134b315c49a4fbdf573f781004 | |||
2018-02-01 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-02-01 | Cleanup: rename BLI_*_empty() -> clear() | Campbell Barton | |
Consistent with other BLI API's |