Blender Git Commits

Blender Git "temp-lanpr-cleanup" branch commits.

Page: 10 / 14

October 18, 2019, 11:35 (GMT)
Fix T70662: Batch rename adds "" before "."
October 18, 2019, 11:35 (GMT)
Local Collections: Allow users to show hidden collections

Users now can turn on in a viewport collections that are temporarily
hidden (eye) in the view layer.

Design task: T61327

As for the implementation, I had to decouple the visibility in the
depsgraph from the visibility in the view layer.

Also there is a "bug" that in a way was there before which is some
operators (e.g., writing a text inside of a text object, tab into edit
mode) run regardless of the visibility of the active object. The bug was
present already (with object type visibility restriction) in 2.80 so if
we decide to tackle it, can be done separately (I have a patch for it
though P1132).

Reviewed by: brecht (thank you)

Differential Revision: D5992
October 18, 2019, 11:35 (GMT)
PyAPI: avoid normal calculation for tessellate_polygon

Use fixed normal for 2D input, no need to calculate it.
October 18, 2019, 11:35 (GMT)
Cleanup/fix for fix (c).

Sorry for the noise... For once building with everything hid the issue
instead of revealing it.
October 18, 2019, 11:35 (GMT)
Depsgraph: Don't force time update when legacy flag 0 is used
October 18, 2019, 11:35 (GMT)
Keymap: use right mouse for console context menu

Was using 'w' which doesn't work with text entry.
This matches the text editor.
October 18, 2019, 11:35 (GMT)
Depsgraph: Cleanup, de-duplicate time source tagging
October 18, 2019, 11:35 (GMT)
Fix T70522: Sidebars in Clip Editor work incorrectly in Dopesheet mode

Actually, in Dopesheet mode, the regions shouldn't be toggle-able at
all. For the user they should appear to not exist.
Previously the Movie Clip Editor archieved this by setting the region
alignments to NONE, which this restores.

Introduced in 6aef124e7d28.
October 18, 2019, 11:35 (GMT)
UI: support passing a function to WorkSpace.status_text_set()

This allows Python operators to draw icons and other UI elements
into the status bar.
October 8, 2019, 02:57 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lanpr-cleanup
September 27, 2019, 05:53 (GMT)
Cleanup: Fix merge problems.
September 27, 2019, 05:47 (GMT)
Merge remote-tracking branch 'origin/master' into temp-lanpr-cleanup
September 25, 2019, 01:48 (GMT)
UI: Replace big options button in file browser

The big options button in the lower left is now gone, it's replaced by a
smaller icon toggle button in the upper right.
That means I could also remove code for the region we had just for this
button.
I also added versioning code for the removal, to make sure the region is
removed cleanly when reading old files.
September 25, 2019, 01:48 (GMT)
Refactor: Ensure there's always a valid file editor tool region

So far the file browser code had some lazy creation for the tool region,
even though it should always be there. The only reason I can see for
this is compatiblity. So I simply added versioning code to add the
region in case it's not there. Now we should be able to savely assume
the tool region to be there, whithout any unusual lazy-creation.
September 25, 2019, 01:48 (GMT)
Remove redundant file bookmarks region toggle operator

For the default keymap we were only using the regular toolshelf
operator, doing this for the industry compatible keymap too now (we
could even remove it there, we don't use it in other editors).

Since we "now" have proper operators for toggling regions, this specific
one is totally redundant.
September 25, 2019, 01:48 (GMT)
Rewrite file region handling for non-editor mode

This makes it so that regions only needed when the file browser is
invoked as an operation (e.g. Ctrl+O rather than a regular editor) are
lazy created then, and removed if the file browser is changed into a
regular editor then (e.g. Ctrl+O over regular file browser editor ->
Cancel).

That should remove some troublesome assumptions and makes versioning
redundant.
It also fixes the issue of an empty execute region at the bottom after
cancelling a file operation invoked from a regular file browser editor.
September 25, 2019, 01:47 (GMT)
Cleanup: discarded-qualifier warning
September 25, 2019, 01:47 (GMT)
Cleanup: Add/use utility to remove regions
September 25, 2019, 01:47 (GMT)
Fix empty file options region in regular editor

This would happen when opening a file browser as regular editor, opening
a temporary file browser from there (e.g. Ctrl+O) and cancelling the
operation.
In some cases this would cause most of the editor to be filled with an
empty operator options region:
* Go to Shading workspace
* File -> Append
* Cancel
September 25, 2019, 01:45 (GMT)
Cleanup: use braces
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021