Blender Git Loki

Kaikki Blender Git kommitit.

Page: 179 / 8462

October 7, 2021, 03:59 (GMT)
Fix unitialized layer flag.
October 7, 2021, 03:47 (GMT)
Alembic: use GeometrySets in the modifier

This uses GeometrySets to import data from Alembic cache. The main idea
is to easily extend the modifier's capabilities by directly generating
an object of the right type instead of always outputing a Mesh.

This will also make it much easier to use Alembic objects from Geometry
nodes until a Alembic node is available there, and can be considered a
first step to supporting such a node.

For meshes, nothing really changes.

For points, a PointCloud object is generated, which can also be used
inside of Geometry nodes. The radius information is also read now, as
well as arbitrary attributes.

For curves, the CurveEval is directly modified if the data did not
change. Otherwise, we keep the current behavior of modifying the
original Curve object and create a new CurveEval from it.
October 7, 2021, 01:33 (GMT)
Merge branch 'master' into sculpt-dev
October 7, 2021, 01:29 (GMT)
Alembic: generic attribute import

This adds support for reading arbitrary attributes from Alembic
archives.

This is for now only supported for meshes and point clouds (as it reuses
the CDStreamConfig from the Mesh), although it is being made generic
with the usage of an ID and Blender's attribute API. Attributes are
added either on points, face corners, or faces depending on their
original scope.

In order to choose which attributes to load, parameters are added to let
users input the names of the attributes. The names have to be comma
separated, and are segregated by domain (point, face, face corners). A
wildcard (*) can be used to load every attribute of the domain.

Since some software export vector or color attributes as a flat array of
floats, a mechanism to remap attributes is added and accessible through
the user interface. Remapping is only available for float and double
types. The arrays can be remapped to UV maps, vertex colors, float2,
float3, color types, and vertex groups.

Supported attribute types are bool, int, float, 2D & 3D vectors, uvs,
and colors, as well as double precision versions of those.
October 7, 2021, 01:26 (GMT)
Sculpt: Add plane mode for draw sharp brush
October 7, 2021, 01:04 (GMT)
Cleanup: Move VSE disk cache code into own file

No functional changes.
October 6, 2021, 22:38 (GMT)
Cleanup: VSE iterator semantics

Use `BLI_gset_ensure_p_ex()` instead of `BLI_gset_insert()` after
checking `BLI_gset_lookup()`.
October 6, 2021, 22:10 (GMT)
Fix T91972: Meta changes length when adding strip

`SequencesMeta.new_movie()` API function caused meta strip to change
length. Similar issue has been fixed in transform code by checking
if `MetaStack` exists. `MetaStack` is not used when changing data in
python.

Provide `seqbase` to `SEQ_time_update_sequence()` so the function can
check if change happens inside of meta strip.

This patch also merges `seq_time_update_sequence_bounds()` into
`SEQ_time_update_sequence()`. This is because same issue applies for
both functions and it is confusing to have more time update
functions.re if this will lead anywhere.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D12763
October 6, 2021, 22:04 (GMT)
Fix VSE pan property text printing

Move text into separate label.
October 6, 2021, 20:35 (GMT)
Sculpt: fix nasty radius symmetry bug

* Brush radius wasn't being calculated correctly if symmetry was on.
* Unnessed SCULPT_run_commandlist, it now calls
do_symmetrical_brush_actions instead of the reverse.
* Renamed MDynTopoVert to MSculptVert. Old name didn't
make sense given that all three PBVH types now use it.
Mercifully it's never saved in files, and even if it
somehow was saved the CD file loading code checks for
that.
October 6, 2021, 18:09 (GMT)
Many fixes and code cleanups
October 6, 2021, 16:24 (GMT)
Small tweaks to panels

October 6, 2021, 15:52 (GMT)
Cycles: fully decouple triangle and curve primitive storage from BVH2

Previously the storage here was optimized to avoid indirections in BVH2
traversal. This helps improve performance a bit, but makes performance
and memory usage of Embree and OptiX BVHs a bit worse also. It also adds
code complexity in other parts of the code.

Now decouple triangle and curve primitive storage from BVH2.
* Reduced peak memory usage on all devices
* Bit better performance for OptiX and Embree
* Bit worse performance for CUDA
* Simplified code:
** Intersection.prim/object now matches ShaderData.prim/object
** No more offset manipulation for mesh displacement before a BVH is built
** Remove primitive packing code and flags for Embree and OptiX
** Curve segments are now stored in a KernelCurve struct
* Also happens to fix a bug in baking with incorrect prim/object

Fixes T91968, T91770, T91902

Differential Revision: https://developer.blender.org/D12766
October 6, 2021, 15:44 (GMT)
Build: search for hipcc in HIP_ROOT_DIR/bin
October 6, 2021, 15:39 (GMT)
Hide unsupported features

October 6, 2021, 15:17 (GMT)
Move GPStyle pass_index to Material

This was duplicated
October 6, 2021, 15:07 (GMT)
Changes in Material panels

October 6, 2021, 14:55 (GMT)
Fix logic error when trying to find hovered item

Was just comparing this item's and the parent item's names. But if an item has
no parents, only its own name has to match for the check to return true. Make
sure that the number of parents also matches.
October 6, 2021, 14:53 (GMT)
BMain: Add utils to check if a Main is empty or not.

Mostly intended for debug code (asserts).
October 6, 2021, 14:53 (GMT)
Fix T91987: Linking overrides does not apply overrides rules.

Just a matter of calling `BKE_lib_override_library_main_update` in
`library_link_end`.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021