Blender Git Commit Log

All Blender Git commits.

Page: 1093 / 8462

November 26, 2020, 17:20 (GMT)
Cleanup: correct comment
November 26, 2020, 17:12 (GMT)
Geometry Nodes: use attribute span api in attribute math node

For a simple add operation, this results in a 3-4x speedup.
November 26, 2020, 17:11 (GMT)
Geometry Nodes: support accessing attributes with spans

Before, attributes could only be accessed via setter and getter functions.
While this works well, it can be cumbersome and slow.
It would be better if most code could just operate on the underlying
attribute array directly. The issue is that some attributes are currently
not stored in plain arrays (e.g. vertex positions, vertex groups, ...).

This patch implements a solution where these "special" attributes are
converted into a temporary array for easy access and then copied
back into their correct form after all modifications are done.

Attribute accessors now have a `get_span` and `apply_span` method,
which can be used exactly for that purpose. In the case of attributes
that are plain arrays internally, only small constant overhead is added.
November 26, 2020, 17:03 (GMT)
Geometry Nodes: protect object from instancing itself directly

This is not a perfect check, because it does not check instances recursivly.
However, it helps protect us from the most common mistake.
November 26, 2020, 16:44 (GMT)
GPencil: Cleanup - Remove unused old shaders

These fill shaders were used with the old draw engine.
November 26, 2020, 16:42 (GMT)
Transform: Improve event detection for AutoConstrain

The event "value" is not really required since this operation works as a toogle.

This change cleans and simplifies the code.
November 26, 2020, 16:30 (GMT)
Cleanup unintentional change in rB8a2270efc52a

Note that the whole thing need to be redone/properly fixed, but this is
a bit more complicated so for now fix in rB8a2270efc52a is 'good
enough'.
November 26, 2020, 16:23 (GMT)
GPencil: More cleanup

November 26, 2020, 16:21 (GMT)
GPencil: Cleanup - rename function

November 26, 2020, 16:19 (GMT)
GPencil: Rename setters name

November 26, 2020, 16:18 (GMT)
Fix T83055: setting rna pointer properties can create bogus custom properties

This was reported in the form of the eyedropper of the 'Parent' property
creating a custom property 'parent' if self was picked.

Problem arises when certain checks for setting rna pointer properties
failed (for example: the PROP_ID_SELF_CHECK check) and then a different
code path was entered (which was only meant for IDProperties).

Problem was introduced in rBa7b3047cefcb.

To solve, now first enter the branch for rna-based pointer properties,
then perform the sanity-checks (and if these fail: dont enter the other
unrelated codepath but instead do nothing)

Maniphest Tasks: T83055

Differential Revision: https://developer.blender.org/D9652
November 26, 2020, 15:58 (GMT)
GPencil: Remove unused variable for paper sizes

November 26, 2020, 15:57 (GMT)
Fix T82729: Crash in rna_EffectorWeight_path when object has fluid and
dynamic paint modifiers

Looks like prior to the introduction of mantaflow, the former
SmokeModifierData always had a domain initialized (even if its type was
set to None). Since mataflow, the FluidModifierData type needs to be set
to MOD_FLUID_TYPE_DOMAIN (otherwise domain is invalid)

Maniphest Tasks: T82729

Differential Revision: https://developer.blender.org/D9644
November 26, 2020, 15:43 (GMT)
Fix T83046: Material change not updating in the link of an override.

Code was actually not applying any override operation over linked data.

Reasonn behind that was that if library file is saved with latest
override applied then this is not needed, since data saved for the
override in the lib file is already up to date.

But this is actually fully breaking in case someone update the lib file
of the lib file, without re-saving the libfile itself.

So now we alwaya apply overrides also on linked data.

Note that this will not fix the case where a resync is needed.
November 26, 2020, 15:39 (GMT)
GPencil: Move libharu to lib folder

The lib must be in lib subfolder not in libharu root folder
November 26, 2020, 15:34 (GMT)
Merge branch 'greasepencil-object' into greasepencil-io
November 26, 2020, 15:33 (GMT)
Merge branch 'master' into greasepencil-object
Revision 4705faf by Hans Goudey (master)
November 26, 2020, 15:29 (GMT)
UI: Fix incorrect offset for panel label when zooming in

The panel title text intersected any buttons in the header because
the label offset retrieved from the layout code was not scaled by
the block's zoom level. Error in rB0d93bd8d63980.
November 26, 2020, 14:42 (GMT)
Fix T83020: Transform: AutoConstraint being confirmed without releasing the MMB

The transform modifiers are confirmed by releasing any button.

Thus, the operation can be falsely confirmed if the button that launched
the operation is released after the modifier has been activated.

Previously the events that confirmed the modifiers were hardcoded.

An option to fix this would be to add custom confirmation keyitens for
specific modifiers. But this can be a bit confusing and would make the
modal keymap even bigger.

So the solution here is to skip the button that launched the operation
when confirming the modifier.
November 26, 2020, 14:33 (GMT)
Geometry Nodes: maintain some more data in the Join node

Material indices and smooth states are not destroyed anymore.
If the two incoming meshes use different materials, the materials of
the first input will be used. This is obviously not ideal, because the
second input might change its material.

In the future we want to handle that differently and keep both materials,
but for now this is consistent with the boolean node.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021