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
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-18Cleanup: conform headers to have license firstCampbell Barton
Also remove doxy comments for licenses and add missing GPL header.
2019-02-17Merge branch 'blender2.7'Brecht Van Lommel
2019-02-16Blenlib/Windows: Fix Build error with clang.Ray Molenkamp
__cpuid comes from intrin.h which was implicitly included somewhere for msvc builds, but not for clang.
2019-02-12BLI_memarena: remove use of BLI_linklistCampbell Barton
Preprare for using memarena w/ makesdna, BLI_linklist depends on BLI_mempool. Since linked list use in here is simple, do it inline.
2019-02-11Cleanup: comment indentation & spellingCampbell Barton
2019-02-06Fix T61190: Crash in particles distributionSergey Sharybin
Was visible with certain configuration only, is a numeric instability caused by degenerate ray direction. Not sure the distribution is correct, just fixing crash which was caused by usage of watertight intersection.
2019-02-06Fix T60935: More numerically stable distance to ray computationJacques Lucke
The old function was numerically very unstable for 2 reasons: computing the square and then subtracting the results. In the example in T60935 all precision was lost and it returned the distance 0 for all points. I also removed the `depth` parameter since it wasn't used and computing it would have made the code more complicated. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4308
2019-02-06Cleanup: manually apply changes missed last commitCampbell Barton
Automatic edits failed for indented comment blocks, removed indentation & adjusted.
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-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-02Cleanup: remove author/date info from doxy headersCampbell Barton
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-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-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-26Cleanup: blank lines over doxy headersCampbell Barton
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-22Fix potential invalid memory access in surface force field BVH tree.Andrew Williams
Free the BVH tree immediately along with the mesh, otherwise we might access invalid mesh data. Differential Revision: https://developer.blender.org/D4201
2019-01-20Cleanup: remove all BLI_utiledefines' ugly vectorial macros.Bastien Montagne
Not only were those often making doublons with already existing BLI_math's stuff, but they were also used to hide implicit type conversions... As usual this adds some more exotic inlined vector functions (one of the rare cases where I really miss C++ and its templates... ;) ).
2019-01-19Cleanup: add trailing commasCampbell Barton
Prevents clang-format merging into a single line.
2019-01-18Math: Make it possible to use vector for both input and outputSergey Sharybin
Avoids nasty code all over where such math is required, and compilers can easily deal with such situation. Don't prefer questionable micro-optimization which comes with a cost of nasty actual logic code.
2019-01-16Fix uninitialized variable use w/ kdopbvh ray projectionCampbell Barton
Snapping verts for eg would use these values uninitialized.
2019-01-15Cleanup: comment line length (blenlib)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-15Cleanup: comment line length (blenlib)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-05Cleanup: avoid function call for pointer compareCampbell Barton
2018-12-30Cleanup: warnings (clang)Campbell Barton
2018-12-24Fix/cleanup another bunch of UI messages issues.Bastien Montagne
Also (mostly in comments): behaviour -> behavior (we use American English).
2018-12-23BLI_math_rotation: properly name the quaternion power function.Alexander Gavrilov
"angular mult factor" is a completely unintelligible description for a function that raises a unit quaternion to the scalar power.
2018-12-19BLI_bitmap: add functions operating on the whole bitmask.Alexander Gavrilov
There is no point having operations that iterate over the whole bit array as macros, so convert BLI_BITMAP_SET_ALL to a function. Also, add more utilities for copying and manipulating masks. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4101
2018-12-18Cleanup: Typo in commentSergey Sharybin
2018-12-18Use proper buffer size for statisticsSergey Sharybin
2018-12-17Fix T59424: color wheel snaps to center, losing hue when value is zero.Sebastian Parborg
Differential Revision: https://developer.blender.org/D4090
2018-12-17Fix T59404: Mistake in recent EdgeHash refactor broke edge generations in ↵Bastien Montagne
mesh validate code.
2018-12-13Color management: add OCIO aware utility functions for transform to/from XYZ.Brecht Van Lommel
2018-12-13Cleanup: macro hygiene, style, doxy commentsCampbell Barton
2018-12-13BLI_edgehash: assert when edges use the same vertCampbell Barton
This was removed on the recent upgrade.
2018-12-13BLI: New Edgehash and EdgeSet implementationJacques Lucke
The new data structure uses open addressing instead of chaining to resolve collisions in the hash table. This new structure was never slower than the old implementation in my tests. Code that first inserts all edges and then iterates through all edges (e.g. to remove duplicates) benefits the most, because the `EdgeHashIterator` becomes a simple for loop over a continuous array. Reviewer: campbellbarton Differential Revision: D4050
2018-12-12Merge branch 'master' into blender2.8Campbell Barton
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
2018-12-12Docs: correct doxy commentsCampbell Barton
2018-12-09Simplified #ifdef to not silently fail on certain platformsSybren A. Stüvel
2018-12-08Cleanup: styleCampbell Barton
2018-12-07Move static `get_hostname()` to `BLI_hostname()` in `system.c`Sybren A. Stüvel
This makes the `#include <Windows.h>` use more localised and out of the `image.c` file. Reviewers: LazyDodo Reviewed by: LazyDodo Differential revision: https://developer.blender.org/D4049
2018-12-04BLI_task: fix queue in work_and_wait, and support resetting.Alexander Gavrilov
To make the pool more usable for running multiple stages of tasks, fix local queue handling in BLI_task_pool_work_and_wait. Specifically, after the wait loop the local queue should be empty, or the wait part of the function contract isn't fulfilled. Instead, check and run any tasks in queue before the wait loop. Also, add a new function that resets the suspended state of the pool.
2018-12-04Merge branch 'master' into blender2.8Sergey Sharybin
2018-12-04Cleanup: SpellingSergey Sharybin
2018-12-01Merge branch 'master' into blender2.8Campbell Barton
2018-12-01Cleanup: styleCampbell Barton
2018-11-29Fix leak in CPU brand checkCampbell Barton
2018-11-29Fix leak in CPU brand checkCampbell Barton