~ultimaker/uranium/+git/Uranium:premultiplied_alpha_blending

Last commit made on 2021-03-23
Get this branch:
git clone -b premultiplied_alpha_blending https://git.launchpad.net/~ultimaker/uranium/+git/Uranium

Branch merges

Branch information

Name:
premultiplied_alpha_blending
Repository:
lp:~ultimaker/uranium/+git/Uranium

Recent commits

1fccc5d... by Ruben D

Implement pre-multiplied alpha for other translucent shading as well

This needs to be implemented the same way in order to get correct translucency, now.

228052c... by Ruben D

Use additive blending to properly draw an alpha channel with premultiplied alpha

This changes the blend function to account for a pre-multiplied alpha channel into the colour. The effect is that the rendered image becomes darker, but the blend function renders the colour channels additively which then compensates for that.
See https://apoorvaj.io/alpha-compositing-opengl-blending-and-premultiplied-alpha/ for a theory behind this technique. It is a performant way of rendering a lot of translucent layers, but not entirely accurate where multiple layers with different translucency overlap.

b22ffc8... by Ruben D

Fix crash when multiple threads remove child node simultaneously

Fixes Sentry issue CURA-1YC.

6032070... by Ruben D

Don't crash when package management file doesn't exist

Instead, just assume there are no new packages to install.

Fixes Sentry issue CURA-1Y3.

2eb7cdf... by Ruben D

Fix crash when loading corrupt .mo files

The Python documentation says it only raises OSErrors, but in practice we've seen that it can also raise this struct.error because it's unpacking a struct internally and not catching that error properly.

Fixes Sentry issue CURA-1W8.

8d8454a... by Ruben D

Expand catching errors opening preferences file

Catching EnvironmentError not only catches the file not existing, but also stuff like PermissionError, bad sectors, OSError, etc.

Fixes Sentry issue CURA-1W5.

6effda7... by Kostas Karmas <email address hidden>

Change the OS save file window title to "Save to Disk"

We changed the button labels but we forgot to change the window title.

CURA-8050

ab543d5... by Kostas Karmas <email address hidden>

Change the button name from Save to File to Save to Disk

CURA-8050

5dee2f5... by Remco Burema <email address hidden>

Merge pull request #676 from Ultimaker/CURA-8050_Ensure_that_disabled_project_output_devices_are_removed_from_the_OutputDevicesActionButton

CURA-8050: Remove project output devices from the list when they get disabled

10e7e15... by Kostas Karmas <email address hidden>

Update documentation of the WorkspaceMetadataStorage

CURA-7903