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-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-14Merge branch 'master' into blender2.8Campbell Barton
2018-02-14Cleanup: use prefix for testsCampbell Barton
Allows for running all `bmesh_*` or `object_*` tests.
2018-01-19Merge branch 'master' into blender2.8Campbell Barton
2018-01-19Cleanup: typosCampbell Barton
2018-01-18Merge branch 'master' into blender2.8Brecht Van Lommel
2018-01-17Memory: add MEM_malloc_arrayN() function to protect against overflow.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3002
2017-11-23Merge branch 'master' into blender2.8Bastien Montagne
2017-11-23Add a new parallel looper for MemPool items to BLI_task.Bastien Montagne
It merely uses the new thread-safe iterators system of mempool, quite straight forward. Note that to avoid possible confusion with two void pointers as parameters of the callback, a dummy opaque struct pointer is used instead for the second parameter (pointer generated by iteration over mempool), callback functions must explicitely convert it to expected real type. Also added a basic gtest for this new feature.
2017-11-23Rename any instance of scene layer or render layer in code with view layerDalai Felinto
The RenderResult struct still has a listbase of RenderLayer, but that's ok since this is strictly for rendering. * Subversion bump (to 2.80.2) * DNA low level doversion (renames) - only for .blend created since 2.80 started Note: We can't use DNA_struct_elem_find or get file version in init_structDNA, so we are manually iterating over the array of the SDNA elements instead. Note 2: This doversion change with renames can be reverted in a few months. But so far it's required for 2.8 files created between October 2016 and now. Reviewers: campbellbarton, sergey Differential Revision: https://developer.blender.org/D2927
2017-11-09Depsgraph: Make dependency graph to be built from scene layerSergey Sharybin
This is a final step of having proper ownership. Now selecting different layers in the "top bar" will actually do what this is expected to do. Surely, there are still things to be done under the hood, that will happen in a less intrusive way.
2017-11-03Depsgraph: Use explicit depsgraph in alembic moduleSergey Sharybin
2017-11-02Merge branch 'master' into blender2.8Sybren A. Stüvel
# Conflicts: # tests/gtests/alembic/abc_export_test.cc
2017-11-02Alembic: not using global in unit test.Sybren A. Stüvel
Thanks @sergey for pointing out this fix.
2017-10-29Merge branch 'master' into blender2.8Sybren A. Stüvel
# Conflicts: # source/blender/alembic/intern/abc_exporter.cc # source/blender/alembic/intern/abc_exporter.h # source/blender/alembic/intern/alembic_capi.cc # tests/gtests/alembic/abc_export_test.cc
2017-10-29Alembic: exporting MetaBalls as meshSybren A. Stüvel
- Only basis balls are exported, as they represent the resulting mesh. As a result the mesh is written to Alembic using the name of the basis ball. - MetaBalls are converted to a mesh on every frame, then an AbcMeshWriter is used to write that mesh to Alembic.
2017-10-29Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-10-29BLI_heap: add validation check, improve testsCampbell Barton
Also minor readability changes, avoid running both heap_up/down gives minor speedup too.
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-28BLI_hash: add BLI_heap_reinsertCampbell Barton
Allows avoiding remove/insert calls.
2017-10-28GTest: initial BLI_heap testCampbell Barton
2017-10-26Merge branch 'master' into blender2.8Sergey Sharybin
2017-10-26Using gtest fixtures in Alembic export testsSybren A. Stüvel
2017-10-23Merge branch 'master' into blender2.8Campbell Barton
2017-10-23Correct gtest error in recent beautify changeCampbell Barton
2017-10-23Merge branch 'master' into blender2.8Julian Eisel
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-20Merge branch 'master' into blender2.8Campbell Barton
2017-09-20BLI_polyfill2d_test: script to generate test dataCampbell Barton
2017-09-19Fix T52834: Polyfill2D fails with co-linear edgesCampbell Barton
2017-09-19BLI_polyfill2d_test: add test for T52834Campbell Barton
Commented since it currently fails.
2017-09-19BLI_polyfill2d_test: Try flipped x/y axisCampbell Barton
In T52834 this makes a difference.
2017-09-19Merge branch 'master' into blender2.8Sergey Sharybin
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-08-27Merge branch 'master' into blender2.8Campbell Barton
2017-08-27Missing from last commitCampbell Barton
2017-08-27Cleanup: use stubs for eigen gtestCampbell Barton
2017-07-29BLI_memiter: Small API for many small allocationsCampbell Barton
- Each allocation can be a different size (but should be smaller than the chunk size). - Result can be looped over in order of allocation. - Allocations are aligned to pointer size to avoid unaligned reads.
2017-07-24Fix compilation error of alembic test after recent eval_ctx changesSergey Sharybin
2017-07-03Fixed build error on Windows / VS2015Sybren A. Stüvel
2017-06-14Make whole ID copying code use const source pointer.Bastien Montagne
Noisy change, but safe, and better do it sooner than later if we are to rework copying code. Also, previous commit shows this *is* useful to catch some mistakes.
2017-06-12Correct gtest EXPECT useCampbell Barton
2017-06-11GTest: initial kdopbvh testCampbell Barton
Currently only find-nearest, ray-casting needs to be added.
2017-05-30Alembic: simplified sub-frame samplingSybren A. Stüvel
It's now less confusing (for example, using nr_of_samples directly, instead of using 1 / 1 / nr_of_samples). Might also have fixed a bug. Also added unittests.
2017-04-21CMake: Add option to build against system-wide GlogSergey Sharybin
Similar to previous commit for Gflags.
2017-04-21CMake: Add option to link against system-wide Gflags librarySergey Sharybin
It is disabled by default, so should not affect existing configurations. Main benefits of this goes as: - Linux distros can use that to avoid libraries duplication and link blender package against gflags package from the system. - It it easier to test whether Blender works with updated version of Gflags prior to re-bundling the library.
2017-04-07Fix building alembic gtest with buildinfo...Bastien Montagne
2017-04-06Alembic: rotation mode issue in copy_m44_axis_swap, and added unit tests.Sybren A. Stüvel
2017-04-06Added float[][] comparison macros to testing.hSybren A. Stüvel
I've moved EXPECT_M3_NEAR from abc_matrix_test.cc to testing.h, as that's a more suitable location.