Blender Git Loki

Kaikki Blender Git kommitit.

Page: 174 / 8462

October 9, 2021, 06:41 (GMT)
VSE: rename flag for Frame Overlay feature

Rename `SEQ_EDIT_OVERLAY_SHOW` to `SEQ_EDIT_USE_FRAME_OVERLAY` to avoid
confusion between `SEQ_SHOW_OVERLAY` of `SpaceSeq.flag`
Revision 6391949 by Hans Goudey (master)
October 9, 2021, 06:01 (GMT)
Cleanup: Change variable name, comment formatting
Revision 728e31e by Hans Goudey (master)
October 9, 2021, 05:55 (GMT)
Fix: Typo in UI error message
October 8, 2021, 23:22 (GMT)
Sculpt: don't set strength to inherit from
scene defaults by default.
October 8, 2021, 23:19 (GMT)
Sculpt: improve accuracy of tri in brush
test for dyntopo
Revision 886196b by Hans Goudey (master)
October 8, 2021, 20:02 (GMT)
Fix T92037: Custom property edit issues with integer soft range

- Fix a typo that used the max instead of the min for the soft max
- Assign the correct "last property type" when the operator starts
- Only check values for the soft range when use soft range is turned on
October 8, 2021, 18:09 (GMT)
Asset Browser: Context menu for catalogs

The context menu is a standard way to expose operations of the clicked
item to the user. They expect it to be there, and we can make use of it
as a place to put more advanced operations in.

The menu contains:
* New Catalog
* Delete Catalog
* Rename

Also removes the 'x' icon to delete a catalog from the right side of a
row. This was just placed there temporarily until the context menu is
there. It's too easy to accidentally delete catalogs with this.
October 8, 2021, 18:08 (GMT)
UI: Add context menu support for tree-view items

Tree-view items can now easily define their own context menu. This works
by overriding the `ui::AbstractTreeViewItem::build_context_menu()`
function. See the documentation:
https://wiki.blender.org/wiki/Source/Interface/Views#Context_Menus

Consistently with the Outliner and File Browser, the right-clicked item
also gets activated. This makes sure the correct context is set for the
operators and makes it clear to the user which item is operated on.

An operator to rename the active item is also added, which is something
you'd typically want to put in the context menu as well.
October 8, 2021, 17:48 (GMT)
Asset Browser: Avoid per-asset context menu on right click in sidebar

The right-click keymap item to display the context menu was added for
the entire area, not just the main region.
October 8, 2021, 16:03 (GMT)
Fix T90666: Toggling motion blur while persistent data is enabled results in artifacts

Enabling or disabling motion blur requires rebuilding the BVH of affected geometry and
uploading modified vertices to the device (since without motion blur the transform is
applied to the vertex positions, whereas with motion blur this is done during traversal).
Previously neither was happening when persistent data was enabled, since the relevant
node sockets were not tagged as modified after toggling motion blur.

The change to blender_object.cpp makes it so `geom->set_use_motion_blur()` is always
called (regardless of motion blur being toggled on or off), which will tag the geometry
as modified if that value changed and ensures the BVH is updated.
The change to hair.cpp/mesh.cpp was necessary since after motion blur is disabled,
the transform is applied to the vertex positions of a mesh, but those changes were not
uploaded to the device. This is fixed now that they are tagged as modified.

Maniphest Tasks: T90666

Differential Revision: https://developer.blender.org/D12781
October 8, 2021, 15:58 (GMT)
EEVEE: Subsurface Scattering: New implementation

This new implementation follows the technique described in
"Efficient screen space subsurface scattering Siggraph 2018".

Compared to the old implementation it fixes a lot of issues at
the cost of it being slower. This fixes:
- Light leaking between different objects.
- Light leaking between different surfaces with different depths.
- SSS radii are now "texturable" per pixel. No SSS surfaces limits.
- Noise should be lower.
- Precomputation is only done once for all SSS surfaces which lowers the
per material storage and precomputation time.

Implementation is also simpler as it is only a one pass processing.

We differ from the reference presentation by not precomputing the
RGB weights per samples. We actually compute them on the fly in order
to support varying SSS radii.

Notes:
- SSS IOR and SSS anisotropy are not supported.
- Object level light leak prevention might not work for high number of
objects in the scene (> 1024). In this case light leak might occur.
Adding or deleting (hidding) objects in the scene might change which
objects can leak.
October 8, 2021, 15:58 (GMT)
EEVEE: Material: Add thickness output

This only adds the output but the output is not yet used.

This thickness output is meant to control the aspect of subsurface,
refraction, absorption and volume shaders.

The value expected is the mean thickness inside the object at the
shading point. The source can be a vertex color or a texture map baked
from a raytracer.
October 8, 2021, 15:58 (GMT)
EEVEE: Transmittance: Add back light transmittance

Same as SSS this has been rewritten to support varying SSS radius.

Instead of relying on shadowmap hack to improve the transmittance
artifact (previously called translucency) we exposed a min thickness
output that will reduce the maximum of light bleeding that can happen
at the shading point. This is far from perfect but at least it is
tweakable.

The effect is now cheaper and the option to enable it is now gone.
It can always be artificially disabled by making the thickness bigger
than the sss radius.

The effect is always enabled for all SSS surfaces and will even be
applied on forward shaded object (alpha blend mode).
October 8, 2021, 15:58 (GMT)
EEVEE: Fix Crash with some geometry type
October 8, 2021, 15:58 (GMT)
EEVEE: Fix smooth transition when using render borders

The first sample buffer is fullscreen and needs to have its uvs
corrected to match the render border viewport.
October 8, 2021, 15:29 (GMT)
Implement `AssetCatalogCollection::deep_copy()`

Implement a deep copy function on `AssetCatalogCollection` that can be
used to create snapshots for storage in an undo stack.
October 8, 2021, 15:27 (GMT)
Merge branch 'master' into asset-greasepencil
October 8, 2021, 14:49 (GMT)
Fix T92046: Mesh to GPencil fails because materials are not created

This bug was introduced in D12190 because the list of types that support materials did not include GPencil and this caused all materials to be removed after they were created during conversion.
October 8, 2021, 14:31 (GMT)
UI: Support showing superimposed icons as disabled (with disabled hint)

If the operator poll of a superimposed icon returned `false`, the
superimposed icon would just draw normally and fail silently. Instead it
will now be drawn grayed out, plus the tooltip of the icon can show the
usual "disabled hint" (a hint explaining why the button is disabled).
October 8, 2021, 14:17 (GMT)
Fix crash in the node editor in cases where nodetree was empty

This seems to happen only in a few files, and not so trivial to
reproduce from scratch.

The crash is real though, and this fixes it.

It also fix a wrong comment style that was introduced in the same faulty
commit.

Bug introduced on ebe23745281e86.

Differential Revision: https://developer.blender.org/D12794
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021