Blender Git Loki

Kaikki Blender Git kommitit.

Page: 704 / 8462

April 22, 2021, 21:14 (GMT)
Splines: Reorganize class inheritence, evaluation
April 22, 2021, 19:23 (GMT)
Merge branch 'master' into sculpt-dev
April 22, 2021, 19:13 (GMT)
Avoid warning when using FileSelectEntry.id_type on a non-ID file

If the file doesn't represent an ID, the value will be `'NONE'` in
Python. Otherwise a valid ID type (e.g. `'ACTION'`, `'OBJECT'`, etc.).
April 22, 2021, 17:54 (GMT)
Cycles: Show message about loading denoising kernels

It is possible that denoiser will create device on-demand, and the
creation might take a while due to possible runtime kernel compilation
or optimization of ptx for OptiX.

This change makes it so a nice and meaningful status is reported to the
user instead of status being stuck at o samples.
April 22, 2021, 17:45 (GMT)
Fix too big grid plane for Add Object tool on Retina displays

The grid plane was drawn too big on retina displays compared to other screens,
because the factor was multiplied by the native pixel-size, which is 2 for
Retina displays.
April 22, 2021, 17:26 (GMT)
Assets: Correct name of own recently added BPY functions

Makes the functions (introduced in 557b3d2762a6) follow existing naming
conventions for the API.

Changes:
`bpy.types.ID.mark_asset` to `bpy.types.ID.asset_mark`
`bpy.types.ID.clear_asset` to `bpy.types.ID.asset_clear`
April 22, 2021, 17:24 (GMT)
Splines: Add comments
April 22, 2021, 17:18 (GMT)
Fix wrong render with Cycles persistent data

Need to always zero render buffers, otherwise it will have previous
result stored in it, making integration wrong (image will be over
exposed) and will make it so that adaptive sampling will pretend that
it adds samples, causing an early convergence.

Probably the render buffer is to be freed at the end of the render
anyway, but this would need a deeper look. For now just mimicking
what happens in master.
April 22, 2021, 17:15 (GMT)
Splines: Continue cleanup
Revision bbb52a4 by Falk David (master)
April 22, 2021, 17:02 (GMT)
Fix T87688: Crash entering valid text into number field

When the user entered a driver expression like `#frame` into a number
field, Blender would crash sometime after. This is because
e1a9ba94c599 did not handle this case properly and ignored the fact
that the user can enter text into the field.

The fix makes sure that we only cancel if the value is a *number* equal
to the previous value in the field.

Note that this could also be handled by `ui_but_string_set` which would
be a bit nicer potentially. However, I was unable to find a clean way of
passing `data->startvalue` into that function. `uiHandleButtonData` is
only known locally inside `interface_handlers.c`.

Reviewed By: Severin

Maniphest Tasks: T87688

Differential Revision: https://developer.blender.org/D11049
April 22, 2021, 16:41 (GMT)
Splines: Continue cleanup
April 22, 2021, 16:25 (GMT)
Splines: Cleanup: Rename variables and types
April 22, 2021, 16:15 (GMT)
Splines: Cleanup
April 22, 2021, 15:35 (GMT)
Fix: Deactivate audio settings when output is None
April 22, 2021, 15:35 (GMT)
Animation: add "LocRotScaleCProp" keying set

Add a keying set that includes location, rotation, scale, and custom
properties.

The keying set is intentionally not based on the "Whole Character"
keying set. Instead, it is generic enough to be used in both object and
pose animation, making it possible to quickly switch between animating
characters and props without switching keying sets.

This is, according to @rikkert, what the Blender Studio animators need
99.9% of the time.
April 22, 2021, 15:35 (GMT)
Cleanup: doversion for 3.0 is using FileData
April 22, 2021, 15:35 (GMT)
Fix: geometry nodes logs incorrect preview data

Under some circumstances, modifiers are evaluated more than once.
One time to compute the actual output geometry and another time
with `MOD_APPLY_ORCO`. This design probably has to be revisited
at some point in the context of geometry nodes. However, that would
be much more involved than a bug fix.

The issue was that during the second evaluation, the node tree is
evaluated based on a slightly different input geometry. The data
generated during the second evaluation overwrote the cached
data from the first evaluation, resulting in incorrect data that is
shown in the spreadsheet.

The fix for now is to simply not log any data in the second evaluation.
April 22, 2021, 15:35 (GMT)
Fix T87090: VSE scrubbing locks up blender

Speed effect caused, that some raw frames are re-used for multiple
final frames. When cached final frame is freed due to memory being
full, it tried to free also lower level cached frames that were used
during compositing. Some lower level cached frames were already freed
by different final frame and `BLI_ghash_remove()` failed.

Check if key still exists in hash or if linked keys were overwritten
before removing them.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D10909
April 22, 2021, 15:35 (GMT)
Fix T87615: No snapping to objects instanced by Geometry nodes

The code of the snapping system to interact the objects in the scene only
considers instances what comes from "DUPLI" objects.

This commit adds instances coming from Geometry nodes.

Differential Revision: https://developer.blender.org/D11020
April 22, 2021, 15:35 (GMT)
Geometry Nodes: Get attribute domain and type without allocation

Because we use virtual classes (and for other reasons), we had to do a
small allocation when simply retrieving the data type and domain of an
existing attribute. This happened quite a lot actually-- to determine
these values for result attributes.

This patch adds a simple function to retrieve this meta data without
building the virtual array. This should lower the overhead of every
attribute node, though the difference probably won't be noticible
unless a tree has very many nodes.

Differential Revision: https://developer.blender.org/D11047
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021