Blender Git Commits

Blender Git "temp-lineart-contained" branch commits.

Page: 25 / 66

May 1, 2021, 08:12 (GMT)
Cleanup: quiet shadow variable warning
May 1, 2021, 08:12 (GMT)
Cleanup: rename BKE_pose_channels_hash_{make => ensure}

Use the term `ensure` since it makes it clear the data is
not manipulated if it already exists.
May 1, 2021, 08:12 (GMT)
Fix T86799: Boolean crashes duplicating object with "Fast" solver

BMesh intersect could leave invalid items in the selection list,
causing a crash. The list is now cleared since boolean is such a
destructive operation, it's unlikely the selection order would be useful.

Thanks to @lukastoenne for finding the root cause.
May 1, 2021, 08:12 (GMT)
Fix uninitialized memory use in GLDrawList

GLDrawList::init() used MDI_INDEXED which checks base_index_.
May 1, 2021, 08:12 (GMT)
Cleanup: use 'else if'
May 1, 2021, 08:12 (GMT)
GPencil: Add "Convert Text to Gpencil"

Currently when you try to convert a Text-object to Grease pencil from the Object-menu or via the operator in some other way, the Text-object is only converted to a Curve.

This commit converts that curve to a Grease pencil object.

Differential Revision: https://developer.blender.org/D11117
May 1, 2021, 08:12 (GMT)
Cleanup: avoid ambiguous parenthesis
May 1, 2021, 08:12 (GMT)
Cleanup: duplicate break
May 1, 2021, 08:12 (GMT)
Fix error in Python UI script
May 1, 2021, 08:12 (GMT)
Cleanup: use const variables
May 1, 2021, 08:12 (GMT)
Added Operator tests: unsubdivide, shading, vertex connect and mark seam

Added tests for:
* Mark Seam
* Shade flat
* Shade smooth
* Unsubdivide
* Vertex Connect Path
* select nth (Checkered Deselect)

Notes:
1) Shade flat, shade smooth are base test cases (to check mesh doesn't change for real)

Updated blend file: tests/modeling/operators.blend

Reviewed By: zazizizou, mont29

Differential Revision: https://developer.blender.org/D10893
May 1, 2021, 08:12 (GMT)
Fix T87297: Gpencil - Disable Frames and Start delay when use Factor

After talking with the GP team, we agree in disable these options when the factor is used in Build modifier.
May 1, 2021, 08:12 (GMT)
GPencil: glow fx, add threshold value color mode

This patch adds a threshold value to the glow effect in color mode.
Currently, the threshold is hardcoded to 5%.
You can select a color and specify a higher threshold to include
similar colors in the effect.

Note: depends on D10670

Reviewed By: #grease_pencil, pepeland

Differential Revision: https://developer.blender.org/D10672
May 1, 2021, 08:12 (GMT)
Fix potential buffer overrun in drw_shader_dependencies_get

Logical error let this function to write one past the buffer bounds.
May 1, 2021, 08:12 (GMT)
Cleanup: Remove unecessary variable

The value of this variable was incremented, but never used.
May 1, 2021, 08:12 (GMT)
Cleanup: Mismatched array bounds in function declaration
May 1, 2021, 08:12 (GMT)
Fix crash running window operators in background mode
May 1, 2021, 08:12 (GMT)
Cleanup: use early return in edittranslation_exec
May 1, 2021, 08:12 (GMT)
Nodes: Add a callback to check for valid socket type

This adds a callback to bNodeTreeType to check which socket types are
valid for the tree type. Function has been implemented for the normal
tree types, and can be implemented for custom node trees with python,
by adding a `classmethod` to the tree. However, only builtin socket
types are supported.

This is relevant for T87049, but it also has the advantage that it is
now clear which node trees support which sockets. Previously this
was assumed to be known by all developers.

Differential Revision: https://developer.blender.org/D10938
May 1, 2021, 08:12 (GMT)
Cleanup: remove redundant assignments & NULL pointer check
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021