Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 349 / 5574

March 15, 2021, 03:53 (GMT)
WM: fallback to regular writing if auto-save can't access undo data

While this is very unlikely, always write the autosave file,
even if the `memfile` undo data is unexpectedly NULL.

Also use CLG for logging warnings.
March 15, 2021, 03:48 (GMT)
Cleanup: update comments, remove ifdef'd code
March 15, 2021, 03:48 (GMT)
Cleanup: rename G_FILE_RECOVER -> G_FILE_RECOVER_READ

No functional changes, make room for a write equivalent.
March 15, 2021, 03:48 (GMT)
Writefile: only include recovery info in auto-save & quit.blend

Previously all blend files included the path they were saved,
causing files distributed publicly to include users local paths.
This also included developers home directories for startup & userprefs
defaults & app-templates bundled with Blender.

Now recovery information is only written for auto-save & quit.blend
since this is the only time they're intended to be used.
March 15, 2021, 03:48 (GMT)
Cleanup: replace 'timer_ended' with 'timer_end'

The previous naming made it seem as if the timer had already ended
where as this function ends the timers.
March 15, 2021, 03:48 (GMT)
Cleanup: remove unused auto-save read function

Also make wm_autosave_location a static function.
March 15, 2021, 03:48 (GMT)
Cleanup: refactor auto-save timer usage

- Split out auto-save file writing from timer code.
- Add wm_autosave_timer_begin so there are both begin & end functions.
- Replace WM_event_add_timer/WM_event_remove_timer with begin/end calls.
Revision c23da7a by Hans Goudey
March 15, 2021, 02:36 (GMT)
BLI: Add "is_zero" method to float2 and float3 types

This is not necessary, but a nice convenience to avoid using `is_zero_v3`.

Differential Revision: https://developer.blender.org/D10713
March 14, 2021, 22:11 (GMT)
Nodes: multi-input support for Attribute Remove node

This patch adds multi-input support to the Attribute Remove node.

Reviewed By: Hans Goudey

Differential Revision: https://developer.blender.org/D10698
March 14, 2021, 17:20 (GMT)
Fix T86427 Exact solver does not apply target material.

I had done some experiments to see what Fast boolean did for material
mapping and thought it just used the same slot in the target as the
slot in the source. The truth is more complicated: if the target material
exists in any slot of the destination, we need to remap to whatever
slot has the matching material. I fixed Exact Boolean to do this.
Since the materials may be in the object, this means that BKE_mesh_boolean
had to get another argument, the remapping arrays.

I will note that the current behavior of Fast, and now Exact, is not ideal.
Ideally, if the source material does not exist in the target, a new material
slot should be created in the target and the source material copied there
(and incrementing the material's reference count). Maybe a future project,
but for now, I want the behavior of Exact to match that of Fast.
March 14, 2021, 16:19 (GMT)
EEVEE: Specular Occlusion: Avoid overdarkening on smooth surfaces

Accumulate error caused by the low amount of integration slices and
correct it for the low roughness surfaces.

This increases light leak but it is less distracting than dark fringe
everywhere.
Revision 448cb5d by Ankit Meel
March 14, 2021, 12:41 (GMT)
CMake/guardedalloc: add header file to TEST_SRC
March 14, 2021, 12:31 (GMT)
Tests: add script_validate_keymap

This checks the generated key-map data matches the result of
re-exporting and re-importing.

This shows up various inconsistencies, including:

- Unused keymaps.
- Unknown/unused data in the keymap.
- Event arguments that don't make sense.
- Event values that don't match the event type
(tweak direction on keyboard event for example).
March 14, 2021, 07:08 (GMT)
Cleanup: remove unused "Gizmo" & "Header" keymaps
March 14, 2021, 07:08 (GMT)
Cleanup: remove invalid repeat argument
March 14, 2021, 07:08 (GMT)
Cleanup: remove redundant keymap arguments

Also add missing space-type argument, while not required
this is used by convention elsewhere in the key-map.
March 14, 2021, 07:08 (GMT)
Cleanup: avoid risky list as default argument in keymap
March 14, 2021, 07:08 (GMT)
Cleanup: unused argument warnings
Revision 2919c4b by Campbell Barton
March 14, 2021, 07:08 (GMT)
Cleanup: use explicit check for WM_KEYMAP_UPDATE_RECONFIGURE

A block of code ran when `wm_keymap_update_flag` was non-zero,
replace this with explicit flag check since it wasn't
immediately obvious which flag needed to be set.
March 14, 2021, 07:00 (GMT)
WM: support loading keymaps in background mode

While this still isn't done by default on startup,
activating a key-config will load it as expected.

Needed to perform key-map loading tests in background mode.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021