Blender Git Commits

Blender Git "master" branch commits.

Page: 1023 / 5574

October 3, 2019, 20:10 (GMT)
Text: add Text.cursor_set(...)

Place the cursor, optionally set selection.
October 3, 2019, 20:00 (GMT)
Text: add Text.select_set(...)

Support setting the selection for a text buffer
with support for negative indices, select_set(1, 1, -1, -1)
selects the entire buffer.
October 3, 2019, 20:00 (GMT)
CMake: quiet warning in quad reflow
October 3, 2019, 17:34 (GMT)
Fix: Unit tests on windows.

Problem was twofold

1) `GENERATOR_IS_MULTI_CONFIG` is a property not a variable so
the test for it would always be false, unless you set a custom
CMAKE_INSTALL_PREFIX (like the buildbot does) the unit tests
would have a wrong working directory and complain about missing
dlls or blender executable

2) Tests added outside of `/test` (like libmv) would have no working
folder set since the variable would not be visible for them.

consulted @sergey who voiced the opinion that duplicating the code
to the test macro was slightly less evil than moving it to the main
CMakeLists.txt
October 3, 2019, 17:03 (GMT)
Fix T70484: GPencil particles crash when original stroke is hidden

Due the internal design of the drawing engine and the special requirements for 2D inside 3D, it's required to keep the original stroke visible in order to display the particles. If the original stroke is hidden, the particles are hidden too.

This commit only fix the segmentation fault. Make visible the particles when the original is hidden would require a complete redesign and maybe would break some 2D features.
Revision edffb0e by Julian Eisel
October 3, 2019, 15:50 (GMT)
UI: Register File Browser as Child/Dialog-Window for the OS

For many users, this will make the File Browser window behave more like
what they would expect. It addresses the issue of the File Browser
becoming hidden behind the main window by clicking anywhere in the
latter. It communicates the interruptive, but temporary nature of the
operation a bit better.
Further, on tiling window managers the File Browser now opens as
floating by default, like in other applications.

Note that this also makes sure the File Browser is always opened as
separate window, so it doesn't re-use the Preferences, or any other
temporary window anymore. This seems to have been a common annoyance.

More concretely, this makes the File Browser window behave as follows:
* Stays on top of its parent Blender window, but not on top of
non-Blender windows.
* Minimizes with its parent window
* Can be moved independently
* Doesn't add an own item in task bars
* Doesn't block other Blender windows (we may want to have this though)
* Opens as floating window for tiling window managers (e.g. i3wm/Sway)

Further notes:
* When opening a file browser from the Preference window (or any
temporary window), the main window, as the file browsers parent is
moved on top of the Preferences, which makes it seem like the
Preferences were closed. This is the general issue of bad secondary
window handling as window activation changes. I made it so that the
window is moved back once the file browser is closed.
This behavior is confusing and would be nice to avoid. It's a separate
issue though.
* On most window managers on Linux the temporary window can not be
minimized and maximized, they disable that for dialog windows.
* On Windows and macOS, only minimizing is disabled, as there is no
decent way yet to restore a window if it's not shown in the taskbar.

Reviewed By: Brecht van Lommel, Campbell Barton, William Reynish
Edits and macOS implementation by Brecht.

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

Part of T69652.
October 3, 2019, 15:14 (GMT)
Mesh: simple extract mask optimizations

- Avoid per-vertex custom-data lookup
- Break once a face has a mask vertex.
October 3, 2019, 15:14 (GMT)
Fix extract mask freed memory use & leak
October 3, 2019, 14:57 (GMT)
Fix sculpt normal update in SculptDraw brush

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5981
Revision 8c991bf by Hans Goudey
October 3, 2019, 14:29 (GMT)
UI: Add Buttons to Shader Editor Slots Popover

Assign, select, deselect buttons added when in edit mode to complete the functionality
of the shader editor vs. the properties panel.

Reviewed by: brecht

Differential Revision: https://developer.blender.org/D5768
October 3, 2019, 13:36 (GMT)
Fix T70125: crash on startup in Linux with some tablet types connected
October 3, 2019, 13:34 (GMT)
Fix T70299: Grab brush not working as expected when Ctrl is press

Reviewed By: brecht

Maniphest Tasks: T70299

Differential Revision: https://developer.blender.org/D5920
October 3, 2019, 13:31 (GMT)
Fix T66312: Undo does not restore normals correctly in sculpt mode

Reviewed By: brecht

Maniphest Tasks: T66312

Differential Revision: https://developer.blender.org/D5895
October 3, 2019, 13:28 (GMT)
Sculpt: Disable remesh operators with Multires

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5964
October 3, 2019, 13:26 (GMT)
Fix T69227: Ignore inbetween mouse events in Snake Hook

Reviewed By: brecht

Maniphest Tasks: T69227

Differential Revision: https://developer.blender.org/D5977
October 3, 2019, 13:25 (GMT)
Fix T70102: Mask Extract bad solution

Reviewed By: brecht

Maniphest Tasks: T70102

Differential Revision: https://developer.blender.org/D5978
October 3, 2019, 12:20 (GMT)
Fix T70466 Rendering error when drawing multi-material meshes
October 3, 2019, 10:36 (GMT)
Subdiv CCG: Cleanup, remove unused data from adjacency storage

Makes it easier to initialze adjacency, avoid extra re-allocations during
initialization, reduces memory footprint.
October 3, 2019, 10:36 (GMT)
OpenSubdiv: Add accessor to vertex edges via refiner C-API
Revision f6a90f0 by Bastien Montagne
October 3, 2019, 09:11 (GMT)
i18n: Add Slovak language.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021