Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1062 / 5574

Revision 45d4c92 by Julian Eisel
September 4, 2019, 14:30 (GMT)
Move file execute region back to C, fixing bugs

We moved this to Python too quickly, causing the following regressions:
* No auto completion for file names
* Additional handling not applied on changes, like automatic extension
appending (see file_filename_enter_handle)
* Red highlight missing when the file name already exists

Note that earlier (before the file browser redesign), this didn't use
the panel and layout code at all. So even if it's still not in Python,
at least it's integrated into regular panel management now.
OS-specific ordering of the open and cancel button is kept.

Fixes T69457.
Revision 640c45d by Julian Eisel
September 4, 2019, 14:30 (GMT)
Expose button UTF8 check in UI_interface.h

Used in following commit.
September 4, 2019, 13:57 (GMT)
Shading Modes: Material and Render Preview

This change implements the basics as described in {T68312} for the
shading modes.

* LookDev shading mode is renamed to Material Preview. It always uses Eevee as renderer, and is intended to provide a fast material preview suitable for texture painting, and texture and material setup.

* Rendered shading gains "Use Scene Lights" and "Use Scene World" options similar to current Material Preview. These will be enabled by default. When Use Scene World is turned off, HDRIs will be used for lighting instead. These options are available for EEVEE and Cycles.
* Renderers will be able to customize the shading settings panel and add additional settings.

Reviewed By: brecht, fclem

Differential Revision: https://developer.blender.org/D5612
September 4, 2019, 13:08 (GMT)
Fix/cleanup error handling in paths generation for private ID data case.

When using new `rna_prepend_real_ID_path()`, caller have to handle the
NULL path case and decide whetehr this is a valid case or an error one.
September 4, 2019, 13:05 (GMT)
UI: use vertical navigation buttons

This addresses crowding in the top right area of the view
with the existing header and tool header.

D5670 by @CandleComet
September 4, 2019, 12:51 (GMT)
Fix T55745: Checker de-select, inconsistent selection

With these changes, successive selections result in an even pattern.
September 4, 2019, 09:55 (GMT)
UI: Rename Select tool to Tweak tool

'Tweak' better communicates what this tool is for

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

Reviewers: Brecht, Campbell Barton
Revision 718989d by Julian Eisel
September 4, 2019, 08:23 (GMT)
Fix T69469: Overrun in file action type RNA enum

Think it was harmless in practice since we didn't actually enumerate the
items, only count them and access the set value. Still...
September 4, 2019, 07:34 (GMT)
Armature: add Inherit Scale options to remove shear or average the scale.

As an inherent property of matrix-based transformation math, non-
uniform scaling of a parent bone induces shear into the transform
matrix of any rotated child. Such matrices cannot be cleanly
decomposed into a combination of location/rotation/scale, which
causes issues for rigging and animation tools.

Blender bones have options to exclude rotation and/or scale from the
inherited transformation, but don't have any support for removing the
often undesired shear component. That goal requires replacing simple
parenting with a combination of multiple bones and constraints. The
same is true about the goal of inheriting some scale, but completely
avoiding shear.

This patch replaces the old Inherit Scale checkbox with a enum that
supports multiple options:

* Full: inherit all effects of scale, like with enabled Inherit Scale.

* Fix Shear: removes shear from the final inherited transformation.

The cleanup math is specifically designed to preserve the main
axis of the bone, its length and total volume, and minimally
affect roll on average. It however will not prevent reappearance
of shear due to local rotation of the child or its children.

* Average: inherit uniform scale that represents the parent volume.

This is the simplest foolproof solution that will inherit some
scale without ever causing shear.

* None: completely remove scale and shear.

* None (Legacy): old disabled Inherit Scale checkbox.

This mode does not handle parent shear in any way, so the child
is likely to end up having both scale and shear. It is retained
for backward compatibility.

Since many rigging-related addons access the use_inherit_scale
property from Python, it is retained as a backward compatibility
stub that provides the old functionality.

As a side effect of reworking the code, this also fixes a matrix
multiplication order bug in the Inherit Rotation code, which caused
the parent local scale to be applied in world space. In rigger
opinion this option is useless in production rigs, so this fix
should not be a problem.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5588
September 4, 2019, 06:08 (GMT)
Fix T63755: Area Stretching Overlay

Support for UV Stretching overlay during multi object editing. The
VBO now holds the ratios per fase. In the shader these ratios will
be compared against the global ratios. The global rations are created
from all selected objects.

The current implementation does not fit well with the draw module. The
plan is to move the drawing of other spaces towards the draw manager what
leads to a better fit. Currently the details on this solution is unclear
but this requirement will become an attentionpoint in the future design.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D5665
September 4, 2019, 05:33 (GMT)
Transform: remove X/Y shear tool option

Instead use vertical cursor motion for Y axis shear.

This removes the shear_axis option completely since we now have two
axis options used by shear it's not needed.
September 4, 2019, 05:16 (GMT)
Transform: Improve hierarchy in mixed snap edge detection.
Revision da25aca by Julian Eisel
September 4, 2019, 00:01 (GMT)
Fix T69463: File Browser opens off-center on hiDPI

wmWindow.sizex/y doesn't have system's pixel size applied.
Revision 0c7bfdf by Julian Eisel
September 3, 2019, 23:47 (GMT)
Fix T69467: Temporary Info Editor window crashes

Code called editor creation twice, once for SPACE_INFO, once for
SPACE_EMPTY. Caused by a incorrectly solved merge conflict.
September 3, 2019, 22:58 (GMT)
Industry Compat keymap: Add support for tool hotkeys in paint modes

Use D for Draw, B for Blur.
September 3, 2019, 22:51 (GMT)
Industry Compat keymap: Fix for opening folders in new File Browser
Revision 197653e by Julian Eisel
September 3, 2019, 21:15 (GMT)
Fix selecting multiple files ignoring first file

E.g. box selecting wouldn't allow selecting the first file.
Work selection and shift/ctrl selection had similar issues.

Code assumed that the first item was the '..' parent item and manually
removed it from the selection. I could just remove this special
handling, but instead I made the behavior more dynamic. So the file list
checks if the '..' item is there and only then applies special
treatment.
That way we can easily bring the '..' item back or make it optional if
wanted.
September 3, 2019, 20:34 (GMT)
UI: Minor fixes to Delta Transform panel

Removes some wrong gaps appearing
September 3, 2019, 19:45 (GMT)
File Browser: Fix Windows Execute/Cancel button order

Was using wrong check for Windows, causing this to fail
Revision 9e3cd98 by Julian Eisel
September 3, 2019, 17:51 (GMT)
Fix T69451: Walk-select in empty directory asserts

Code assumed the '..' was there, which isn't the case any more. Just
early exiting for empty directories is fine.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021