December 15, 2021, 13:37 (GMT) |
Cleanup: reorganize doxygen modules - Nest compositor pages under the compositor module - Nest GUI, DNA/RNA & externformats modules under Blender. - Remove modules from intern which no longer exist. - Add intern modules (atomic, eigen, glew-mx, libc_compat, locale, numaapi, rigidbody, sky, utfconv). - Use 'intern_' prefix for intern modules since some of the modules use generic terms such as locale & atomic. |
December 15, 2021, 13:37 (GMT) |
Cleanup: use typed enum for wmDrag.flags Also use 'e' prefix for enum type name. |
December 15, 2021, 13:37 (GMT) |
Cleanup: remove oudated comment from early COW development Added in 161ab6109e265ea906e0308ab404f95282534770 |
December 15, 2021, 13:37 (GMT) |
Cleanup: consistent naming for the blender file name |
December 15, 2021, 13:37 (GMT) |
Fix T93649: Blender freezes when saving with active VR session Dead-lock when VR viewport drawing and depsgraph updates would fight for the draw-manager GL lock. This didn't usually cause issues because the depsgraph would be evaluated at this point already, except in rare exceptions like after file writing. Fix this by ensuring the XR surface gets its depsgraph updated after handling notifiers, which is where regular windows also do the depsgraph updating. |
December 15, 2021, 13:37 (GMT) |
Fix T93920: Wrong field inferencing state with unavailable socket This commit ignores unavailable sockets in one more place, to fix the case in T93920. Differential Revision: https://developer.blender.org/D13562 |
December 15, 2021, 13:37 (GMT) |
Geometry Nodes: simplify using selection when evaluating fields We often had to use two `FieldEvaluator` instances to first evaluate the selection and then the remaining fields. Now both can be done with a single `FieldEvaluator`. This results in less boilerplate code in many cases. Performance is not affected by this change. In a separate patch we could improve performance by reusing evaluated sub-fields that are used by the selection and the other fields. Differential Revision: https://developer.blender.org/D13571 |
December 15, 2021, 13:37 (GMT) |
Geometry Nodes: support instance attributes when realizing instances This patch refactors the instance-realization code and adds new functionality. * Named and anonymous attributes are propagated from instances to the realized geometry. If the same attribute exists on the geometry and on an instance, the attribute on the geometry has precedence. * The id attribute has special handling to avoid creating the same id on many output points. This is necessary to make e.g. the Random Value node work as expected afterwards. Realizing instance attributes has an effect on existing files, especially due to the id attribute. To avoid breaking existing files, the Realize Instances node now has a legacy option that is enabled for all already existing Realize Instances nodes. Removing this legacy behavior does affect some existing files (although not many). We can decide whether it's worth to remove the old behavior as a separate step. This refactor also improves performance when realizing instances. That is mainly due to multi-threading. See D13446 to get the file used for benchmarking. The curve code is not as optimized as it could be yet. That's mainly because the storage for these attributes might change soonish and it wasn't worth optimizing for the current storage format right now. ``` 1,000,000 x mesh vertex: 530 ms -> 130 ms 1,000,000 x simple cube: 1290 ms -> 190 ms 1,000,000 x point: 1000 ms -> 150 ms 1,000,000 x curve spiral: 1740 ms -> 330 ms 1,000,000 x curve line: 1110 ms -> 210 ms 10,000 x subdivided cylinder: 170 ms -> 40 ms 10 x subdivided spiral: 180 ms -> 180 ms ``` Differential Revision: https://developer.blender.org/D13446 |
December 15, 2021, 13:37 (GMT) |
Cleanup: Simplify node group input and output socket verification This commit refactors the way the socket lists for group nodes, and group input/output nodes are verified to match the group's interface. Previously the `bNodeSocket.new_sock` pointer was used to temporarily mark the new sockets. This made the code confusing and more complicated than necessary. Now the old socket list is saved, and sockets are moved directly from the old list to a new list if they match, or a new socket is created directly in the new list. This change is split from D13518, which aims to remove the `new_node` and `new_sock` pointers. In the future this code might be removed entirely in favor of using node socket declarations. Differential Revision: https://developer.blender.org/D13543 |
December 15, 2021, 13:37 (GMT) |
Cleanup: Remove runtime uiBlock pointer from nodes Code is simpler when the uiBlocks used during drawing are simply stored in an array. Additionally, looping can be simpler when we use an vector to hold a temporary copy of the tree's linked list of nodes. This patch also slightly changes how uiBlocks are "named" in `node_uiblocks_init`. Now it uses the node name instead of the pointer, which is helpful so we rely less on the node's address. Differential Revision: https://developer.blender.org/D13540 |
December 15, 2021, 13:37 (GMT) |
Cleanup: Remove unused arguments |
December 15, 2021, 13:37 (GMT) |
Nodes: Add vector support to Map Range node This replaces lost functionality from the old GN Attribute Map Range node. This also adds vector support to the shader version of the node. Notes: This breaks forward compatibility as this node now uses data storage. Reviewed By: HooglyBoogly, brecht Differential Revision: https://developer.blender.org/D12760 |
December 15, 2021, 13:37 (GMT) |
Fix Cycles compilation with CUDA / Optix after recent Map Range additions. |
December 15, 2021, 13:37 (GMT) |
Fix possible use-after-free on error handling during VR view drawing Whenever an exception happens in VR session code, we cancel the entire session. Alongside that, we removed the "surface" item used to draw into an offscreen context. But this may still be stored as active surface, leading to a use-after-free when deactivating this active surface, for example. |
December 15, 2021, 13:37 (GMT) |
Fix null-pointer dereference on error handling during VR view drawing |
December 15, 2021, 13:37 (GMT) |
Fix possible use-after-free on error handling during VR view drawing Whenever an exception happens in VR session code, we cancel the entire session. Alongside that, we removed the "surface" item used to draw into an offscreen context. This would mess up the iterator of the surface draw loop. Similar to 7afd84df409a. |
December 15, 2021, 13:37 (GMT) |
Fix T93949: Preview Image Error When No Screen Fix an error if "File Preview Type" is "Auto" and there is no screen. See D13574 for details. Differential Revision: https://developer.blender.org/D13574 Reviewed by Julian Eisel |
December 15, 2021, 13:05 (GMT) |
Merge branch 'master' into gpu-shader-descriptor |
December 15, 2021, 13:03 (GMT) |
Implement OpenGL backend support 1/2 |
December 15, 2021, 09:47 (GMT) |
Documented IMB transform. |
|