Blender Git Loki

Blender Git "temp_test_sc_keymap" branch commits.

Page: 39 / 43

November 7, 2020, 10:53 (GMT)
Refactor: move Paint .blend I/O to blenkernel

Ref T76372.
November 7, 2020, 10:53 (GMT)
Cleanup: Clang-Tidy, readability-redundant-member-init
November 7, 2020, 10:53 (GMT)
Fix T82457: Python error when clicking on a tool in the viewport

Ths variable was initialized for false, while it was expected to be
true.
November 7, 2020, 10:53 (GMT)
Cleanup: Use nullptr everywhere in fluid code

Switched from NULL to nullptr.
November 7, 2020, 10:53 (GMT)
Fix T82407: Negative number input gives syntax error for velocities and
accelerations

Caused by rB45dbc38a8b15.

Above commit would place parentheses surrounding a block until the next
operator was found.
For velocities and accelerations though, the '/' in 'm/s' or 'ft/s'
should not be considered an operator.

Maniphest Tasks: T82407

Differential Revision: https://developer.blender.org/D9467
November 7, 2020, 10:53 (GMT)
Clang Tidy: Expand modernize category

Gives an idea of which warnings are affecting Blender code base.
November 7, 2020, 10:53 (GMT)
Fix Outliner editbone selection with 'Sync Selection'

When editbones were selected from the Outliner (and they were connected
to a parent) with the 'Sync Selection' option turned ON, they could not
get duplicated.

For duplication to work, the (connected) parent bone's tip also has to
be selected [which was not the case when selection is done from the
Outliner under above circumstances]. The reason being that
armature_duplicate_selected_exec ->
ED_armature_edit_sync_selection clears the BONE_ROOTSEL flag if the
parent bone's BONE_TIPSEL is not set.

Caused by rB71eb65328078 btw.

The correct "parent-tip-selection" would actually happen in activation
- `tree_element_active_ebone`
-- `tree_element_active_ebone__sel`
but for 'Sync Selection' this happens [also] in
- `outliner_sync_selection_from_outliner`
-- `outliner_select_sync_to_edit_bone`
which did not do the "flushing" to the parent bone's tip

Now use existing dedicated function for this.

ref. T82347

Reviewers: Zachman

Differential Revision: https://developer.blender.org/D9470
November 7, 2020, 10:53 (GMT)
Fix T82364: Widget anim state not updated when deleting channel in Graph Editor

So a keyframed e.g. location slider would stay yellow/green even if its
corresponding channel was removed.

Needs a appropriate notifier so the listeners (e.g.
buttons_area_listener, view3d_buttons_region_listener) would cause a
redraw.

Maniphest Tasks: T82364

Differential Revision: https://developer.blender.org/D9438
November 7, 2020, 10:53 (GMT)
Fix T82387: Crash loading file saved with recent master in old versions

This fix makes sure new files save `wmWindow.global_areas` under a different
name, so old Blender versions don't recognize and 0-initialize it.

Since enabling global area writing (ef4aa42ea4ff), loading a file in old
Blender versions would cause `wmWindow.global_areas` to be read, because there
was already reading code for it and `ScrAreaMap` was in SDNA.
However the `ScrArea.global` of the global areas would be NULL, because it was
*not* in SDNA (`ScrGlobalAreaData` was excluded).
Now, issue is that the code assumes that areas in the global area-map have a
valid ScrArea.global pointer.

Think this was a mistake in rB5f6c45498c92. We should have cleared all this data
on reading, until the global area writing was enabled.

Differential Revision: https://developer.blender.org/D9442

Reviewed by: Brecht Van Lommel
November 7, 2020, 10:53 (GMT)
Refactor: move wmWindowManager .blend I/O to IDTypeInfo callbacks
November 7, 2020, 10:53 (GMT)
Cleanup: use if/else check for property poll
November 7, 2020, 10:53 (GMT)
Cleanup: add missing doxygen group
November 7, 2020, 10:53 (GMT)
CMake: configue_file() to pass strings for build-info

Using configue_file(..) would have avoided the breakage from
1daa3c3f0a1cfd, caused by buildinfo not properly escaping quotes.

Rely on CMake to escaping strings instead using configure_file().
November 7, 2020, 10:53 (GMT)
Fix uninitialized value

Own mistake in rB74188e65028d268af887ab2140e4253087410c1e
November 7, 2020, 10:53 (GMT)
Fix compilation error in GHOST

ELEM macro isn't available in GHOST library.
November 7, 2020, 10:53 (GMT)
Cleanup: Clang-Tidy warnings
November 7, 2020, 10:53 (GMT)
Cleanup: use doxy sections for node_group.c
November 7, 2020, 10:53 (GMT)
Cleanup: Fix wrong doxygen groups

Was missed in rB9b6088cb9da4df1a893361997fc1a22986bf6f2e
November 7, 2020, 10:53 (GMT)
Cleanup: Fix the order of info_cfg_option.
November 7, 2020, 10:53 (GMT)
Cleanup: use STR_ELEM macro
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021