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
path: root/tests
AgeCommit message (Collapse)Author
2017-12-27 Fix T53638: View layer renaming crashes 2/2Dalai Felinto
This fixes renaming the view layer via Python. This bug was introduced originally in 3a95bdfc65d. Although I suspect it was around for longer, since this commit didn't touch this part of the code. But basically we need the id of the RNA property to be the one that owns the data (view layer).
2017-12-19Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-19Cycles tests: Enable texture space testsSergey Sharybin
2017-12-15Group collection viewport/render options and remove collection visibilityDalai Felinto
Users can change the group collection visibility in the outliner when looking at groups. Regular collections on the other hand don't have any special visibility control, if you need a collection to be invisible during render, either don't link it into the view layer used for F12, or disable it. This includes: * Updated unittests - update your lib/tests/layers folder. * Subversion bump - branches be aware of that. Note: Although we are using eval_ctx to determine the visibility of a group collection when rendering, the depsgraph is still using the same depsgraph for the viewport and the render engine, so at the moment the render visibility is ignored. Following next is a workaround for this separately to tag the groups before and after rendering to tackle that.
2017-12-01unittests: Update (fix) unittests after workspace API changeDalai Felinto
Tests were broken since e8c15e0ed15f8369d. We now get view_layer from window, not workspace, since the same workspace can have a different view_layer depending on the window scene.
2017-12-01Groups and collection: create group from collectionDalai Felinto
You could still create groups as before, with Ctl + G. This will create a group with a single visible collection. However you can also create a group from an existing collection. Just go to the menu you get in the outliner when clicking in a collection and pick "Create Group". Remember to instance the group afterwards, or link it into a new scene or file. The group and the collection are not kept in sync afterwards. You need to manually edit the group for further changes.
2017-11-27Fixing alembic unittest after render layer purgeDalai Felinto
2017-11-24Backgroudn set tests: Correct evaluation orderSergey Sharybin
All depsgraphs are sharing same object state for now, which means doing set scene evaluation after main scene evaluation will override all modifications done by the main scene.
2017-11-24Unittest: Update background set test to test for proper flagDalai Felinto
This test will fail until depsgraph is fixed. But introduced on 87c821ff26be.
2017-11-24Layers Unittest: Background setDalai Felinto
This is an incomplete test since we cannot check for the depsgraph selection value with the current API, nor can we see if the relationship lines are being drawn.
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-10Layers Unittest: Hidden flag to quckly update diffsDalai Felinto
This is not the commit you are looking for ... This is not to be used lightly. But sometimes we change the name of the collections, the initial value they have, ... and this helps to quickly update the tests.
2017-11-10Unittest: Layers - include is_disabled for LayerCollectionDalai Felinto
And remove is_folder since it is not being used.
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-31Layers: unittest update after workspace > engine changesDalai Felinto
All tests working again now. Remember to update the svn lib/tests/layers folder.
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-10-18Merge branch 'master' into blender2.8Campbell Barton
2017-10-17Added alpha channel check to Alembic unit testSybren A. Stüvel
It was broken due to 823bcf1689a3dbd44dd77b2c8ea46b9b54073c46, which added alpha information and thus changed tuple size from 3 to 4 items.
2017-10-11Merge branch 'master' into blender2.8Sergey Sharybin
2017-10-11Cycles tests: Don't proint braces for empty statusSergey Sharybin
2017-09-22Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-20Fix Cycles test report not closing files properly.Brecht Van Lommel
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-09-13Merge branch 'master' into blender2.8Campbell Barton
2017-09-12Cycles tests: Add baking features testsSergey Sharybin
2017-09-12Cycles tests: add environment variable to update references renders.Brecht Van Lommel
This will copy new renders over references renders: CYCLESTEST_UPDATE=1 ctest -R cycles
2017-08-31Merge branch 'master' into blender2.8Campbell Barton