Blender Git Loki

Kaikki Blender Git kommitit.

Page: 988 / 8462

January 20, 2021, 05:03 (GMT)
CMake: update checking utility to ignore nanovdb files
January 20, 2021, 05:01 (GMT)
Cleanup: remove unused file SEQ_util.h

Committed by accident when SEQ_utils.h was also created.
January 20, 2021, 00:43 (GMT)
EEVEE: Depth Of Field: Add Bokeh shape texture precomputation

To support geometric bokeh shapes, we now use a texture to guide
the gathered samples and modify the scattered pixels shapes.

This is done by a very fast precomputation pass that outputs the
bokeh shape to a texture that is then sampled by the convolution
pass.
Revision 6290091 by Hans Goudey (master)
January 19, 2021, 22:43 (GMT)
Cleanup: Store runtime space node variables in a separate struct

This commit moves runtime-only variables from the `SpaceNode`
DNA struct to a private struct in `node_intern.h`. Before, it was hard
to tell which data needed to be saved in files, this should make it
more clear.

Node that the `edittree` field is basically a runtime variable, since
it's set from the `treepath` list on read, but moving it would require
some more invasive changes that I don't think are worth it right now.
Also, not all of the moved variables were explicitly cleared on read--
`aspect` is set at the start of a redraw, `cursor` is set in a region
callback, and `recalc` was used as an update flag.

Differential Revision: https://developer.blender.org/D10141
Revision da6dea5 by Hans Goudey (master)
January 19, 2021, 22:09 (GMT)
Cleanup: Use const arguments, explicit type
January 19, 2021, 21:56 (GMT)
Add more error messages
January 19, 2021, 20:58 (GMT)
Don't copy error map when copying node tree
January 19, 2021, 19:01 (GMT)
Fix node height not increasing
January 19, 2021, 18:49 (GMT)
GPencil: Code cleanup

January 19, 2021, 18:45 (GMT)
Use original node tree from depsgraph
January 19, 2021, 18:23 (GMT)
GPencil: Add invert axis to previous commit

January 19, 2021, 18:19 (GMT)
GPencil: First steps to prepare export in camera view

This is the initial work to keep camera size independent of viewport zoom level.
January 19, 2021, 18:02 (GMT)
Merge branch 'blender-v2.92-release'
January 19, 2021, 17:58 (GMT)
Refactor modifier copying code.

Things like pointers to particle systems, or softbody data being stored
outside of its modifier, make it impossible for internal modifier copy
data code to be self-contained currently. It requires extra processing.

In existing code this was handled in several different places, in
several ways, and alltogether fairly inconsistently. Some cases were
even not properly handled, causing e.g. crashes as in T82945.

This commit addresses those issues by:
* Adding comments about the hackish/unsafe parts `psys` implies when
copying some modifier data (since we need to ensure particle system
copying and remapping of those pointers separately).
* Adding as-best-as-possible handling of those cases to
`BKE_object_copy_modifier` (note that it remains fragile, but is
expected to behave 'good enough' in any practical usecase).
* Remove special handling for specific editor code
(`copy_or_reuse_particle_system`). This should never have been
accepted in ED code area, and is now handled by
`BKE_object_copy_modifier`.
* Factorize copying of the whole modifier stack into new
`BKE_object_modifier_stack_copy`, now used by both `object_copy_data`
and `BKE_object_link_modifiers`.

Note that this implies that `BKE_object_copy_modifier` and
`BKE_object_copy_gpencil_modifier` are now to be used exclusively to
copy single modifiers. Full modifier stack copy should always use
`BKE_object_modifier_stack_copy` instead.

Fix T82945: Crash when dragging modifiers in Outliner.

Maniphest Tasks: T82945

Differential Revision: https://developer.blender.org/D10148
January 19, 2021, 17:50 (GMT)
Refactor modifier copying code.

Things like pointers to particle systems, or softbody data being stored
outside of its modifier, make it impossible for internal modifier copy
data code to be self-contained currently. It requires extra processing.

In existing code this was handled in several different places, in
several ways, and alltogether fairly inconsistently. Some cases were
even not properly handled, causing e.g. crashes as in T82945.

This commit addresses those issues by:
* Adding comments about the hackish/unsafe parts `psys` implies when
copying some modifier data (since we need to ensure particle system
copying and remapping of those pointers separately).
* Adding as-best-as-possible handling of those cases to
`BKE_object_copy_modifier` (note that it remains fragile, but is
expected to behave 'good enough' in any practical usecase).
* Remove special handling for specific editor code
(`copy_or_reuse_particle_system`). This should never have been
accepted in ED code area, and is now handled by
`BKE_object_copy_modifier`.
* Factorize copying of the whole modifier stack into new
`BKE_object_modifier_stack_copy`, now used by both `object_copy_data`
and `BKE_object_link_modifiers`.

Note that this implies that `BKE_object_copy_modifier` and
`BKE_object_copy_gpencil_modifier` are now to be used exclusively to
copy single modifiers. Full modifier stack copy should always use
`BKE_object_modifier_stack_copy` instead.

Fix T82945: Crash when dragging modifiers in Outliner.

Maniphest Tasks: T82945

Differential Revision: https://developer.blender.org/D10148
January 19, 2021, 17:47 (GMT)
UI: Deselect other objects when dragging into 3D View

When dragging an object into the 3D View, e.g. from the Outliner or the Asset
Browser, other objects wouldn't get deselected. That differs from what other
drop operations do, which create a new object. They deselect other objects in a
lower-level function, which happens to not be called for just dropping objects.
So I guess this is an oversight.
Old behavior was also a bit annoying because users seem to expect this to
deselect.
January 19, 2021, 17:40 (GMT)
Merge branch 'blender-v2.92-release'
January 19, 2021, 17:31 (GMT)
Fix T84784: Time Remapping not displaying in the timeline

Caused by rBbbb2e0614fc3.

Oversight to not take the remapped framelength into account.

Maniphest Tasks: T84784

Differential Revision: https://developer.blender.org/D10134
January 19, 2021, 17:28 (GMT)
Merge branch 'blender-v2.92-release'
January 19, 2021, 17:23 (GMT)
Fix T84823: crash rendering with unconnected input socket in File Output node

Caused by rB957e292c5864.

Now just skip unconnected sockets.

Maniphest Tasks: T84823

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