Blender Git Loki

Kaikki Blender Git kommitit.

Page: 228 / 8462

Revision 05ce527 by Hans Goudey (master)
September 21, 2021, 18:39 (GMT)
Geometry nodes: Output curve normals from the normal node

The code is basically the same as rB4d51af68adb273.
Revision 4d51af6 by Hans Goudey (master)
September 21, 2021, 18:11 (GMT)
Geometry Nodes: Curve tangent node

This node outputs the direction vector, or tangent of a curve at every
control point. For poly splines this is simply the evaluated tangents,
so it all works very simply. For Bezier splines it uses the tangent at
the evaluated point corresponding to each control point, and NURBS
are interpereted as poly splines built from their control points.

Internally the node is called "Input Tangent" to simplify using it for
mesh tangents as well in the future like the "Normal" node.

Differential Revision: https://developer.blender.org/D12581
September 21, 2021, 18:02 (GMT)
Cleanup: Clang-tidy warnings
September 21, 2021, 17:53 (GMT)
UI: Style drag-drop indicators as tooltips

Currently, the drop indicator colors are hardcoded to white text on semi-transparent black background.
This patch makes the drop indicator use the tooltip theme settings, as they serve a similar purpose.

{F10530482, size=full}

All built-in themes seem to work well and got improved readability.

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D12588
Revision b37d36a by Hans Goudey (master)
September 21, 2021, 17:42 (GMT)
Fix: Add versioning for geometry nodes attribute input toggle

rB8e21d528cab98 neglected to add versioning to add the new
"use_attribute" and "attribute_name" properties to the modifier input
list. Though they are added if the modifier's interface is updated, that
doesn't happen when the file is loaded, so patch adds them manually.
Another solution would be calling `MOD_nodes_update_interface`,
but that would require including the modifiers module.

Differential Revision: https://developer.blender.org/D12535
Revision 3642e17 by Hans Goudey (master)
September 21, 2021, 16:56 (GMT)
Cleanup: Move curve to mesh node implementation to blenkernel

I plan to use this for curve object data conversion to mesh in D12533,
and possibly for the implicit curve to mesh conversion in the curve
and text object modifier stack in the future.

Differential Revision: https://developer.blender.org/D12585
September 21, 2021, 16:33 (GMT)
Asset Catalogs: prevent writing of empty files
September 21, 2021, 16:33 (GMT)
Asset Catalogs: nicer temporary filename when writing
September 21, 2021, 16:33 (GMT)
Cleanup: mention `UUID_STRING_LEN` in comment

Mention that `UUID_STRING_LEN` exists in the documentation of
`BLI_uuid_format()`.

No functional changes.
September 21, 2021, 16:33 (GMT)
Cleanup: clarify `AssetCatalogService::write_to_disk()`

No functional changes.
Revision fde9c3b by Hans Goudey (master)
September 21, 2021, 16:20 (GMT)
Fix: Incorrect versioning for float IDProperty default array

The versioning has to have different behavior for when the old default
value had a float type rather than a double type. Also use memcpy
rather than dupalloc, since it's a bit clearer.
September 21, 2021, 15:55 (GMT)
Cleanup: else-after-return
September 21, 2021, 15:51 (GMT)
Functions: make asserts more correct

It is valid to e.g. copy construct an integer in the same place,
because it is a trivial type. It does not work for types like std::string.

This fixes a crash reported in D12584 where it would copy a buffer
into itself. We should probably also avoid doing this copy alltogether
but that can be done separately.
September 21, 2021, 15:50 (GMT)
Cleanup: mention `UUID_STRING_LEN` in comment

Mention that `UUID_STRING_LEN` exists in the documentation of
`BLI_uuid_format()`.

No functional changes.
September 21, 2021, 15:48 (GMT)
Asset Catalogs: defer writing of catalog definitions

Instead of writing the catalog definition file (CDF) immediately after
creating a new catalog, wait until the `write_to_disk(...)` function is
called.

As a result, it's now also possible to create an `AssetCatalogService`
without passing it an asset library root path (for example when creating
catalogs in a not-yet-saved blend file and without having an asset
library opened/configured/selected).
September 21, 2021, 15:29 (GMT)
Fix T91534: GPencil interpolate Sequence fails if stroke has 0 points

In some cases the stroke has 0 points and this must be skipped in the interpolation.
September 21, 2021, 15:03 (GMT)
Port UI code to use the new catalog UUIDs
Revision 2e6a735 by Henrik Dick (weasel) / YimingWu (master)
September 21, 2021, 15:03 (GMT)
GPencil: Curvature support for length modifier

Extend the stroke following an approximated circluar/helical curve.

This can be used as an effect for lineart or on its own as helix generator.

Reviewed By: Sebastian Parborg (zeddb), Hans Goudey (HooglyBoogly), YimingWu (NicksBest), Antonio Vazquez (antoniov), Henrik Dick (weasel)

Differential Revision: https://developer.blender.org/D11668

# ?????????????? '#' ????????????????
# ?????????
#
# ???? master
# ????????? 'origin/master' ???
#
# ???????
# ??? source/blender/blenkernel/BKE_gpencil_geom.h
# ??? source/blender/blenkernel/intern/gpencil_geom.cc
# ??? source/blender/gpencil_modifiers/intern/MOD_gpencillength.c
# ??? source/blender/makesdna/DNA_gpencil_modifier_defaults.h
# ??? source/blender/makesdna/DNA_gpencil_modifier_types.h
# ??? source/blender/makesrna/intern/rna_gpencil_modifier.c
#
September 21, 2021, 14:45 (GMT)
Merge branch 'temp-asset-browser-catalogs' into temp-asset-browser-catalogs-ui
September 21, 2021, 14:39 (GMT)
Fix T87801: Eevee ambient occlusion is incorrect on M1 macMini

The issue was caused by `textureSize()` returning the size of the level 0
even when the min texture level is higher than 0.

Using a uniform to pass the correct size fixes the issue.

This issue also affected the downsampling of radiance for reflections and
refractions.

This does not affect anything other than the recusive downsampling shaders.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021