Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 63 / 5574

November 5, 2021, 19:24 (GMT)
Fix T92566: Cycles distant lights too dim in reflections
November 5, 2021, 19:07 (GMT)
Fix T92503: Cycles OSL crash with object attributes

Can't cast to float4 because it might not have correct alignment.
November 5, 2021, 18:20 (GMT)
Fix T92815: Incorrect handling of evaluated meshes from curves

Evaluated meshes from curves are presented to render engines as
separate instance objects now, just like evaluated meshes from other
object types like point clouds and volumes. For that reason, cycles
should not consider curve objects as geometry (previously it did,
meaning it retrieved a second mesh from the curve object as well
as the temporary evaluated mesh geometry).

Further, avoid adding a curve object's evaluated mesh as data_eval,
since that is special behavior for meshes that is arbitrary. Adding an
evaluated mesh there but not an evalauted pointcloud is arbitrary,
for example. Retrieve the evaluated mesh in from the geometry set
in BKE_object_get_evaluated_mesh now, to support that change.

This gets us closer to a place where all of an object's evaluated data
is stored in geometry_set_eval, and we just have helper functions
to access specific geometry components.

Differential Revision: https://developer.blender.org/D13118
November 5, 2021, 18:20 (GMT)
UI: Fix minor theme mismatch

Pie menu got wrong item highlight and options settings were outdated.
November 5, 2021, 18:10 (GMT)
UI: Fix minor theme mismatch

Pie menu got wrong item highlight and options settings were outdated.
Revision 8d2a0d9 by Julian Eisel
November 5, 2021, 18:00 (GMT)
UI: Apply recent theme fixes for Preferences saved in 3.1 builds

Followup to e65230f0c03c.

Pablo and I decided it's fine to reset themes again when saved with the
recent 3.1 builds.

This needed to be done a bit careful, since a normal version patch
resetting the theme would've reset the theme for anybody opening
preferences of a 3.0 build (even the final release build) in a 3.1
build. So make sure the theme is at least from a 3.1 build (but not
newer then this commit of course).
Revision cc49c47 by Julian Eisel
November 5, 2021, 17:27 (GMT)
Cleanup: Use reference for non-optional C++ parameter

A reference makes clear that NULL is not an expected value. So it's the
prefered way of passing a `const` input parameter (at least if it may
not be cheap to copy).
Revision 1bc655c by Hans Goudey
November 5, 2021, 16:51 (GMT)
Fix T92815: Incorrect handling of evaluated meshes from curves

Evaluated meshes from curves are presented to render engines as
separate instance objects now, just like evaluated meshes from other
object types like point clouds and volumes. For that reason, cycles
should not consider curve objects as geometry (previously it did,
meaning it retrieved a second mesh from the curve object as well
as the temporary evaluated mesh geometry).

Further, avoid adding a curve object's evaluated mesh as data_eval,
since that is special behavior for meshes that is arbitrary. Adding an
evaluated mesh there but not an evalauted pointcloud is arbitrary,
for example. Retrieve the evaluated mesh in from the geometry set
in BKE_object_get_evaluated_mesh now, to support that change.

This gets us closer to a place where all of an object's evaluated data
is stored in geometry_set_eval, and we just have helper functions
to access specific geometry components.

Differential Revision: https://developer.blender.org/D13118
Revision aaf86ba by Hans Goudey
November 5, 2021, 16:19 (GMT)
Merge branch 'blender-v3.0-release'
Revision c473b2c by Hans Goudey
November 5, 2021, 16:19 (GMT)
Fix part of T89313: Attribute search crash during animation playback

During animation playback, data-blocks are reallocated, so storing
pointers to the resulting data is not okay. Instead, the data should
be retrieved from the context. This works when the applied search
item is the "dummy" item added for non-matches. However, it still
crashes for every other item, because the memory is owned by the
modifier value log, which has been freed by the time the exec function
runs.

The next part of the solution is to allow uiSearchItems
to own memory for the search items.
Revision 212dcd6 by Hans Goudey
November 5, 2021, 15:57 (GMT)
Merge branch 'blender-v3.0-release'
Revision 594ee5f by Hans Goudey
November 5, 2021, 15:55 (GMT)
Fix T92848: Crash when joining curves with spline domain attributes

The point domain attributes (stored on splines) are sorted so they
have a consistent order on all splines after the join. However, spline
domain attributes were included in the new order, which didn't work
because the length of the attribute lists didn't match. The simple fix
is to only include point domain attributes in the new order vector.
November 5, 2021, 15:23 (GMT)
Merge branch 'blender-v3.0-release'
November 5, 2021, 15:23 (GMT)
UI: Use arrow icon on context paths

The current `ICON_SMALL_TRI_RIGHT_VEC` uses dark hard-coded colors ([`0.2`, `0.2`, `0.2`])
which makes it impossible to theme and hard to see in dark contexts.

Use `ICON_RIGHTARROW` to match the Outliner's breadcrumbs. This icon uses `TH_TEXT` so it's visible as long as the rest of the text is.

##### Master
(Properties editor background made red on purpose to be able to see the triangle icon)
{F11713038, size=full}

#### This patch
{F11713039, size=full}

Reviewed By: #user_interface, Severin, HooglyBoogly

Maniphest Tasks: T92771

Differential Revision: https://developer.blender.org/D13106
November 5, 2021, 15:19 (GMT)
Fix: Viewport stats wrong for Geometry Nodes instances

In some cases when geometry is created in Geometry Nodes
the viewport stats will show 0 because runtime data is not filled.
This patch sets the runtime data on instances.

Differential Revision: https://developer.blender.org/D12738
Revision f415b41 by Hans Goudey
November 5, 2021, 14:59 (GMT)
Merge branch 'blender-v3.0-release'
Revision 616594f by Hans Goudey
November 5, 2021, 14:52 (GMT)
Fix T92850: Curve to mesh incorrect for single point profiles

For single point splines that weren't at the origin, the results were
incorrect. Now take into account the tilt, radius, etc. just like the
general case.
Revision 2986924 by Julian Eisel
November 5, 2021, 14:32 (GMT)
Cleanup: Remove misleading comment

Python isn't doing any conversion here. We just do a regular lookup of
the given enum identifier in the RNA enum definition.
November 5, 2021, 14:32 (GMT)
Fix GCC warnings after own recent commit

Caused by 4e09fd76bcab.
November 5, 2021, 14:18 (GMT)
Cleanup: Remove redundant scope qualifiers.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021