Blender Git Commit Log

All Blender Git commits.

Page: 880 / 8462

March 1, 2021, 07:46 (GMT)
Fix T85886: Rotate Tool and Adjust Last Operation - angles inverted

The constraint was not set when redoing.

This commit also removes `postInputRotation`. I really couldn't see a use for it.
March 1, 2021, 06:12 (GMT)
Fix T86116: Failure to detect click events with modifier held

Click detection logic relied on the event queue not accumulating events
as newly added events at the end of the queue adjusted
`wm->eventstate->prev{val/type}` which was then compared with events
at the front of the queue.

This made Ctrl-Click fail to detect the click as releasing Ctrl
set the previous value before the previous event was handled.

In practice this only happened in heavy scenes,
updating 10 fps or lower. It also made automated tests fail that
accumulate events before handling them.
March 1, 2021, 05:54 (GMT)
WM: set previous values for events in the event queue

This makes event's prevval and prevtype usable for events in the queue.

Previously they were unused, except as a hack for modal keymap handling.

This is needed to fix T86116, where the `wm->eventstate->prev{val/type}`
are set to values from events that have not been processed.
March 1, 2021, 05:54 (GMT)
WM: prevent model keymap handling overwriting previous event values

`wmEvent.prevtype` & `wmEvent.prevval` were overwritten
when used in modal keymaps.

Now they are restored to their original values.
March 1, 2021, 05:54 (GMT)
Cleanup: move logic to copy the previous event state to a function
March 1, 2021, 01:21 (GMT)
Cleanup: minor change to click detection checks

Change order of checks for more convenient click-detection debugging.
March 1, 2021, 01:05 (GMT)
Merge from master
March 1, 2021, 01:00 (GMT)
WM: don't set event prevval/prevtype on cursor motion

Currently the intended behavior regarding prevval/prevtype isn't
handled consistently. However, including cursor motion causes events
in `wm->queue` and `wm->eventstate` to behave differently,
where `wm->eventstate` ignores motion (necessary for click detection).

This makes checks from `wm->eventstate` to events in the queue fail.

This reverts 39919e35326c732141bfd2d740b19000b6bc1d51,
using the `event.type` instead of it's previous type.
This works as it includes mouse button release events.
March 1, 2021, 00:00 (GMT)
Cleanup: spelling
February 28, 2021, 16:33 (GMT)
Fix T86082 Bevel messed up UVs on some multisegment bevels.

When polygons around a bevel are rebuilt, sometimes UVs are merged
around a new vertex in the case of the face opposite a single edge
being beveled on a 3-edge vertex. This should not have been done
if any of the edges at that vertex were a seam.
February 28, 2021, 16:31 (GMT)
Merge branch 'compositor-anti-aliasing' of git.blender.org:blender into compositor-anti-aliasing
February 28, 2021, 15:34 (GMT)
Revert "Improve Purge operator." and Refactor: IDTypeInfo: Add `owner_get` to get owner of embedded IDs.

This reverts commit 2718ea80d26274464051c50bb12fb82c4a6571ea.
February 28, 2021, 12:59 (GMT)
Merge branch 'master' into temp_bmesh_multires
February 28, 2021, 12:23 (GMT)
commit prior to merge
February 28, 2021, 12:11 (GMT)
GPencil: Test Dopesheet bar shorter

This is to test a new UI design for bar between keyframes
February 28, 2021, 11:46 (GMT)
Merge branch 'master' into greasepencil-object
February 28, 2021, 11:21 (GMT)
Compositor anti-aliasing: map values between 0 and 1

expose values in ranges between 0 and 1 to user
February 28, 2021, 11:21 (GMT)
Compositor: Add Anti-Aliasing node

This is an implementation of Enhanced Subpixel Morphological Antialiasing (SMAA)

The algorithm was proposed by:

Jorge Jimenez, Jose I. Echevarria, Tiago Sousa, Diego Gutierrez
Homepage URL:

http://www.iryoku.com/smaa/
This node provides only SMAA 1x mode, so the operation will be done with no spatial multisampling nor temporal supersampling.

Here is a comparison between existing antialiasing (Scale3x, imported from GIMP) and the Anti-Aliasing Node (SMAA 1x):

SMAA 1x produces much higher quality results than Scale3x.
The existing AA operation seems to be used only for binary images by some other nodes. Using SMAA for binary images needs no important parameter such as "threshold", so we perhaps can switch the operation to SMAA, though that changes existing behavior.

Currently, the node has 3 options:

threshold
local contrast adaptation factor
corner rounding
Please refer to devtalk thread for discussion about interface: https://devtalk.blender.org/t/compositor-anti-aliasing-node-d2411/17570

Example: Using Anti-Aliasing Node as an alternative of OLM smoother that is widely used in Japanese animation studios:

Notes:

The program code assumes the screen coordinates are DirectX style that the vertical direction is upside-down, so "top" and "bottom" actually represent bottom and top, respectively
smaa_areatex.cpp is a stand-alone software I [Shinsuke Irie] wrote for another project, so its copyright is still owned by me and under MIT-style license, see https://github.com/iRi-E/smaa-cpp
Unfortunately, this patch doesn't include OpenCL support (I'm not familiar with it...), though SMAA is not so slow
Tested on macOS 11.2.1
February 27, 2021, 23:51 (GMT)
Fix T85948 Exact boolean crash with some nonplanar ngons.

Triangulating ngons could fail with the method that was being
used: projecting along the dominant normal axis and then using CDT.
It could fail if the ngon has self crossings or might be so after
the described projection.
Switched to using projection along the normal itself, and also to
using polyfill which produces some kind of triangulation no matter
what in such circumstances. This will also likely be faster if
there are a lot of ngons in the meshes, since the exact arithmetic
CDT was being used before, and now float arithmetic is used.
February 27, 2021, 20:22 (GMT)
Fix T85886: Rotate Tool and Adjust Last Operation - angles inverted

The constraint was not set when redoing.

This commit also removes `postInputRotation`. I really couldn't see a use for it.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021