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-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-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-14Cleanup: move comments above definitionsCampbell Barton
For clang-format not to wrap definitions.
2019-01-08Cleanup: comments causing bad clang-format outputCampbell Barton
2018-12-14Merge branch 'master' into blender2.8Campbell Barton
2018-12-14Cleanup: naming (mean -> median) see T47811Campbell Barton
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-11-04BLI_heap: add an API function to directly read the top node value.Alexander Gavrilov
It is very commonly needed in loop conditions to check if the items in the heap are good enough to continue.
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-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.
2017-10-29BLI_heap: minor changes to the APICampbell Barton
Recent addition of 'reinsert' didn't match logic for ghash API. Rename to BLI_heap_node_value_update, also add BLI_heap_insert_or_update since it's a common operation.
2017-10-28Use BLI_heap_reinsert for decimate and beautifyCampbell Barton
Improves performance for high poly meshes, ~70% faster for decimate, only ~10% for beautify.
2017-10-22Polyfill Beautify: half-edge optimizationCampbell Barton
Was using an edge hash for triangle -> edge lookups, updating triangle indices for each edge-rotation. Replace this with half-edge which can rotate edges much more simply, writing triangles back once the solution has been calculated. Gives ~33% speedup in own tests.
2017-09-19Cleanup: BLI_utildefines prefix for header-only libsCampbell Barton
This allows to have different macro headers without them sharing similar names to regular C modules.
2017-05-06bmesh: use 'uint' instead of 'unsigned int'Campbell Barton
no functional changes.
2016-08-18Cleanup: some bad sizeof() usages.Bastien Montagne
2016-06-27Docs: arg namesCampbell Barton
2016-06-21Fix null-pointer freeCampbell Barton
Own error in recent decimeter commit
2016-06-20Fix building for Windows after 57cff46v (booleans unitialized)Dalai Felinto
2016-06-16Correct error in recent commitCampbell Barton
2016-06-16BMesh Decimate: use doubles to calculate optimized positionCampbell Barton
This allows the error threshold for calculating the optimized location to be much lower. Resolves visible artifacts w/ 1m-tri happy-buddha example.
2016-06-15BMesh Decimate: support ngonsCampbell Barton
2016-06-14Fix T48154: Decimate topology changes with scaleCampbell Barton
This can't be avoided completely, however the threshold used can be much lower.
2015-12-02BMesh Decimate: don't collapse zero weighted edgesCampbell Barton
2015-11-18BMesh: symmetry aware decimateCampbell Barton
Support for decimating while maintaining symmetry on a single axis.
2015-07-25Cleanup: double-promotion warningsCampbell Barton
2015-06-05BMesh: decimator, allow vgroup factor over 1Campbell Barton
Can be useful to apply more extreme weighting
2015-06-04BMesh decimate, improve behavior with weightsCampbell Barton
Add slider to adjust the influence of weights relative to geometry distortion. This allows subtle influences to be applied - without drastic changes in behavior.
2015-06-04correct last commitCampbell Barton
2015-06-04BMesh: decimator minor editsCampbell Barton
2015-05-21BMesh: decrease decimate epsilonCampbell Barton
Since using doubles to calculate cost, using topology fallback cost isn't needed as much.
2015-05-21Fix T44780: Decimate planar creates concave edgesCampbell Barton
Float precision was causing problems for decimate, small faces that create a nearly flat surface were detected as having no 'cost' to collapse.
2015-05-21BMesh: decimate improvement for flat surfacesCampbell Barton
Previously decimate on flat areas of a mesh would more or less randomly collapse edges. (giving bad topology). This commit includes a topology 'cost', so smaller edges on flat surfaces collapse first.
2015-05-20BMesh: decimate, test for face flip was too lowCampbell Barton
Created overlapping faces in T44780
2015-05-20BMesh: decimate wasn't using face/edge centersCampbell Barton
When calculating quadrics, using the first-vertex isn't correct.
2015-05-20doxygen: corrections/updatesCampbell Barton
Also add depsgraph & physics
2015-05-02Cleanup: bmesh src/dst order in API argsCampbell Barton
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2015-02-23Fix mismatch (missing 'const' to mactch funcs declarations).Bastien Montagne
Was breaking windows compile, reported by bdancer over IRC, thanks. Also, quite some annoying 'unused vars' warnings (debug-only vars).
2015-02-23Fix error in recent vert/edge-slide commitsCampbell Barton
`CustomData_bmesh_interp_n` was expecting the 'dest' arg not to have its offset applied. This was a bit confusing since the source args have it applied, and in some cases we only have the destination with the offset.
2015-02-23CustomData: const correctness for interp()Campbell Barton
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-05-22Fix T40297: Crash while ripping an edge when autosmooth is activated.Bastien Montagne
Turned out there was still quite a few cases were indices were set dirty, but elem_index_dirty was not tagged accordingly (mostly for BM_LOOP, but a few others as well). So probably this crash was not the only one hidden here. Hopefully all possible cases were catched this time!
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-26Code cleanup: use 'const' for arrays (bmesh)Campbell Barton
2014-04-15Various fixes/improvements regarding BMesh's elem_index_dirty and BM_LOOP ↵Bastien Montagne
handling. Most notably, BM_LOOP and BM_FACE index recompute should now be fully decoupled.
2014-04-13Split Normals I (2/5): Add basic BMesh support of split normals.Bastien Montagne
* Merely a re-implementation of core split algorithm for BMesh, taking advantage of topological data available. * This code needs valid loop indices, so added BM_LOOP support to BM_mesh_elem_index_ensure() & co. Reviewers: campbellbarton Reviewed By: campbellbarton CC: brecht Differential Revision: https://developer.blender.org/D366
2014-01-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.