Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 820 / 5574

April 17, 2020, 15:59 (GMT)
Fix poor video sequencer preferences UI layout

Sequencer related properties were not grouped together, and it wasn't
clear that the disk cache settings were about the sequencer. Now moved
sequencer settings into own panel.
April 17, 2020, 15:53 (GMT)
Merge branch 'blender-v2.83-release'
April 17, 2020, 15:49 (GMT)
Fix T75786: GPencil Modifiers were not overridable...
April 17, 2020, 15:49 (GMT)
Fix (unreported) bda locking of whole GP modifiers whem GP obdata is linked.

Only applys to obdata feature is supposed to be locked in that case, not
the whole modifier.
Revision 398d0bf by Julian Eisel
April 17, 2020, 15:08 (GMT)
Fix python registration error in previous commit
April 17, 2020, 15:00 (GMT)
UI: Layout changes for new checkbox layout possibilities

Follow-up to previous commit.

Some examples:
{F8473507} {F8473508} {F8473509} {F8473510}
For more screenshots, please see D7430.

We use column or row headings here to bring more structure, and to give
the eye visual anchors which aid eye-scanning. The left-aligned
checkboxes likewise help with this. And we keep the adherence to the
center line, so the alignment matches up between the various buttons and
controls.

* Changes the property split percentage from 50/50% to 40/60%. This is
needed to give enough space for the checkboxes. But in most cases this
looks better anyway - see Transform panel. In some cases it simply
fills out the available space more efficently.
* Fix various hacks where we previously used manually defined splits.
When we did this, the alignment was never quite right, and the layout
code was a mess.
* Adds column headings to many places where a list of checkboxes all
share a common purpose or leading text.
* Add checkbox + value configurations various places where a checkbox
only serves to enable the value slider
* Removes most uses of grid flow layout. The grid flow layouts combine
poorly with column headings, and also they would mess alignment up
badly. The grid flow layouts also often made buttons and controls jump
around on the screen if you would just resize editors slightly,
causing visual confusion, making users lose their place. The logic for
at what time the list of items would re-flow was often flawed, jumping
to multiple columns too fast or too late - and frankly, the grid flow
layouts would often just look bad.

Maniphest Task: https://developer.blender.org/T65965

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

Reviewed by: Brecht Van Lommel, Pablo Vazquez.

Most work here by William Reynish, few changes by Julian Eisel.
Revision 219049b by Julian Eisel
April 17, 2020, 15:00 (GMT)
UI: Better split layout support for checkboxes

Makes the following layout changes possible:
{F8473498} {F8473499} {F8473502}

The next commit will contain many layout changes to make good use of
these new possibilities. The result should be more consistent, easier to
read and should give a more organized impression. Additionally, it
should be possible to replace many sub-panels with compacter layouts.

Main changes:
* Checkboxes now respect the property split layouts
* Add support for row and column headers (i.e.
`uiLayout.column(heading="Foo")`, `uiLayout.row(heading="Bar")`). If the
first property added to this layout doesn't insert anything into the label
split column, the heading is inserted there. Otherwise, it's inserted as own
item.
* Add support for manually inserting decorators for an existing item
(`uiLayout.prop_decorator()`). That way layout creators can manually insert
this, which was the only way I saw to support property split layouts with a
checkbox before the actual property. {F8471883}
* Autogenerated layouts for operator properties look bad if there are only
checkboxes (which only use half the region width). So before creating the
layout, we iterate over visible properties and disable split layout if all
are booleans. I think this is fine, if needed we could also add layout hints
to operators.
* `uiTemplateOperatorPropertyButs()` now handles macros itself, the caller
used to be responsible for this. Code that didn't handle these so far never
used macros I think, so this change should be invisible.
* Remove manual property split layout from autogenerated operator properties
layout.
* Padding of checkboxes is tweaked to make their label visually more connected
to the checkboxes.
* Support split layout for menus (should work for `uiLayout.menu()`,
`.operator_menu_enum()`, `.prop_menu_enum()`, maybe more)

Maniphest Task: https://developer.blender.org/T65965

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

Reviewed by: Brecht Van Lommel, William Reynish, Pablo Vazques
April 17, 2020, 14:39 (GMT)
Merge remote-tracking branch 'origin/blender-v2.83-release'
April 17, 2020, 14:33 (GMT)
Fix T75686: Animating scene audio volume doesn't work

Scene audio volume changes require the scene to be tagged with
`ID_RECALC_AUDIO_VOLUME` (see `BKE_scene_update_sound()`). Tagging
happens in the RNA update function `rna_Scene_volume_update()`, but that
function is not called by the animation system. As a result, animated
volume changes are not sent to the audio system.

This commit adds a new depsgraph operation node that sets this tag when
necessary, so that the animated values are used in the rest of the
depsgraph evaluation.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D7429
April 17, 2020, 14:06 (GMT)
Task: Separate Finalize into Reduce And Free

In preparation of TBB we need to split the finalize function into reduce
and free. Reduce is used to combine results and free for freeing any
allocated memory.

The reduce function is called to join user data chunk into another, to reduce the
result to the original userdata_chunk memory. These functions should have no side
effects so that they can be run on any thread.
The free functions should free data created during execution (TaskParallelRangeFunc).

Original patch by Brecht van Lommel
{rB61f49db843cf5095203112226ae386f301be1e1a}.

Reviewed By: Brecht van Lommel, Bastien Montagne

Differential Revision: https://developer.blender.org/D7394
April 17, 2020, 14:05 (GMT)
Merge remote-tracking branch 'origin/blender-v2.83-release'
April 17, 2020, 14:04 (GMT)
Windows: Fix working directory issue in debug batch files

Batch files did not work when you ran them from a
different working directory.
April 17, 2020, 13:16 (GMT)
Merge branch 'blender-v2.83-release'

Conflicts:
source/blender/makesdna/DNA_userdef_types.h
source/blender/makesrna/intern/rna_userdef.c
Revision c565d07 by Bastien Montagne
April 17, 2020, 13:13 (GMT)
Enable new undo code by default.

Note that given how experimental is working currently, I had to rename
and inverse the effect of the experimental undo flag, which will now
instead activate legacy code when set.
April 17, 2020, 12:57 (GMT)
Fix T74805 Workbench: Back faces flicker with Auto Depth is enabled
April 17, 2020, 12:57 (GMT)
Overlay: Fix unreported bug: Edit mode overlays drawing during auto depth

This would double draw the edit cage on top of the other overlays.
April 17, 2020, 12:57 (GMT)
Workbench: Fix unreported bug: garbage viewport when changing AA settings

Was caused by uninitialized buffer.
April 17, 2020, 12:28 (GMT)
Fix T75774: rename Musgrave texture output from Fac to Height

To make it clear that's not in the 0..1, but more of a terrain height value
without a strict range.
Revision 493c623 by Campbell Barton
April 17, 2020, 10:24 (GMT)
Merge branch 'blender-v2.83-release'
Revision adc6659 by Campbell Barton
April 17, 2020, 10:21 (GMT)
Fix T75820: Child bone head vanishes when connected parent is hidden
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021