Blender Git Commit Log

All Blender Git commits.

Page: 903 / 8462

February 20, 2021, 17:54 (GMT)
UI: Correct the text alignment of the RGB/HSV/Hex toggle in the color picker

Expanded enum items like this usually have centered text, but there are
limitations in the popup code that break this here. Add a workaround for this
limitation.

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

Reviewed by: Julian Eisel
February 20, 2021, 17:06 (GMT)
LineArt: Remove WITH_LINEAR and merge projects

As Lineart can be considered a grease pencil feature is not logic to have a flag that only adds problems.

Also, the bf_gpencil_lineart has been removed and all code set inside bf_gpencil_modifiers.
February 20, 2021, 16:17 (GMT)
Merge branch 'master' into temp-gpencil-io
Revision f2c0bbe by Omar Emara (master)
February 20, 2021, 16:05 (GMT)
Python: Add to_curve method to the object API

This patch adds a to_curve method to the Object ID. This method is
analogous to the to_mesh method. The method can operate on curve and
text objects. For text objects, the text is converted into a 3D Curve ID
and that curve is returned. For curve objects, if apply_modifiers is
true, the spline deform modifiers will be applied and a Curve ID with
the result will be returned, otherwise a copy of the curve will be
returned.

The goal of this addition is to allow the developer to access the splines
of text objects and to get the result of modifier applications which was
otherwise not possible.

Reviewed By: Brecht

Differential Revision: https://developer.blender.org/D10354
February 20, 2021, 15:23 (GMT)
Lineart: Chnage modifier to use new default system

Now all defaults are defined in `DNA_gpencil_modifier_defaults.h`
February 20, 2021, 14:37 (GMT)
Merge branch 'master' into temp-lineart-contained
February 20, 2021, 14:35 (GMT)
Merge branch 'master' into temp-gpencil-io
February 20, 2021, 14:34 (GMT)
Merge branch 'master' into greasepencil-object
February 20, 2021, 10:33 (GMT)
Geometry Nodes: expose float2 attribute in rna

This also fixes the issue reported in T85651.

Differential Revision: https://developer.blender.org/D10477
February 20, 2021, 09:42 (GMT)
Compositor: Add Anti-Aliasing node

This is an implementation of Enhanced Subpixel Morphological Antialiasing (SMAA)

The algorithm was proposed by:

Jorge Jimenez, Jose I. Echevarria, Tiago Sousa, Diego Gutierrez
Homepage URL:

http://www.iryoku.com/smaa/
This node provides only SMAA 1x mode, so the operation will be done with no spatial multisampling nor temporal supersampling.

Here is a comparison between existing antialiasing (Scale3x, imported from GIMP) and the Anti-Aliasing Node (SMAA 1x):

SMAA 1x produces much higher quality results than Scale3x.
The existing AA operation seems to be used only for binary images by some other nodes. Using SMAA for binary images needs no important parameter such as "threshold", so we perhaps can switch the operation to SMAA, though that changes existing behavior.

Currently, the node has 3 options:

threshold
local contrast adaptation factor
corner rounding
Please refer to devtalk thread for discussion about interface: https://devtalk.blender.org/t/compositor-anti-aliasing-node-d2411/17570

Example: Using Anti-Aliasing Node as an alternative of OLM smoother that is widely used in Japanese animation studios:

Notes:

The program code assumes the screen coordinates are DirectX style that the vertical direction is upside-down, so "top" and "bottom" actually represent bottom and top, respectively
smaa_areatex.cpp is a stand-alone software I [Shinsuke Irie] wrote for another project, so its copyright is still owned by me and under MIT-style license, see https://github.com/iRi-E/smaa-cpp
Unfortunately, this patch doesn't include OpenCL support (I'm not familiar with it...), though SMAA is not so slow
Tested on macOS 11.2.1
February 20, 2021, 09:16 (GMT)
Cleanup: Split grease pencil selection index functions

This makes the code more readable.
February 20, 2021, 05:19 (GMT)
PyAPI: use a new type for storing the deferred result of bpy.props

This is needed to support Python 3.10's Postponed annotation evaluation.

It also simplifies type checking.
February 20, 2021, 04:38 (GMT)
Cleanup: spelling
February 20, 2021, 04:35 (GMT)
Cleanup: doxygen sections
February 20, 2021, 04:34 (GMT)
Cleanup: reference near duplicate enum definitions
February 20, 2021, 04:34 (GMT)
Cleanup: remove duplicate enum
Revision 2d5b89b by Hans Goudey (master)
February 19, 2021, 22:29 (GMT)
Cleanup: Disentangle outliner active status "get" and "set"

Previously the same functions were used to both set and get the active
state for outliner tree elements. This has quite a few problems.
- It's hard to tell when data is changed or simply read
- It prevents using `const`
- The code is full of if statements, making it longer and less readable.

This commit replaces the `tree_element_type_active` and
`tree_element_active` functions with `_get` and `_set` variants. One
has const arguments and returns the active state, the other deals only
with setting the state. While this refactor results in slightly more
lines of code, the result is much better in my opinion.

This commit also removes unused variables from arguments of the affected
functions.

Differential Revision: https://developer.blender.org/D10232
February 19, 2021, 22:03 (GMT)
Geometry Nodes: Add string input node

This commit adds a simple string input node, intended for use in the
attribute workflow to make using the same attribute name in multiple
places easier. The node is function node similar to the existing vector
input node.

Ref T84971

Differential Revision: https://developer.blender.org/D10316
February 19, 2021, 21:24 (GMT)
Merge branch 'master' into sculpt-dev
Revision ee1c674 by Hans Goudey (master)
February 19, 2021, 20:39 (GMT)
UI: Use property split in geometry node properties

This makes the nodes look more consistent with the rest of the UI
by using the same split with right aligned labels as the property editor
and elsewhere. Additionally, for consistency, the "Type" part of some
dropdowns is removed. It already wasn't displayed everywhere, and
it gets redundant quite quickly.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021