Blender Git Commit Log

All Blender Git commits.

December 31, 2021, 22:51 (GMT)
Fix: Incorrect loop edge index

Also some cleanup
December 31, 2021, 20:32 (GMT)
Nodes: Add Compare node operations to link drag search menu

Exposes compare operations via rna emums.
This uses the rna enum to build the search list using
named operations linked to socket A.
This also weights the Math Node comparison operations lower
for geometry node trees.

Differential Revision: https://developer.blender.org/D13695
December 31, 2021, 18:07 (GMT)
Fix face orientation in face mode
December 31, 2021, 16:50 (GMT)
Merge branch 'master' into temp-geometry-nodes-extrude-mesh
December 31, 2021, 16:48 (GMT)
Cleanup: Use IndexRange [] operator
Revision e79b452 by YimingWu (master)
December 31, 2021, 13:54 (GMT)
LineArt: Correct collection intersection mask logic.

The logic used to be:

"if collection doesn't have child collection, check if ob is from this one"

The correct logic should be:

"if collection child does not have this ob, then check this collection".
Revision 59dd49d by YimingWu (temp-lineart-contained)
December 31, 2021, 13:37 (GMT)
LineArt: Correct collection intersection mask logic.

The logic used to be:

"if collection doesn't have child collection, check if ob is from this one"

The correct logic should be:

"if collection child does not have this ob, then check this collection".
Revision ee6e446 by YimingWu (temp-lineart-contained)
December 31, 2021, 13:27 (GMT)
Merge branch 'master' into temp-lineart-contained
Revision 97ae08c by YimingWu (master)
December 31, 2021, 13:26 (GMT)
LineArt: Correct clamping of out of bound isect index

Handles rare cases where line doesn't intersect the triangle correctly.
December 31, 2021, 13:24 (GMT)
Fix T94464: video texture is not refreshing

In the past that worked because the `GPUMaterial` referenced the
`ImageUser` from the image node. However, that design was incompatible
with the recent node tree update refactor (rB7e712b2d6a0d257d272e).
Also, in general it is a bad idea to have references between data that is
owned by two different data blocks.

This incompatibility was resolved by copying the image user from the node
to the `GPUMaterial` (rB28df0107d4a8). Unfortunately, eevee depended
on this reference, because the image user on the node was update when the
frame changed. Because the image user was copied, the image user in the
`GPUMaterial` did not receive the frame update anymore.

This frame update is added back by this commit. The main change is that
the image user iterator now also iterates over image users in `GPUMaterial`s
on material and world data blocks. An issue is that these materials don't
exist on the original data blocks and that caused the check in
`build_animation_images` in the depsgraph to give the wrong answer.
Therefore the check is extended.

Right now the check is not optimal, because it results in more depsgraph
nodes than are necessary. This can be improved when it becomes cheaper
to check if a node tree contains any references to a video texture.
The node tree update refactor mentioned before makes it much easier
to construct this kind of run-time data from the bottom up, instead of
scanning the entire node tree recursively every time some information
is needed.
December 31, 2021, 13:05 (GMT)
Cleanup: Silence warning for wrong const char comparison

Incorrectly used comparison for empty string.

Reported in chat by @jacqueslucke.
December 31, 2021, 10:33 (GMT)
Fix T94416: incorrect handling when nodes are linked in a loop

This just skips the entire algorithm when there are cycles.
In the future, cycles could be handled more gracefully in the
algorithm, but for now that's not worth it and is not necessary
to fix the bug.
December 31, 2021, 02:34 (GMT)
Nodes: Weight drag link search for Math nodes

As @hooglyboogly suggested in D13680, this patch adds weighting
to the search results. Dragging from a vector/rgba socket weights
the Vector Math node higher than a float Math node, and vice versa.

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D13691
December 31, 2021, 01:15 (GMT)
Fix (unreported): remove menu separators from drag link search

Search was picking up the menu separator entries.
Add check for these which are defined by empty identifier strings.
December 30, 2021, 23:57 (GMT)
Cleanup: Variable naming
December 30, 2021, 23:40 (GMT)
Cleanup: Simplify face mode based on edge mode cleanup
December 30, 2021, 23:37 (GMT)
Cleanup: Use more consistent naming, further simplifications
December 30, 2021, 23:21 (GMT)
Cleanup: Simplify face corner calculations
December 30, 2021, 23:06 (GMT)
Cleanup, use IndexRange, slice, add comments
December 30, 2021, 22:57 (GMT)
Fix build error
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021