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
2018-03-20Merge branch 'master' into blender2.8Sergey Sharybin
2018-03-20Fix BLI_assert for MSVCCampbell Barton
Also use `_BLI_ASSERT` prefix for internal defines.
2018-03-20Merge branch 'master' into blender2.8Joshua Leung
2018-03-20Fix 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-19Merge branch 'master' into blender2.8Campbell Barton
2018-03-19Cleanup: type conversion warningCampbell Barton
2018-03-18Merge branch 'master' into blender2.8Bastien Montagne
2018-03-18Cleanup: kdopbvh, only set parent nodes onceCampbell Barton
2018-03-16Merge branch 'master' into blender2.8Sergey Sharybin
2018-03-16Add Truecolor ANSI console constantsSergey 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-16Hash: Add utility function to convert address to rgb valuesSergey Sharybin
Some magic hashing, will become handy to make debug messages easier to follow.
2018-03-15BLI_assert: extract from BLI_utildefinesCampbell 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-15Merge branch 'master' into blender2.8Campbell Barton
2018-03-15Missed last commitCampbell Barton
2018-03-15BLI_math: don't use asserts in inline APICampbell 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-14Merge branch 'master' into blender2.8Bastien Montagne
2018-03-14Cleanup: rename BLI_array_count -> lenCampbell Barton
Match naming convention used everywhere else. Count should only be used when this isn't directly accessible.
2018-03-13Merge branch 'master' into blender2.8Campbell Barton
2018-03-13Cleanup: doxygen commentsCampbell Barton
2018-03-09Cleanup: iterator macrosCampbell 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-07Eevee: Fix volume rendering glitches.Clément Foucault
The bug was due to the Halton function returning uninitialized value for 0 iteration.
2018-02-28BLI_link_utils: Add BLI_LINKS_APPEND(list, link)Clément Foucault
2018-02-27merge from masterGaia Clary
2018-02-26Cleanup: typosCampbell Barton
D3081 by @rjg, with others.
2018-02-23Eevee: 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-23Merge branch 'master' into blender2.8Campbell Barton
2018-02-23Cleanup: header guards & styleCampbell Barton
2018-02-18Merge branch 'master' into blender2.8Campbell Barton
2018-02-18Cleanup: group BLI_ghash_utils.c API in BLU_ghash.hCampbell Barton
2018-02-18Cleanup: split GHash helpers from implementationCampbell Barton
2018-02-18Cleanup: add 2d suffix to BLI filesCampbell Barton
Some of these API's can have 3D versions, explicitly name them 2D.
2018-02-15Merge branch 'master' into blender2.8Campbell Barton
2018-02-15Cleanup: rename BLI_thread.h APICampbell 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-15Merge branch 'master' into blender2.8Sergey Sharybin
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell 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-15Cleanup: Style, braces with macrosSergey Sharybin
See https://wiki.blender.org/index.php/Dev:Doc/Code_Style#Braces_with_Macros
2018-02-15Cleanup: Remove BLI_ prefix from listbase macroSergey 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-15Merge branch 'master' into blender2.8Sergey Sharybin
2018-02-15Blenlib: 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-15Merge branch 'master' into blender2.8Campbell Barton
2018-02-15Cleanup: styleCampbell Barton
2018-02-14Merge branch 'master' into blender2.8Brecht Van Lommel
2018-02-14Cycles: 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-14Math utils: Add clamping functionsSergey Sharybin
2018-02-08Merge branch 'master' into blender2.8Campbell Barton
2018-02-08Mesh: concave quad supportCampbell 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-01Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2018-02-01Fix: msvc build error with bli_fileops.hRay Molenkamp
bli_fileops.h was using uint64_t without including the proper header. issue triggered by rBb0af44fa4d7a2e134b315c49a4fbdf573f781004
2018-02-01Merge branch 'master' into blender2.8Campbell Barton
2018-02-01Cleanup: rename BLI_*_empty() -> clear()Campbell Barton
Consistent with other BLI API's