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-23GNUmakefile: prefer "check_" prefix instead of "test_"Campbell Barton
- Reserve "test" for tests & testing frameworks. - Add "check_mypy" to "make help" text. - Output to the standard output instead of redirecting to log-files, leave redirecting output log-files to the user running the command.
2022-02-23CMake: include missing filesCampbell Barton
Also use SRC_ prefix for source variables so cmake_consistency_check.py detects these files as being known to CMake.
2022-02-23Tests: temporarily add back tests/check_deprecated.pyCampbell Barton
The build-bot directly referenced this file and doesn't have publically available configuration. Add an empty file until this can be removed by the build scripts.
2022-02-23Cleanup: Use new enum for CurveEval handle typesHans Goudey
This will make the transition to the new curves data structure a bit simple, since the handle types can be copied directly between the two. The change to CurveEval is simple because it is runtime-only.
2022-02-23XR: Use #ifdef for Vive Focus 3 extensionPeter Kim
Helps with building against different OpenXR SDK versions (i.e. for downstream builds that require specific versions), as the extension was only defined since OpenXR 1.0.22.
2022-02-22Merge branch 'blender-v3.1-release'Aaron Carlisle
2022-02-22Python API Docs: Hide version swtichAaron Carlisle
This still needs some fixes to be ready for release.
2022-02-22GPencil: Make Fill Dilate expand outside strokeAntonio Vazquez
To keep consistency with the new contract option, the dilate now expand the shape beyond the internal closed area.
2022-02-22Cleanup: Remove unused mesh dirty flagsHans Goudey
These were only set in two places. One was related to "tessellated loop normal", and the other derived corner normals. The values were never checked though, after 59343ee1627f4c369. The handling of dirty face corner normals is clearly problematic, but in the future it should be handled like the normal layers on the other domains instead. Ref D14154, T95839
2022-02-22Merge branch 'blender-v3.1-release'Hans Goudey
2022-02-22Fix T95839: Data race when lazily creating mesh normal layersHans Goudey
Currently, when normals are calculated for a const mesh, a custom data layer might be added if it doesn't already exist. Adding a custom data layer to a mesh is not thread-safe, so this can be a problem in some situations. This commit moves derived mesh normals for polygons and vertices out of `CustomData` to `Mesh_Runtime`. Most of the hard work for this was already done by rBcfa53e0fbeed7178. Some changes to logic elsewhere are necessary/helpful: - No need to call both `BKE_mesh_runtime_clear_cache` and `BKE_mesh_normals_tag_dirty`, since the former also does the latter. - Cleanup/simplify mesh conversion and copying since normals are handled with other runtime data. Storing these normals like other runtime data clarifies their status as derived data, meaning custom data moves more towards storing original/editable data. This means normals won't automatically benefit from the planned copy-on-write refactor (T95845), so it will have to be added manually like for the other runtime data. Differential Revision: https://developer.blender.org/D14154
2022-02-22Merge branch 'blender-v3.1-release'Bastien Montagne
2022-02-22Fix (unreported) LibOverride: missing copying `flag` member.Bastien Montagne
2022-02-22UI: ActionZone Swap Areas Between WindowsHarley Acheson
Allow SCREEN_OT_area_swap to operate between different Blender windows, and other minor feedback improvements. See D14135 for more details and demonstrations. Differential Revision: https://developer.blender.org/D14135 Reviewed by Campbell Barton
2022-02-22Merge branch 'blender-v3.1-release'Sebastian Parborg
2022-02-22Fix ffmpeg tests when using ffmpeg 5.0Sebastian Parborg
2022-02-22OCIO: Fix bool1 vs. bool comparison warning.Clément Foucault
Fixes the following warning: `'!=': unsafe mix of type 'bool1' and type 'bool' in operation`
2022-02-22Fix: Clear mesh runtime cache when adding elementsHans Goudey
Currently the RNA functions to add mesh elements like vertices don't clear the runtime cache of things like triangulation, BVH trees, etc. This is important, since they might be accessed with incorrect sizes. This is split from a fix for T95839.
2022-02-22Cleanup: Deduplicate logic in `RNA_property_editable` & co.Bastien Montagne
Fairly straight-forward, now all the logic for all those 'is editable' complex checks is gathered into a single util function.
2022-02-22Cycles: Removed numaapi from standaloneStefan Werner
2022-02-22Merge branch 'blender-v3.1-release'Sergey Sharybin
2022-02-22Fix compilation error on certain platformsSergey Sharybin
Atomic operations performed by the C++ standard library might require libatomic on platforms which do not have hardware support for those operations. This change makes it that such configurations are automatically detected and -latomic is added when needed. Differential Revision: https://developer.blender.org/D14106
2022-02-22Fix (unreported) `RNA_property_editable_index`.Bastien Montagne
NOTE: This function is currently unused. However, it does use a callback defined by a few RNA properties through `RNA_def_property_editable_array_func`, so don't think it should be removed without further thinking. This function had two main issues: * It was doing bitwise AND on potentially three sources of property flag, when actually used `RNA_property_editable` just use one source ever. * It was completely ignoring liboverride cases. TODO: Deduplicate code between `RNA_property_editable`, `RNA_property_editable_info` and `RNA_property_editable_index`.
2022-02-22Cleanup: Make `RNA_property_editable` logic clearer.Bastien Montagne
Split code in smaller bits with early returns, instead of a giant single set of checks. No behavioral change expected here.
2022-02-22Merge branch 'blender-v3.1-release'Jacques Lucke
2022-02-22Cleanup: quiet warnings for FFMPEG before 5.0Campbell Barton
Even though 5.0 has been released newer distributions wont include it, so quiet warnings.
2022-02-22GNUmakefile: missed removing docs for test_deprecated when renamingCampbell Barton
2022-02-22Cleanup: compiler warningBrecht Van Lommel
2022-02-22Fix subdivision surface modifier doing unnnecessary workBrecht Van Lommel
There was accidentally some displacement related code running even when not using displacement. Differential Revision: https://developer.blender.org/D14169
2022-02-22GNUmakefile: rename test_depracted to check_deprecatedCampbell Barton
Also move this utility into the source/tools repo.
2022-02-22Cleanup: quiet warnings for FFMPEG before 5.0Campbell Barton
Even though 5.0 has been released newer distributions wont include it, so quiet warnings.
2022-02-22Merge branch 'blender-v3.1-release'Jacques Lucke
2022-02-22Fix T93784: text and curve objects have no motion blurJacques Lucke
Previously, objects and geometries were mapped between frames using different hash tables in a way that is incompatible with geometry instances. That is because the geometry mapping happened without looking at the `persistent_id` of instances, which is not possible anymore. Now, there is just one mapping that identifies the same object at multiple points in time. There are also two new caches for duplicated vbos and textures used for motion blur. This data has to be duplicated, otherwise it would be freed when another time step is evaluated. This caching existed before, but is now a bit more explicit and works for geometry instances as well. Differential Revision: https://developer.blender.org/D13497
2022-02-22Cleanup: Replace eTexPaintMode with classes.Jeroen Bakker
For an upcoming prototype we would introduced a new eTexPaintMode option. That would add more cases and if statements. This change migrate the eTexPaintMode to 3 classes. AbstractPaintMode contains a shared interface. ImagePaintMode for 2d painting and ProjectionPaintMode for 3d painting.
2022-02-22Fix compilation issue under windows.Jeroen Bakker
2022-02-22Fix compilation error on certain platforms.Jeroen Bakker
Seems this isn't an issue on newer compilers.
2022-02-22Convert paint_image to cc.Jeroen Bakker
2022-02-22Cleanup: Renamed PaintOperation.custom_paint to stroke_handle.Jeroen Bakker
2022-02-22Merge branch 'blender-v3.1-release'Campbell Barton
2022-02-22Python: change behavior for CONSOLE_OT_indent_or_autocompleteCampbell Barton
Checking only the previous character broke import auto-completion.
2022-02-22Cleanup: use doxygen sectionsCampbell Barton
2022-02-22Cleanup: Use switch-statement for eTexPaintMode.Jeroen Bakker
2022-02-22Merge branch 'blender-v3.1-release'Campbell Barton
2022-02-22Fix T93629: Reset to defaults undoes all steps when applied twiceCampbell Barton
Reset Defaults left the undo stack in an invalid state, with the active undo step left at the previous state then it should have been. Now the buttons own undo logic is used to perform undo pushes.
2022-02-22GPencil: Simplify sample modifier improvements.YimingWu
1. Now handles cyclic strokes correctly. 2. Added a sharp threshold value to allow preservation of sharp corners. Reviewed By: Antonio Vazquez (antoniov), Aleš Jelovčan (frogstomp) Ref D14044
2022-02-22LineArt: Consistent backface culling behaviorYimingWu
1. Now will remove lines if both adjacent faces are back face. 2. Added a check to respect material back face culling setting. 3. Changed label in the modifier to "Force Backface Culling" (which reflect more accurately with what the checkbox does). Reviewed By: Antonio Vazquez (antoniov), Aleš Jelovčan (frogstomp) Ref D14041
2022-02-22Merge branch 'blender-v3.1-release'Germano Cavalcante
2022-02-22Fix errors in 'gpu.state' documentationGermano Cavalcante
`blend_depth_test_get` --> `depth_test_get` `depth_mask_set_get` --> `depth_mask_get` Thanks to @SBCV for pointing out these inconsistencies.
2022-02-22Fix wrong method name in gpu documentationGermano Cavalcante
`use_program_point_size` --> `program_point_size_set`.
2022-02-22Camera: Simplify View Frame codeGermano Cavalcante
- No need for `normal_tx` array if we normalize the planes in `plane_tx`. - No need to calculate the distance squared to a plane (with `dist_signed_squared_to_plane_v3`) if the plane is normalized. `plane_point_side_v3` gets the real distance, accurately, efficiently and also signed. So normalize the planes of the member `CameraViewFrameData::plane_tx`.