Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 300 / 5574

April 23, 2021, 08:04 (GMT)
Fix T78845: Eevee wrong material selection.

In cases where the same node tree is used in different materials with
small changes, the wrong material could be selected.

Cause: Hair shaders GPU resources weren't updated and used the previous bound data.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D11036
April 23, 2021, 07:25 (GMT)
Fix T86765: Custom properties are included in `__dir__`

Remove custom properties from `__dir__` method result since these
can't be accessed using `__getattr__`.

Introduced in the 2.5x Python API update.
April 23, 2021, 03:08 (GMT)
Fix T86566: Do Not Close if File Cannot Be Saved

If saving a file using CloseSave dialog, do not close if there is an error doing so, like if read-only.

Differential Revision: https://developer.blender.org/D10722

Reviewed by Julian Eisel
April 23, 2021, 02:57 (GMT)
UI: Join or Close Any Screen Area

Corner action zones allow joining any neighbors. New 'Area Close' operator. Improved Header Context Menu.

Differential Revision: https://developer.blender.org/D8084

Reviewed by Campbell Barton
April 23, 2021, 01:33 (GMT)
Merge branch 'blender-v2.93-release'
April 23, 2021, 01:32 (GMT)
Fix for building with MSVC
April 23, 2021, 00:02 (GMT)
Merge branch 'blender-v2.93-release'
April 22, 2021, 23:02 (GMT)
Fix T86170: Memory leak clearing the Python instance for COW id data

As Python can access COW ID's, ensure it's instance is kept on update.

This could happen when the "Use Self" argument was enabled for a driver.
April 22, 2021, 23:02 (GMT)
Cleanup: quiet clang-tidy warning
Revision 47892d6 by Julian Eisel
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.
Revision 6ebe0b8 by Julian Eisel
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`
Revision bbb52a4 by Falk David
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
Revision d1ccc5b by Hans Goudey
April 22, 2021, 14:20 (GMT)
Geometry Nodes: Add initializer for attribute creation

Previously we always had to set attribute values after creating
the attribute. This patch adds an initializer argument to
`attribute_try_create` which can fill it in a few ways, which
are explained in code comments.

This fixes T87597.

Differential Revision: https://developer.blender.org/D11045
April 22, 2021, 13:23 (GMT)
Fix T87701: debug assert generating scene preview render
April 22, 2021, 13:09 (GMT)
Fix missing include
Revision b9a7b40 by Hans Goudey
April 22, 2021, 13:05 (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
April 22, 2021, 13:04 (GMT)
Fix missing include
April 22, 2021, 12:58 (GMT)
Merge branch 'blender-v2.93-release'
April 22, 2021, 12:57 (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, 12:26 (GMT)
Merge branch 'blender-v2.93-release'
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021