Revision a217e04 by Joerg Mueller August 18, 2021, 20:22 (GMT) |
Audaspace: porting PulseAudio fixes from upstream. |
Revision 55f9014 by Kévin Dietrich August 18, 2021, 19:27 (GMT) |
Alembic procedural: remove Generated attribute creation The main reason for this is to speed up updates by avoid unnecessary copies as the Generated coordinates are a copy of the vertices. Creating this attribute may become optional in the future, with UI parameters to select which attribute to use from the Alembic archive as reference. |
Revision 6b041ad by Kévin Dietrich August 18, 2021, 19:20 (GMT) |
Cycles: use object coordinates when generated coordinates are missing This modifies the attribute lookup to use object coordinates if no generated coordinates are found on the geometry. This is useful to avoid creating and copying this attribute, thus saving a bit of time and memory. Reviewed By: brecht Differential Revision: https://developer.blender.org/D12238 |
Revision b8ecdbc by Kévin Dietrich August 18, 2021, 19:12 (GMT) |
Cycles: avoid copying vertex normals attribute twice to the devices Vertex normals are needed for normals maps and therefore are packed and send to the device alongside the other float3 attributes. However, we already pack and send vertex normals through `DeviceScene.tri_vnormal`. This removes the packing of vertex normals from the attributes buffer, and reuses `tri_vnormal` in the kernel for normals lookup for normal maps, which reduces memory usage a bit, and speeds up device updates. This also fixes potential missing normals updates following rB12a06292af86, since the need for vertex normals for normals maps was overlooked. Reviewed By: brecht Differential Revision: https://developer.blender.org/D12237 |
Revision e5f8db9 by Bastien Montagne August 18, 2021, 15:05 (GMT) |
LibOverride: Tag all embedded IDs RNA opinters as overridable. Followup to previous commit, rBfffe219bdb8drBfffe219bdb8d Again this is only for sake of sane ID/overrides managment for now, the nodetrees themselves are not overridable from user PoV yet. |
Revision 9bfd4ae by Bastien Montagne August 18, 2021, 14:49 (GMT) |
LibOverride: tweak resync detection code at apply phase. This code checks whether an ID pointer property of an override does not match its linked reference when it is expected to do so. This is a goiod indication that a resync is needed. Previous code would falsy detect overrides of IDs referencing themselves as needing a resync, when this is not effectively the case. |
Revision ba71eb4 by Bastien Montagne August 18, 2021, 14:49 (GMT) |
LibOverride: Add several missing 'OVERRIDABLE' flags to NodeTrees RNA. This should be a no-change commit for now, but is required to enable initial basic support of nodetrees in library override. NOTE: Proper full support of liboverrides in nodes is yet to be designed (has UX unresolved issues, since we likely do not want to expose/make overridable ALL settings of ALL nodes). |
Revision 1d06d35 by Bastien Montagne August 18, 2021, 14:49 (GMT) |
LibOverride: Do not report embedded IDs as non-overridable in 'foreach_id' code. Embedded IDs (root nodetrees, master collection, etc.) pointer itself is not editable, but their content may be overridden. LibOverride code is supposed to know how to handle those embedded IDs. |
Revision fffe219 by Bastien Montagne August 18, 2021, 14:49 (GMT) |
LibOverride: Make nodetree of material overrideable again. This reverts rB6899dbef77cd and makes the pointer explicitely processable by override & diffing code. Previous changes & fixes have fixed the 'driver-workaround' case afaict. Note that this only enables proper generic handling of overrides and their ID pointers, no node property is actually overridable currently. |
Revision 04376c3 by Charlie Jolly August 18, 2021, 13:50 (GMT) |
Geometry Nodes: Add shader Color Mix node Port color mix shader node to Geometry Nodes. Differential Revision: https://developer.blender.org/D10585 |
Revision 787350d by Philipp Oeser August 18, 2021, 12:43 (GMT) |
Fix T90737: VSE adding nested strips could have non-unique names Caused by {rBbbb1936411a5}. When adding strips via the new SEQ_add_XXX_strip functions, the `Editing->seqbasep` pointer was passed around. Following in `seq_add_generic_update` this `seqbasep` pointer was used to ensure a unique name. But `seqbasep` is the pointer to the current list of seq's being edited (**which can be limited to the ones within a meta strip**). We need unique names across all strips though (since these are used for RNA paths, FCurves as reported), so now use the scene's `Editing- >seqbase` (**which is the list of the top-most sequences**) instead. Unfortunately this might have screwed files to a borked state, not sure if this could easily be fixed... Maniphest Tasks: T90737 Differential Revision: https://developer.blender.org/D12256 |
Revision 7bffafa by Germano Cavalcante August 18, 2021, 12:39 (GMT) |
Fix T90718: Object selection toggle do not work inside edit mode The object was not deselected as it was expected that it would be activated. But this activation does not happen in edit mode. |
Revision c0f600c by Jeroen Bakker August 18, 2021, 05:32 (GMT) |
T73434: Improve Weight Paint Overlay Drawing. Master multiplied the weight paint on top of the rendered image. This reduced readability. This patch removes the multiplication for weight painting and adds a hint of the geometry below the overlay. Reviewed By: Mets, pablodp606, campbellbarton Maniphest Tasks: T73434 Differential Revision: https://developer.blender.org/D12170 |
Revision 400cb25 by Jesse Yurkovich August 18, 2021, 04:44 (GMT) |
UDIM: Support tile sets that do not start at 1001 Removes the artificial requirement that UDIM tile sets start at 1001. Blender was already capable of handling sparse tile sets (non-contiguous tiles) so the restriction around starting at 1001 was unnecessary in general. This required fixing a few UDIM-related python bugs around manually updating the `tile_number` field on images as well. See the differential for details. No script changes are necessary but they will now work, correctly, in many more cases. Differential Revision: https://developer.blender.org/D11859 |
August 18, 2021, 04:02 (GMT) |
Fix T90695: Lower tile splitting limit for lineart Lowers tile splitting limit so models with extremely dense mesh portions could still have reasonable performance while for more common cases the performance impact should be minimal. Reviewed By: Sebastian Parborg (zeddb), Antonio Vazquez (antoniov) Differential Revision: https://developer.blender.org/D12236 |
Revision 24c16f5 by Pablo Dobarro August 17, 2021, 21:54 (GMT) |
Fix wireframe overlay not blending over paint overlay correctly When using wireframe opacity, the paint overlay needs to be drawn before the wireframes in order to alpha blend correctly. Sculpt overlays were also affected by this, so this commit refactors this part of the code in case other overlays needs to be added in the future. Reviewed By: Mets Differential Revision: https://developer.blender.org/D12235 |
Revision 809dce5 by Germano Cavalcante August 17, 2021, 20:23 (GMT) |
Cleanup: move 'recalcData' to 'transform_convert.h' The `recalcData` function is defined in `transform_convert.c`, so the header is most expected to be `transform_convert.h`. |
August 17, 2021, 20:20 (GMT) |
GPencil: Fix unreported switch direction not flipping weights There was an unreported bug that switch direction would not switch the order of the vertex group weights. This caused join to do it wrong as well. Changed to use `BLI_array_reverse` function here to reverse both the normal points and the weights, therefore simplifying the code. Differential Revision: https://developer.blender.org/D12251 |
Revision 23132fc by Kévin Dietrich August 17, 2021, 19:41 (GMT) |
Fix T77307: Particle Info Node Does Not Consider Time Remapping `frame_current_final()` should be used to access the Scene time after remapping, which also matches how the particles system handles time. Reviewed By: brecht Maniphest Tasks: T77307 Differential Revision: https://developer.blender.org/D12239 |
Revision 60d6333 by Kévin Dietrich August 17, 2021, 19:38 (GMT) |
Fix T82336: Cycles standard attributes missing in displacement shaders Standard attributes are not added to the attributes requests when shaders only have displacement. This is because nodes are only considering the case when the surface socket is connected. To support this, added `Shader.has_surface_link()` which checks for both cases (`has_surface` and `has_displacement`) and replaces all checks on `Shader.has_surface`. Reviewed By: brecht Differential Revision: https://developer.blender.org/D12240 |
|