Blender Git Commits

Blender Git "master" branch commits.

Page: 1088 / 5574

August 14, 2019, 15:32 (GMT)
Cleanup: remove comment to workaround weak code parsing

This is quite an old comment, recent IDE's/editors
should be able to handle escaped quotes in strings.

If kludges like this are needed, developers should note exactly why.
August 14, 2019, 15:32 (GMT)
GPencil: Revert commit d727f4f22340 (Interpolate menu)

The menu is not redundant, it is just another way to reach the tool and also give more discoverability of the operator shortcut (Many tools in Blender are also on menus, toolbar or header, just think of Move, Rotate, Scale).

There is also no reason to force the user/artist to change to edit mode for interpolate strokes, when the tool works perfectly in drawing mode too. It would only slow down the 2D animation workflow.

Reviewers: @mendio
August 14, 2019, 15:27 (GMT)
Fix main part of T68646: Library overrides: Broken parenting (parent inverse matrix gets reset) after reload.

We need a custom 'apply override' callback here to prevent resetting
the inverse parent matrix.

Things are now working for basic cases, but complex ones (in production
rigs e.g.) are still partially broken...
August 14, 2019, 14:59 (GMT)
Text editor: syntax highlighting + line numbers on by default

The most common use of the text editor seems to be for scripting. Having
line numbers and syntax highlighting enabled by default seems sensible.

Syntax highlighting is now enabled by default, but is automatically
disabled when the datablock has a non-highlighted extension.
Highlighting is enabled for filenames like:
- Text
- Text.001
- somefile.py
and is automatically disabled when the datablock has an extension for
which Blender has no syntax highlighter registered.

Reviewers: billreynish, campbellbarton

Subscribers: brecht, billreynish

Differential Revision: https://developer.blender.org/D5472
August 14, 2019, 14:55 (GMT)
Added missing forward declaration
August 14, 2019, 14:43 (GMT)
Eevee: Fix: Regression when using ssr and default shader
August 14, 2019, 14:12 (GMT)
Fix T68487: double free when inserting keyframe outside of action clip range
Revision b7f86ff by Julian Eisel
August 14, 2019, 13:51 (GMT)
Fix Area.ui_type invalid during area change

To reproduce:
* Split 3D View to show Info Editor
* Change 3D View a few times to various subtypes (Timeline, UV Editor
etc).
Every now and then, the Info Editor should show `UNKNOWN ENUM`. Other
prints may also be lagging behind.

Reviewed By: campbellbarton, brecht
Differential Revision: https://developer.blender.org/D5325
August 14, 2019, 13:32 (GMT)
Cleanup: move trailing comments to avoid wrapping code

Some statements were split across multiple lines because of their
trailing comments.

In most cases it's clearer to put the comments above.
August 14, 2019, 13:32 (GMT)
Cleanup: pep8, prefix unused arg
Revision e6425aa by Julian Eisel
August 14, 2019, 13:27 (GMT)
Manage GPU_matrix stacks per GPUContext

Previously, we had one global `GPU_matrix` stack, so the API was not
thread safe. This patch makes the stack be per `GPUContext`, effectively
making it local per thread (`GPUContext` is located in thread local
storage).

Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5405
August 14, 2019, 12:29 (GMT)
Eevee: Fix background alpha regression
August 14, 2019, 12:16 (GMT)
Cleanup: don't unnecessarily use ustring in IES file parsing
August 14, 2019, 11:40 (GMT)
Fix T68637: Crash assigning caps-lock shortcut

Report that this isn't supported instead, also for unknown key.
August 14, 2019, 11:36 (GMT)
Eevee: Add support for the holdout node

Support should be full when using Alpha Blend mode and partial if using
any other blend mode (opaque / alpha clip / alpha hashed).
August 14, 2019, 11:36 (GMT)
Eevee: Remove Additive & Multiply Blend mode

This commit also provide a compatibility code that will convert old
materials using Additive or Multiply Blend mode to their node equivalent.

This conversion is only done on outputs that are enabled for eevee.
August 14, 2019, 11:36 (GMT)
Eevee: Improve Transparent BSDF behavior

Alpha blended Transparency is now using dual source blending making it
fully compatible with cycles Transparent BSDF.

Multiply and additive blend mode can be achieved using some nodes and are
going to be removed.
August 14, 2019, 11:36 (GMT)
Fix T68537 Eevee: Modulo node behaves unexpectedly/inconsistently

There was still some float imprecision when both input values are equal.
August 14, 2019, 10:38 (GMT)
Custom Properties: allow changing the property UI to color picker.

To fully support storing colors as a custom property, it is necessary
to allow switching the property UI to the standard color picker button.
That means in effect supporting custom property subtype values.

Change RNA_property_subtype to look for a 'subtype' string field
in _RNA_UI and parse it as an enum value. To minimize performance
impact, only do it if the property is an array; also, don't use
the custom subtype during RNA path parsing.

On the python side, allow setting some most useful seeming values
from the custom property settings editor.

Also, since some color picker code seems to run into a risk of
buffer overruns if the array size is wrong, check the size in
the UI layout code to be safe.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D5475
August 14, 2019, 09:43 (GMT)
Fix T68623: bpy.types.UI_UL_list.filter_items_by_name is case sensitive.

Was a mismatch with default behavior from C-defined basic UI list...
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021