Blender Git Loki

Kaikki Blender Git kommitit.

Page: 849 / 8462

Revision 80f7f10 by Hans Goudey (master)
March 9, 2021, 18:39 (GMT)
Geometry Nodes: Add Attribute interpolation for polygon domains

This commit adds interpolation to and from attribute on the polygon
domain. Interpolation is done automatically when a node uses attributes
on two different domains. The following are the new interpolations and
corresponding simple test cases:
- **Point to Polygon**: Painting the shade smooth attribute in weight
paint mode
- **Polygon to Point**: Moving points along a normal based on the
material index
- **Polygon to Corner**: Scaling a UV map with the material index
before sampling a texture

{F9881516}

This is also necessary for an improved implementation of the `normal`
attribute.

Differential Revision: https://developer.blender.org/D10393
March 9, 2021, 18:35 (GMT)
fix crash using BVH2 to due stale data
March 9, 2021, 18:34 (GMT)
add array size to print_modified_sockets
Revision 9965868 by Hans Goudey (master)
March 9, 2021, 18:31 (GMT)
Cleanup: Do not pass stack allocated string to MEM_callocN
March 9, 2021, 18:28 (GMT)
Cycles: Remove unused sample argument

It is taken care of in the path tracer, which should be very well aware
of how many samples were rendered into the render buffer.
March 9, 2021, 17:59 (GMT)
USD Import: crash on reading no polys.

Fixed a crash where polys were not being read for new meshes when
the MOD_MESHSEQ_READ_POLY flag isn't set. Crash occurs because
downstream code expects polys to exist. Modified the logic to
always read verts and polys for new meshes, regardless of the
value of the read flag.
March 9, 2021, 17:58 (GMT)
Support passing ID type filter to the template

The ID type filter can be set as follows:
```
template_asset_view(..., filter_id_types={'filter_material', 'filter_object'})
```

I would have prefered if you could just create a
`bpy.types.AssetFilterSettings` object, fill that and pass it to the
template. But that doesn't seem possible right now without more complex
BPY additions.
Also, newer ID types (hair, point cloud, volume and simulation IDs) do
not support filtering, because their filtering flags exceed 32, meaning
we have to store them in 64 bit integers which RNA doesn't support for
enum properties...
March 9, 2021, 17:56 (GMT)
Fix crash in boundary brush after refactor

A missing continue in this loop.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D10610
March 9, 2021, 17:55 (GMT)
Sculpt: Init Face Sets by Face Sets boundaries

This adds an extra option to the Face Sets Init operator to initialize
individual Face Sets based on the current Face Sets boundaries.
In particular, this is useful for splitting the patterns created by
Expand into individual Face Sets for further editing.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D10608
March 9, 2021, 17:44 (GMT)
Merge branch 'master' into sculpt-dev
March 9, 2021, 16:42 (GMT)
Cleanup: Document `ensure()`-like behaviour of `KeyMaps.new()`

Document the fact that `bpy.types.KeyMaps.new()` will not create a new
keymap but instead return an existing one, if one with the given
name/space/region already exists.

No functional changes.
March 9, 2021, 16:42 (GMT)
Cleanup: add missing full stop to docstring of function

No functional changes.
March 9, 2021, 16:24 (GMT)
fix for missing transformation when scale is 0
March 9, 2021, 16:08 (GMT)
macOS/Ghost: Simplify pasteboard and screen count code

Reviewed By: #platform_macos, sebbas, ankitm
Differential Revision: https://developer.blender.org/D10616
March 9, 2021, 16:08 (GMT)
macOS/Ghost: Remove unnecessary nil checks.

Reviewed By: #platform_macos, sebbas, ankitm
Differential Revision: https://developer.blender.org/D10616
March 9, 2021, 16:08 (GMT)
macOS/Ghost: Replace NSAutoreleasePool with @autoreleasepool

- Automatic and guaranteed cleanup.
- Improves readability and reduces chances of errors by removing
`[pool drain]` statements.

Reviewed By: #platform_macos, sebbas, ankitm
Differential Revision: https://developer.blender.org/D10616
March 9, 2021, 16:00 (GMT)
Fix T86432: missing check if attribute is available

This failed when the component did exist, but did not contain any data.
March 9, 2021, 15:50 (GMT)
Cleanup: use raw strings.
March 9, 2021, 15:34 (GMT)
Cleanup: use nullptr in cpp.
March 9, 2021, 15:17 (GMT)
Cycles: Remove remaining parts of feature kernels
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021