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
2022-02-24Tests: disable file output for bl_keymap_validate.pyCampbell Barton
Left on by accident but should only be used when debugging output.
2022-02-21Cleanup: use strict type checking for bl_keymap_validateCampbell Barton
2022-02-21Tests: add duplicate key-map test, also test multiple configurationsCampbell Barton
Duplicate key-map items (while harmless in most cases) may cause unexpected behavior or point to mistakes in the key-map, so best avoid these.
2022-02-11Merge branch 'blender-v3.1-release'Brecht Van Lommel
2022-02-11Tests: enable full Cycles Metal device regression tests on buildbotBrecht Van Lommel
Now that all tests are passing. This does add about 5 minutes to the macOS builds on buildbot. Ref T92212
2022-02-11File headers: add license to Python scriptsCampbell Barton
2022-02-11Revert "Split Python OBJ importer and exporter, enabling only the importer."Howard Trickey
This reverts commit ff9dc1986e6c9a54fd0bb228e8813551e6baa042.
2022-02-11Revert "Split Python OBJ importer and exporter, enabling only the importer."Howard Trickey
This reverts commit ff9dc1986e6c9a54fd0bb228e8813551e6baa042.
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2022-02-09Cleanup: make file headers more consistentCampbell Barton
Also some descriptive text into doc-strings.
2022-02-04Fix T81541: Symmetrize Transform Constraint, Y rotational axis unexpected ↵Sebastian Parborg
results The case where Y rotation is mapped to Y rotation was not handled. This is now fixed. Also added an automated test to make sure that the symmetrize operator functions as intended. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D9214
2022-02-03Split Python OBJ importer and exporter, enabling only the importer.Howard Trickey
This is from patch D13988. It removes the "- New" from the menu of the new obj exporter, changes the default addon to just io_import_obj, and does the right versioning thing. Also disables the python tests for the old python exporter.
2022-02-03Split Python OBJ importer and exporter, enabling only the importer.Howard Trickey
This is from patch D13988. It removes the "- New" from the menu of the new obj exporter, changes the default addon to just io_import_obj, and does the right versioning thing. Also disables the python tests for the old python exporter.
2022-02-02Cleanup: spelling in commentsCampbell Barton
2022-01-28Cleanup: indentation for CMake filesCampbell Barton
Also minor white-space & case changes.
2022-01-26Fix/workaround failing Cycles tests on macOS after ray offset changesBrecht Van Lommel
Temporarily blacklist a few tests with overlapping objects as they seem to give different results on this platform.
2022-01-26Cycles: remove ray offsettingWilliam Leeson
Remove small ray offsets that were used to avoid self intersection, and leave that to the newly added primitive object/prim comparison. These changes together significantly reduce artifacts on small, large or far away objects. The balance here is that overlapping primitives are not handled well and should be avoided (though this was already an issue). The upside is that this is something a user has control over, whereas the other artifacts had no good manual solution in many cases. There is a known issue where the Blender particle system generates overlapping objects and in turn leads to render differences between CPU and GPU. This will be addressed separately. Differential Revision: https://developer.blender.org/D12954
2022-01-24Tests: Enable new tests for geometry nodes extrude nodeHans Goudey
rB95981c9876483256b28
2022-01-17Alembic: add support for reading override layersKévin Dietrich
Override layers are a standard feature of Alembic, where archives can override data from other archives, provided that the hierarchies match. This is useful for modifying a UV map, updating an animation, or even creating some sort of LOD system where low resolution meshes are swapped by high resolution versions. It is possible to add UV maps and vertex colors using this system, however, they will only appear in the spreadsheet editor when viewing evaluated data, as the UV map and Vertex color UI only show data present on the original mesh. Implementation wise, this adds a `CacheFileLayer` data structure to the `CacheFile` DNA, as well as some operators and UI to present and manage the layers. For both the Alembic importer and the Cycles procedural, the main change is creating an archive from a list of filepaths, instead of a single one. After importing the base file through the regular import operator, layers can be added to or removed from the `CacheFile` via the UI list under the `Override Layers` panel located in the Mesh Sequence Cache modifier. Layers can also be moved around or hidden. See differential page for tests files and demos. Reviewed by: brecht, sybren Differential Revision: https://developer.blender.org/D13603
2022-01-13Tests: skip some compositor tests when WITH_LIBMV=OFFBrecht Van Lommel
2022-01-11Docs: correct doc-string for bl_run_operators_event_simulateCampbell Barton
The event() action swapped type/value arguments.
2022-01-10Tests: disable all but one simple test for the Cycles Metal deviceBrecht Van Lommel
Until all tests are passing, this lets us run a basic test on the buildbot. Ref T92212
2021-12-16Cycles: pointcloud renderingBrecht Van Lommel
This add support for rendering of the point cloud object in Blender, as a native geometry type in Cycles that is more memory and time efficient than instancing sphere meshes. This can be useful for rendering sand, water splashes, particles, motion graphics, etc. Points are currently always rendered as spheres, with backface culling. More shapes are likely to be added later, but this is the most important one and can be customized with shaders. For CPU rendering the Embree primitive is used, for GPU there is our own intersection code. Motion blur is suppored. Volumes inside points are not currently supported. Implemented with help from: * Kévin Dietrich: Alembic procedural integration * Patrick Mourse: OptiX integration * Josh Whelchel: update for cycles-x changes Ref T92573 Differential Revision: https://developer.blender.org/D9887
2021-12-07Tests: add Cycles perspective/ortho/panoramic camera regression testsBrecht Van Lommel
Ref D12691
2021-12-07Cleanup: Fix typos in source codeluzpaz
Source typos corrected Reviewed By: Blendify Differential Revision: https://developer.blender.org/D13462
2021-12-02Fix: Updating geometry nodes test results failsHans Goudey
I ran into this when adding new geometry nodes tests. The issue was caused by 7168a4fa5c785c29483. Differential Revision: https://developer.blender.org/D13440
2021-11-30Tests: add edit-mesh operator testsJake
Added operator tests for hide, symmetry_snap, tris_convert_to_quads, uvs_rotate, uvs_rotate, uv_texture_add, uv_texture_remove, vert_connect_concave, vert_connect_nonplanar, vertex_color_add, vertex_color_remove, vertices_smooth_laplacian, wireframe, sculpt_vertex_color_add and sculpt_vertex_color_remove. Ref D11798 Reviewed By: campbellbarton
2021-11-19Tests: disable Cycles volume test when WITH_MOD_FLUID is offBrecht Van Lommel
2021-11-19Cleanup: fix typos in comments and docsBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D13264
2021-11-11LibLink/Append tests: Add basic testing of `bpy.data.libraries.load` code.Bastien Montagne
2021-11-09Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-09Tests: disable Cycles tests based on more build optionsBrecht Van Lommel
WITH_OPENCOLORIO and WITH_COMPOSITOR are required to run the tests at all, since they affect many tests. WITH_OPENSUBDIV WITH_FREESTYLE, WITH_OPENVDB, WITH_OPENIMAGEDENOISE and WITH_MOD_FLUID selectively disable some tests.
2021-11-08Cleanup: use static setsCampbell Barton
2021-11-08Cleanup: use static setsCampbell Barton
2021-11-04Attempt to fix failing lib link test on windows.Bastien Montagne
According to https://docs.python.org/3/library/os.html#os.rename, `os.rename` has os-specific behavior, and will fail in case you attempt to rename to an existing file on windows. So using `os.replace` instead, which should be os-agnostic. NOTE: Fact that temp test directory is not cleared after tests are sucessfully ran does not sound great...
2021-11-04Attempt fix for new lib reload/relocate tests on windows.Bastien Montagne
Try splitting them into their own class.
2021-11-02Tests: Add basic unittest for library reload and relocate operators.Bastien Montagne
2021-10-21Tests: updated Python bundled modules testBrecht Van Lommel
Add the new zstandard module, as well as previously missing ones. Ref D12777, T88438
2021-10-21Build: remove cmake messages about disabled tests when feature is disabledBrecht Van Lommel
No need to report this, it just adds noise to the cmake config. The messages that we need to keep are the ones about disabling tests when the test file or idiff are missing.
2021-10-20New test for USD import.Michael Kowalski
Added a basic test for importing a primitive hierarchy from a USDA file into Blender. This was reviewed by Sybren in patch D12479.
2021-10-20Link/Append tests: properly support and test with/without 'recursive' behaviors.Bastien Montagne
This requires adding an extra ('indirect') library to the test cases for append. Aftermath of T92224.
2021-10-20Cleanup: trailing space, use single quotes for enumsCampbell Barton
2021-10-19Fix liblink tests after recent commit.Bastien Montagne
NOTE: This needs new tests, no time now, will do tomorrow.
2021-10-19Tests: update Cycles GPU tests blacklist so all tests passBrecht Van Lommel
More tests are matching now, mainly due to unified volume sampling.
2021-10-12Tests: remove noisy output from bl_pyapi_idprop_datablockCampbell Barton
As part of expected behavior this printed an exception, making it seem as if there was an error in the test. Now the exception is suppressed from the output, ensuring it matches an the expected output.
2021-10-12Tests: script_pyapi_idprop now cleans up after it's selfCampbell Barton
This test left blend files in the users temporary directory.
2021-10-12Tests: support running ID-property test without numpyCampbell Barton
2021-10-12Tests: quiet warning for UIList class nameCampbell Barton
2021-09-29Tests: Disable tests for non-compiled librariesHimanshi Kalra
This diff disables tests for Boolean, subdivision surface and volume when GMP, Opensubdiv and Openvdb are not compiled respectively. It also changes the existing file structure and adds sub-folders for boolean and subdivison tests. The volume folder only has one test and is as unchanged structure-wise. Reviewed By: JacquesLucke, LazyDodo Differential Revision: https://developer.blender.org/D12448
2021-09-29Cleanup: trailing space, newlines at EOFCampbell Barton