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-01-28Image Engine: Remove unused shader parameter Color.Jeroen Bakker
This change removes an unused shader parameter that also collided when a local varialble with the same name was used on different platforms.
2022-01-28Image Engine: Use GPUShaderCreateInfo.Jeroen Bakker
Ported the image engine shaders to use the GPUShaderCreateInfo struct. No functional changes.
2022-01-28Merge branch 'blender-v3.1-release'Sergey Sharybin
2022-01-28Fix insufficient CPU flags checks for Cycles OIDNSergey Sharybin
Sometime throughout development some checks got lost during refactor. This change makes it so that if OIDN is not supported on the current CPU Cycles will report an error and stop rendering. This behavior is similar to when an OptiX denoiser is requested and there is no OptiX compatible device available. The easiest way to verify this change is to force return false from the `openimagedenoise_supported()`. Fixes Cycles part of the T94127. Differential Revision: https://developer.blender.org/D13944
2022-01-28Fix compilation error in previous commit.Jeroen Bakker
2022-01-28Remove compilation warnings TexResult.Jeroen Bakker
2022-01-28Fix overread warning in screen operatorJulian Eisel
Fixes a `stringop-overread` warning, other people are working on fixing some more :)
2022-01-28Silent compilation warning in space_graph.Jeroen Bakker
2022-01-28Image engine: Remove unused parameter.Jeroen Bakker
Parameter was used to still be compatible with the previous drawing mode. The previous mode isn't available anymore so the parameter can should be removed.
2022-01-28Image Engine: Fix issue show alpha flag not reset.Jeroen Bakker
After showing the alpha in the image editor the setting was not reset so all images in the editor showed as being transparent. This commit fixes this by resetting the flag before updating.
2022-01-28Draw: Remove unused code in image engine shader.Jeroen Bakker
2022-01-28Revert "3.1 splashscreen"Thomas Dinges
This reverts commit 3aa56608f76ced34854841b0ad4e228d787e3673.
2022-01-28Merge branch 'blender-v3.1-release'Thomas Dinges
2022-01-283.1 splashscreenThomas Dinges
Credit: Lorenzo Aiello - https://orencloud.artstation.com/
2022-01-28Revert "Update pipeline config and point to 3.1 branches."Thomas Dinges
This reverts commit 5d4583683b6d99f2561efa589076d67ee15662e0.
2022-01-28Revert "Blender 3.1 bcon3 (beta)"Thomas Dinges
This reverts commit d45098024ea5b533a406c2a2352b35e49a5e72af.
2022-01-28Merge remote-tracking branch 'origin/blender-v3.1-release'Dalai Felinto
2022-01-28Blender 3.1 Beta- subversion bumpDalai Felinto
2022-01-28Update pipeline config and point to 3.1 branches.Thomas Dinges
2022-01-28Blender 3.1 bcon3 (beta)Thomas Dinges
2022-01-28Fix T95060: Outliner: Broken 'make override hierarchy' in indirect linked casae.Bastien Montagne
In Outliner, 'Make Override Hierarchy' on an indirectly linked data would fail in case some items higher up in the hierarchy also needed to be overridden was also indirectly linked.
2022-01-28Blender 3.2 bcon1 - alphaThomas Dinges
Bump the version number for the new release cycle.
2022-01-28Draw: Remove unused shader.Jeroen Bakker
tile images aren't a special case anymore for the image engine.
2022-01-28Fix T95060: Outliner: Broken 'make override hierarchy' in indirect linked casae.Bastien Montagne
In Outliner, 'Make Override Hierarchy' on an indirectly linked data would fail in case some items higher up in the hierarchy also needed to be overridden was also indirectly linked.
2022-01-28Fix typo in comment.temp-T95279-remap-referenced-dataJeroen Bakker
2022-01-28DrawManager: Image engine support huge images.Jeroen Bakker
Adding better support for drawing huge images in the image/uv editor. Also solved tearing artifacts. The approach is that for each image/uv editor a screen space gpu texture is created that only contains the visible pixels. When zooming or panning the gpu texture is rebuild. Although the solution isn't memory intensive other parts of blender memory usage scales together with the image size. * Due to complexity we didn't implement partial updates when drawing images tiled (wrap repeat). This could be added, but is complicated as a change in the source could mean many different changes on the GPU texture. The work around for now is to tag all gpu textures to be dirty when changes are detected. Original plan was to have 4 screen space images to support panning without gpu texture creation. For now we don't see the need to implement it as the solution is already fast. Especially when GPU memory is shared with CPU ram. Reviewed By: fclem Maniphest Tasks: T92525, T92903 Differential Revision: https://developer.blender.org/D13424
2022-01-28Image: Partial Update Redesign.Jeroen Bakker
This patch reimplements the image partial updates. Biggest design motivation for the redesign is that currently GPUTextures must be owned by the image. This reduces flexibility and adds complexity to a single component especially when we want to have different structures. The new design is not limited to GPUTextures and can also be used by reducing overhead in image operations like scaling. Or partial image updating in Cycles. The usecase in hand is that we want to support virtual images in the image editor so we can work with images that don't fit in a single GPUTexture. Using `BKE_image_partial_update_mark_region` or `BKE_image_partial_update_mark_full_update` a part of an image can be marked as dirty. These regions are stored per ImageTile (UDIM). When a part of the code wants to receive partial changes it needs to construct a `PartialUpdateUser` by calling `BKE_image_partial_update_create`. As long as this instance is kept alive the changes can be received. When a user wants to update its own data it will call `BKE_image_partial_update_collect_changes` This will collect the changes since the last time the user called this function. When the partial changes are available the partial change can be read by calling `BKE_image_partial_update_get_next_change` It can happen that the introduced mechanism doesn't have the data anymore to construct the changes since the last time a PartialUpdateUser requested it. In this case it will get a request to perform a full update. Maniphest Tasks: T92613 Differential Revision: https://developer.blender.org/D13238
2022-01-28Cleanup: add compiler attributes to BLI_path functionsCampbell Barton
2022-01-28BLI_path: assert passing relative paths to BLI_path_cmp_normalizedCampbell Barton
Assert when "//" prefixed relative paths are passed to BLI_path_cmp_normalized as this can't be expanded and it's possible the paths come from different blend files.
2022-01-28Cleanup: indentation for CMake filesCampbell Barton
Also minor white-space & case changes.
2022-01-28Cleanup: spelling in commentsCampbell Barton
Also minor wording improvements.
2022-01-28Cleanup: rename BLI_paths_equal to BLI_path_cmp_normalizedCampbell Barton
Changes to recent addition: c85c52f2ce478ab0e30c5e93fd5a5cb812db232f. Having both BLI_paths_equal and BLI_path_cmp made it ambiguous which should be used, as `BLI_paths_equal` wasn't the equivalent to `BLI_path_cmp(..) == 0` as it is for string equals macro `STREQ(..)`. It's also a more specialized function which is not used for path comparison throughout Blender's internal path handling logic. Instead rename this `BLI_path_cmp_normalized` and return the result of `BLI_path_cmp` to make it clear paths are modified before comparison. Also add comments about the conventions for Blender's path comparison as well as a possible equivalent to Python's `os.path.samefile` for checking if two paths point to the same location on the file-system.
2022-01-28Fix T93328: Movie seeking doesn't work.Richard Antalik
Caused by integer overflow in `steps_per_frame` calculation.
2022-01-28GPUShader: Abort in case of dependency issues.Clément Foucault
This is to avoid being flooded with compilation errors that are not helpful.
2022-01-27BLI_float4x4: Add operator[]Clément Foucault
This makes porting existing code using `float[4][4]` easier.
2022-01-27Outliner: avoid creating unnecessary undo stepsGermano Cavalcante
The `OUTLINER_OT_item_activate` operator, although it detects when something changes, always returns `OPERATOR_FINISHED` and thus induces the creation of undo steps. So return `OPERATOR_CANCELLED` when nothing changes. Ref T94080 Reviewed By: Severin Maniphest Tasks: T94080 Differential Revision: https://developer.blender.org/D13638
2022-01-27DRW: Fix some issues with DRW_gpu_wrapper.hhClément Foucault
- Fix assert on size. - Fix void * casting. - Pass extent by values. - Add swap function to avoid letting the types copyable. - Add back the GPUTexture * operator on TextureFromPool.
2022-01-27UX: Prevent click-through panels and used header areaJulian Eisel
Does two main changes: * Handle regions in the order as visible on screen. Practically this just means handling overlapping regions before non-overlapping ones. * Don't handle any other regions after having found one containing the mouse pointer. Fixes: T94016, T91538, T91579, T71899 (and a whole bunch of duplicates) Addresses: T92364 Differential Revision: https://developer.blender.org/D13539 Reviewed by: Campbell Barton
2022-01-27Event System: Add debug sanity check "always pass" eventsJulian Eisel
Asserts that such events actually always lead to a handler return value that actually keeps the event passing. Reviewed by Campbell Barton as part of https://developer.blender.org/D13539.
2022-01-27Revert "Cleanup: Remove unused variables in winstuff.c"Ray Molenkamp
This reverts commit 32a96b80a349f30a878d82aaa1ed1ed574cef277. this needed an ifdef, not a removal, will land a proper fix later
2022-01-27Fix T95202: Curve to mesh node inconsistent edge vertex orderHans Goudey
Though the edge vertices aren't really meant to have an order, it can make a difference in operations when there isn't any other information to make decisions from, like etruding a circle of loose edges (the situation in the report). This commit changes the order of the vertices in the final cyclic edge to go in the same direction as all of the other edges.
2022-01-27Fix T95212: Mirror modifier normals crashHans Goudey
The vertex and face normals from the input mesh were used to calculate the normals on the result, which could cause a crash because the result should be about twice as large. Also remove an unnecessary dirty tag, since it is handled automatically when creating a new mesh or in the case of the mirror modifier, when calculating the new custom face corner normals.
2022-01-27Cleanup: Clang tidyHans Goudey
Use nullptr, use named parameters, fix deprecated header
2022-01-27Fix T95062: Outliner Library Overrides not refreshed when removing overrides.Bastien Montagne
Those operations were missing the necessary notification for the Outliner. This was also affecting RNA API of liboverrides.
2022-01-27Fix: Complete transfer attribute input renamingHans Goudey
Complete the renaming from 6a16a9e661f134be3f2 to include variable names and warning messages.
2022-01-27Cleanup: Remove unused variables in winstuff.cRay Molenkamp
This clears up 4 unused variable warnings coming from BLI_windows_register_blend_extension
2022-01-27Fix T85233: Transfer Weights tooltip is wrong.Bastien Montagne
Swap "active" and "selected" in the tooltip if the `use_reverse_transfer` option is activated. Reviewed By: mont29 Maniphest Tasks: T85233 Differential Revision: https://developer.blender.org/D13499
2022-01-27DRW: Fix DRW_gpu_wrapper.hhClément Foucault
The UBYTE datatype is not supported by the clear fallback. Also fix vector types headers.
2022-01-27Fix T93766: 'New Collection' entry in 'Move to collection' menu is not ↵Yevgeny Makarov
translated. Also fixes similar issues regarding some liboverride menu entries. Reviewed By: mont29 Maniphest Tasks: T93766 Differential Revision: https://developer.blender.org/D13513
2022-01-27install_deps: Downgrade python-ztandard to 0.16.0.Bastien Montagne
Higher version requires a new version of the ztandard library itself. Ref. T93161/D13922.