Blender Git Loki

Kaikki Blender Git kommitit.

Page: 474 / 8462

July 7, 2021, 12:24 (GMT)
adaptive_cloth: fix: add_empty_interp_element() crash sometimes

Since the elements have a reference to the `Arena`, if the `Arena` changes in size, which can happen because of `add_empty_element()`, then the references can become invalid. Realloc can create memory space elsewhere and copy the contents, the references to the previous memory space are not updated which means references to the previous memory space are invalid.

There are three ways to fix this:
- Create a copy and work on the copy, this is inefficient
- Get a reference to that element again, this is efficient but may not be possible always
- Don't use the reference after an operation that can lead to the invalidation of the reference, this is the most efficient way but may not be possible always

Decided to go with the third way in this case.

Side note: Having a borrow checker completely eliminates such problems. Rust should be the way forward.
July 7, 2021, 12:22 (GMT)
Fix crash accessing sequencer strips

Was caused by recent clange sequences_all iterator in RNA (D11793).
July 7, 2021, 12:22 (GMT)
adaptive_cloth: Face: add has_vert_index(), has_edge()
July 7, 2021, 12:21 (GMT)
Cleanup: comment on source of button event codes
July 7, 2021, 12:20 (GMT)
adaptive_cloth: Edge: make has_vert() const, add get_verts()
July 7, 2021, 12:10 (GMT)
bli: generational_arena: fix: begin() points to `EntryNoExist`

When the first element of `Arena::data` is `EntryNoExist`, must iterate over the vector until the first `EntryExist` is found.

For `Arena::end()` this shouldn't be necessary because it should point to the last element + 1 anyway, so the `operator*` on this is meaningless.
July 7, 2021, 12:04 (GMT)
GPU: Added testcases for uniform builtin structs.
July 7, 2021, 11:04 (GMT)
Merge branch 'master' into xr-controller-support
July 7, 2021, 10:36 (GMT)
Use compile time inlining for buitin structs.
July 7, 2021, 10:22 (GMT)
XR: Add teleport offset option
July 7, 2021, 10:22 (GMT)
XR: Fix action state querying from Python

Credit: Jacob Merrill
July 7, 2021, 09:28 (GMT)
fix missing include
July 7, 2021, 09:27 (GMT)
Merge branch 'master' into temp-long-link-dimming
July 7, 2021, 09:20 (GMT)
Geometry Nodes: refactor logging during geometry nodes evaluation

Many ui features for geometry nodes need access to information generated
during evaluation:
* Node warnings.
* Attribute search.
* Viewer node.
* Socket inspection (not in master yet).

The way we logged the required information before had some disadvantages:
* Viewer node used a completely separate system from node warnings and
attribute search.
* Most of the context of logged information is lost when e.g. the same node
group is used multiple times.
* A global lock was needed every time something is logged.

This new implementation solves these problems:
* All four mentioned ui features use the same underlying logging system.
* All context information for logged values is kept intact.
* Every thread has its own local logger. The logged informatiton is combined
in the end.

Differential Revision: https://developer.blender.org/D11785
July 7, 2021, 08:56 (GMT)
Fix T89397: animation in geometry nodes modifier does not update

The geometry nodes modifier uses id properties for the inputs to node groups.
That is because the set of properties changes depending on which geometry
node group is selected.

The animation was not updated correctly because the `ANIMATION_EVAL`
depsgraph node was not evaluated, because nothing depended on it in the
depsgraph. This patch makes sure that the proper link to the geometry
component is inserted.

Differential Revision: https://developer.blender.org/D11831
July 7, 2021, 08:55 (GMT)
Cycles X: Reduce OIDN memory usage for shadow catcher and multi-device

Read compositing passes in-place, avoiding extra memory allocation for
the OIDN pass.

Differential Revision: https://developer.blender.org/D11840
July 7, 2021, 08:41 (GMT)
Fix T89559: Outliner shows extra view layer column when it shouldn't

This issue happened because of some miscommunication during the original
patch review. Since we have the parent element in other outliner modes
(Blender File, Data API) I was on the fence here. Rolling this back now
so that when Show All View Layers is off we don't see the current View
Layer top element.

The fix is simple, but it was better to format the code around to
follow the style in this file.

Differential Revision: https://developer.blender.org/D11830
July 7, 2021, 08:20 (GMT)
Merge branch 'master' into soc-2021-vse-strip-thumbnails
July 7, 2021, 07:42 (GMT)
Physics: Implemented darwing convex hull collisions shapes using mesh_batch_cache functions
July 7, 2021, 07:17 (GMT)
changes based on review by Hans Goudey (HooglyBoogly)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021