Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 415 / 5574

January 26, 2021, 04:18 (GMT)
Merge branch 'blender-v2.92-release'
January 26, 2021, 04:16 (GMT)
WM: return success from WM_recover_last_session, minor cleanup

- Return success from WM_recover_last_session
- Avoid setting global variables is already called in WM_file_read.
While it didn't cause any problems, these assignments ran even when
recovering the session failed to load the file.
- Return OPERATOR_CANCELLED when the operator fails.

Returning success is needed to fix T85011.
January 26, 2021, 03:37 (GMT)
Fix typos in driver_functions.py

I'm learning how driver functions work, and I found a couple of typos in the driver_functions.py template file. Here's a quick patch to fix them up.

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D10149
January 26, 2021, 03:37 (GMT)
TEXTURE PAINT: Tools with wrong cursor

Texture paint tools were using DEFAULT cursor instead of PAINT_CROSS cursor as vertex paint, weight paint and sculpt modes.

Before
{F9591366}

After
{F9591370}

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D10172
Revision d7a2e0b by Hans Goudey
January 26, 2021, 03:11 (GMT)
Cleanup: Use const arguments
January 26, 2021, 03:01 (GMT)
TEXTURE PAINT: Tools with wrong cursor

Texture paint tools were using DEFAULT cursor instead of PAINT_CROSS cursor as vertex paint, weight paint and sculpt modes.

Before
{F9591366}

After
{F9591370}

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D10172
January 26, 2021, 02:59 (GMT)
Fix typos in driver_functions.py

I'm learning how driver functions work, and I found a couple of typos in the driver_functions.py template file. Here's a quick patch to fix them up.

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D10149
Revision ae1e68f by Hans Goudey
January 25, 2021, 23:22 (GMT)
Cleanup: Declare variables where initialized
Revision 70e064f by Hans Goudey
January 25, 2021, 22:28 (GMT)
Cleanup: Correct comments in ID type enum
January 25, 2021, 22:23 (GMT)
Cleanup: update comment from 77f73a92843965906189dd56dcc4d18eae2371cc
January 25, 2021, 22:18 (GMT)
Fix T85054: undo/redo app handlers broken

Regression in recent commit c13383da416c9c99d03058caaf66c736af0272cb
which swapped undo/redo when calling the handlers.

Ref D10200
Revision eaa7265 by Julian Eisel
January 25, 2021, 22:12 (GMT)
Merge branch 'blender-v2.92-release'
Revision 77f73a9 by Julian Eisel
January 25, 2021, 22:10 (GMT)
Fix library name clipping most of the data-block name in data-block menus

Issue is visible here https://developer.blender.org/F8626313.

If there is enough space for both the item name and the library hint, display
both. Otherwise, clip either the item name, the library hint, or both so that
not more than 60% and 40% of the available width are used repectively.
There are further improvements we could do, as noted in T84188, this just fixes
the regression for the release.

Part of T84188. There were multiple reports about this, see merged in and
mentioned reports in T84188 and T78012.
January 25, 2021, 21:16 (GMT)
Merge branch 'blender-v2.92-release'
January 25, 2021, 21:13 (GMT)
Fix wm.context_* operators reusing values when it's not expected

wm.context_* operators typically have their options set by menus
or key bindings.

Re-using options in this case can cause problems where two
actions that change unrelated properties will re-use a setting
from the previous execution.

For example changing the lights Power impacted
changing it's Radius afterwards.
January 25, 2021, 20:50 (GMT)
Cleanup: spelling
January 25, 2021, 20:11 (GMT)
Merge branch 'blender-v2.92-release'
January 25, 2021, 20:09 (GMT)
Fix T84031 initialize connectivity info of the base mesh before using Displacement Smear brush.

Reviewed By: pablodp606

Maniphest Tasks: T84031

Differential Revision: https://developer.blender.org/D9956
Revision 93e3aed by Hans Goudey
January 25, 2021, 17:48 (GMT)
Merge branch 'blender-v2.92-release'
Revision aa030d3 by Hans Goudey
January 25, 2021, 17:46 (GMT)
Fix: Unable to animate nodes modifier exposed properties

The RNA path used for animating the settings passed to the node tree
is incorrect. Currently it's just `settings.property_name`, but it's
the path from the ID, not the modifier, so it should be
`modifiers[modifier_name].settings.property_name`.

However, the "Settings" struct is separated in RNA and DNA, which means
that the callback to get the RNA path does not know about the modifier's
name in order to fill the above path, so some reference to the modifier
in the "Settings" struct would be necessary, which would create a
convoluted layout in the `ModifierData` struct.

Instead, this commit simply removes the "Settings" struct from RNA,
which isn't as elegant from the point of view of the Python API,
but otherwise it's a nice simplification. Note that we don't remove the
"Settings" struct from DNA, because it would break reading old files.

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