October 25, 2021, 11:03 (GMT) |
Geometry Nodes: new Image Texture node This adds a new image texture node for geometry nodes. It does not reuse the same node that is used in shading, because we want to be able to expose the image and frame as sockets. There is a known update issue when a movie or image sequence is used. That will be fixed separately (also see D12957). Currently, the image socket is just a pointer to an Image ID data block. This can contain single images but also movies and image sequences. In the future, the definition of an image socket can be expanded to include images that are generated from scratch in the node tree. For more details read the discussion in D12827. Some of the code is a direct port from cycles and should be cleaned up a bit in the future. For example `image_cubic_texture_lookup`. For still images, the frame input is ignored. Otherwise, the frame has to be in a valid range for the node to work. In the future we may add e.g. automatic looping functionality. Differential Revision: https://developer.blender.org/D12827 |
October 25, 2021, 10:58 (GMT) |
Cleanup: rename Outliner function Seems like typos in rB32dc085289ac outline_batch_delete_hierarchy --> outliner_batch_delete_hierarchy Differential Revision: https://developer.blender.org/D12989 |
October 25, 2021, 10:58 (GMT) |
Fix T91411: Outliner crash using contextmenu operators from a shortcut Oversight in {rBb0741e1dcbc5}. This was guarded by an assert in `get_target_element`, but it can be valid to have these assigned to a shortcut (and then perform the action without an active outliner element). Now remove the assert and let the operator polls check if we really have a target element. note: this basically makes `get_target_element` obsolete, could call `outliner_find_element_with_flag` instead in all cases. Maniphest Tasks: T91411 Differential Revision: https://developer.blender.org/D12495 |
October 25, 2021, 10:46 (GMT) |
Spreadsheet: fix updating active domain when component type changes The mesh and instances case wasn't handled before. |
October 25, 2021, 10:37 (GMT) |
Cleanup: asset catalog path test, improve sub-test separation Put related lines in a block of their own, such that each block doesn't have access to the variables of the previous blocks. This makes it easier to correctly copy-paste some tests, as the compiler forces you to update the code afterwards. |
October 25, 2021, 10:37 (GMT) |
Asset Catalogs: be more accepting of backslashes as separators Asset Catalog Paths should only contain forward slashes as separators, but now the UI is more resilient to people using blackslashes instead. Manifest Task: T90553 |
October 25, 2021, 10:12 (GMT) |
Fix T92073: Cycles flicker when panning in camera view with border render Panning in camera view makes the border to be modified, which was causing the Cycles display to believe the rendered result is unusable. The solution is to draw the render result at the display parameters it was updated for. This allows to avoid flickering during panning, zooming, and camera FOV changes. The suboptimal aspect of this is that it has some jelly effect, although it is on the same level as jelly effect of object outline so it is not terrible. Differential Revision: https://developer.blender.org/D12970 |
October 25, 2021, 10:08 (GMT) |
BKE Callbacks: more explicit initialisation check Add static boolean to track whether the callbacks system has been initialised. This makes it possible to make the `BKE_callback_remove()` function more noisy in case of programming errors, and avoids accessing `funcstore->alloc` when `funcstore` was potentially already freed. Thanks @campbellbarton for pointing this out. |
October 25, 2021, 09:41 (GMT) |
October 25, 2021, 09:37 (GMT) |
Geometry Nodes: use vector socket for offset in Set Position node This replaces the boolean Offset input in the Set Position node with a vector input. This makes the node easier to use. Using a "Position" input as an "Offset" sounds wrong anyway. The Position and Offset inputs are evaluated at the same time. The versioning only works correctly when the Offset input was not connected to something else before. Differential Revision: https://developer.blender.org/D12983 |
October 25, 2021, 09:30 (GMT) |
Fix T92446: node editor overlays reset automatically Caused by rBcf72b10075758be971f9806b97db01f98383aba2. The fix is to only enable the flags when a new node editor is actually created. |
October 25, 2021, 08:57 (GMT) |
Fix T92430: Infinite recursion in some cases in new append code. Shapekeys, always shapekeys... Since we cannot deal with them as regular IDs, we need to handle potential recursion cases ourselves here. sigh. |
October 25, 2021, 08:46 (GMT) |
UI: Refactor dropping support for the tree-view API Introduces a dropping-controller API for the tree-view items, `AbstractTreeViewItemDropController`. This reduces responsibilities of the main tree-view item classes, which are already getting quite big. As I expect even more functionality to be needed for it (e.g. drag support), it's better to start introducing such controller types already. |
October 25, 2021, 07:27 (GMT) |
Cycles: Revert all host update specific changes The approach didn't turn out to be that useful after all as there are unavoidable dependencies of data from the device. For example, to know whether object intersects volume or not it is required to run displacement kernels. The way of splitting host and device updates caused state where some data is not yet available, causing confusion and leaving code to be error-prone. |
October 25, 2021, 07:27 (GMT) |
Cycles: More accurate volume stack size calculation The idea is to allow having a lot of non-intersecting volumes without allocating volume stack to its full size. With the F11285472 file the memory usage goes from 1400 MiB to 1000 on the RTX6000 card. The fix makes it so the integrator work memory is allocated after scene update which has downside of possible less efficient update when some textures don't fit GPU memory, but has an advantage of making proper decision and having a clear and consistent internal API. Fixes memory part of T92014. Differential Revision: https://developer.blender.org/D12966 |
October 25, 2021, 05:12 (GMT) |
Fix T91931: Thumbnail Missing Region Fixes a crash when blend thumbnails set to Camera View when there is no camera, which resulted in use of a null region. See D12748 for more details. Differential Revision: https://developer.blender.org/D12748 Reviewed by Campbell Barton |
October 25, 2021, 04:47 (GMT) |
Fix T90633: Frame all doesn't use meta range This commit fixes T90633, it changes the behavior of the `Frame All` operation when the user is tabbed into a metastrip: instead of using the scene timeline's range, `Frame All` uses the current metastrip's range. Reviewed By: ISS Differential Revision: https://developer.blender.org/D12974 |
October 25, 2021, 03:35 (GMT) |
Fix T90855: Transform effect gives inconsistent output When using downscaled preview size with proxies, transform effect doesn't compensate for fact, that pixels are effectively larger. There was compensation for scene render size already. Use same compensation method as text effect uses for font size. |
October 25, 2021, 02:33 (GMT) |
Fix T90835: Strip snaps to first and second frame This was caused by strips with single frame input like single image strip or color strip. their length is always 1, and so content length was calculated to end after first frame. There was code handling this case, but it was also checking for `anim_endofs` and `endstill` values. Anim offset values have no effect on these strips and still frame value was used incorrectly. So these chacks can be removed completely. |
October 25, 2021, 02:24 (GMT) |
Fix T90836: Strip snaps to empty space This was caused by snap to hold offset feature, which calculates strip content boundary, but it can be outside of strip boundary. Clamp content start and end values so they are always inside of strip. |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021