Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Revision 19bab2a by Hans Goudey
16 minutes ago
Geometry Nodes: Object info node optional instance output

The object info node output an instance as a performance optimization.
Before that optimization was (almost) invisible to the user, but now
that we aren't automatically realizing instances, it isn't intuitive
for a single object to become an instance.

I refactored the transform node so its ability to translate/transform
an entire geometry set was more usable from elsewhere and exposed the
function to get a geometry set from an object.

Differential Revision: https://developer.blender.org/D12833
Revision 76f386a by Hans Goudey
28 minutes ago
Geometry Nodes: Fields transfer attribute node

This commit adds an updated version of the old attribute transfer node.
It works like a function node, so it works in the context of a
geometry, with a simple data output.

The "Nearest" mode finds the nearest element of the specified domain on
the target geometry and copies the value directly from the target input.

The "Nearest Face Interpolated" finds the nearest point on anywhere on
the surface of the target mesh and linearly interpolates the value on
the target from the face's corners.

The node also has a new "Index" mode, which can pick data from specific
indices on the target geometry. The implicit default is to do a simple
copy from the target geometry, but any indices could be used. It is also
possible to use a single value for the index to to retrieve a single
value from an attribute at a certain index.

Differential Revision: https://developer.blender.org/D12785
Revision 47a72ac by Hans Goudey
40 minutes ago
Cleanup: Refactor use of implicit inputs in geometry nodes

Instead of checking whether the socket value was hidden, use the proper
node declaration to check whether the socket has an implicit input. The
remaining larger change to make is allowing nodes to specify what their
implicit input should actually be.
Revision 4682aad by Hans Goudey
43 minutes ago
Fix: Field type inference considers unavailable sockets

If a node had unused/unavailable inputs, they were still considered
when deciding whether the output is a field or not.
1 hour 6 min ago
UI: Remove extra padding around curve widget

This commit removes the constant padding around to the left and
right of the curve widget. The padding worked in screen space and
didn't take UI scale/zoom into account. This makes the curve widget
consistent with the more recently added curve profile widget used
for bevel profiles.

Differential Revision: https://developer.blender.org/D12883
2 hours 30 min ago
Cleanup: remove accidental comment
2 hours 37 min ago
Fix T62325, T91990: changing Cycles presets does not update the Blender UI

Checking RNA_MAGIC is not enough to identify the ID property case which always
needs updates. If the property is already resolved to an RNA property we need
to check the flag too.
Revision 4ba7201 by Julian Eisel
2 hours 43 min ago
Asset Browser: Hide Import Types menu for "Current File" asset library

This menu doesn't have an effect on the importing while in the "Current File"
asset library. This can be quite confusing.

However, just hiding the menu may be a temporary solution. Decision
actually to instead show a different menu, that allows choosing between
duplicating and reusing data on drop. This is being reviewed here
https://developer.blender.org/D12879.
Meanwhile (or in case we end up rejecting that), this change should
avoid some confusion.

Differential Revision: https://developer.blender.org/D12752
3 hours 11 min ago
Fix T92032: Cycles panoramic cameras do not support shift
4 hours 40 min ago
Fix T92083: Crash renaming bone used in Armature modifier on curve

This is caused by {rB3b6ee8cee708}.

Since rigging curves with armatures only works with envelopes (if I am
not mistaken), this stirs up the question again why we actually give the
choice for vertex groups in parenting. Anyways, curves can have armature
modifiers and renaming bones should not crash.

Now make sure we only go down the route of `BKE_object_defgroup_list`
and `BKE_object_defgroup_find_name` if vertex groups are actually
supported.

Maniphest Tasks: T92083

Differential Revision: https://developer.blender.org/D12876
5 hours 9 min ago
Geometry Nodes: Add Voronoi Texture

Port shader Voronoi to GN

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D12725
5 hours 23 min ago
Fix crash handling tool-keymap events

There was a rare crash in WM_event_get_keymap_from_toolsystem_fallback
when wm->winactive was NULL.

This could happen when the event was handled
immediately after closing a window.
5 hours 34 min ago
Geometry Nodes: Port shader gradient texture node

Reviewed By: HooglyBoogly, JacquesLucke

Differential Revision: https://developer.blender.org/D12717
5 hours 36 min ago
Cycles: Voronoi noise, fix uninitialised variable

Caused a debug crash in Windows MSVS.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D12873
5 hours 54 min ago
Fix T92128: Cycles CUDA wrong hair attributes, after recent changes
5 hours 54 min ago
Fix Cycles Python error with pinned materials in properties editor
5 hours 54 min ago
Cleanup: refactor to make number of channels for shader evaluation variable
5 hours 54 min ago
Cleanup: add utility functions for packing integers
5 hours 54 min ago
Cleanup: don't copy constant memory to GPU multiple times for displacement
5 hours 54 min ago
Cleanup: refactor OptiX shadow intersection for upcoming changes
Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021