Blender Git Commits

Blender Git "master" branch commits.

Page: 581 / 5574

September 11, 2020, 04:57 (GMT)
Cleanup: spelling, correct comments
September 11, 2020, 04:37 (GMT)
Cleanup: const cast warning, use string replace function
September 10, 2020, 21:55 (GMT)
GPUState: Fix missing changed program point size state

Also avoid a case where size is zero and making it impossible to change it
back.

This fix T80664 Tiny node sockets
September 10, 2020, 21:32 (GMT)
Fix T80327 UI: Glitches in UI drawing

This was caused by an uninitialized variable that was left
unchanged when calling GPU_vertformat_clear.
September 10, 2020, 20:07 (GMT)
Sculpt: Enable pen pressure for Scrape/Fill Area Radius

This should improve the issue with Scrape accumulation in concave
surfaces. When the strength of the brush is higher, the area radius is
also bigger, so the scrape plane is more stable preventing it from
accumulating displacement in the same area.
The Scrape/Fill default presets are also updated to include this
functionality.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8821
Revision 2ea2ec0 by Julian Eisel
September 10, 2020, 18:19 (GMT)
Fix particle "Mass" option not showing enough precision (appears broken)

When using the left and right arrows of the number button, the button
would seem to do nothing. That is because it modified a value smaller
than what is displayed. Show more precision so the button doesn't appear
broken.
Revision 3d53fa5 by Julian Eisel
September 10, 2020, 18:19 (GMT)
Fix particle "Loop Count" number button left/right arrows doing nothing

Was using a step size of 0.1 for an integer. Got caught by sanity assert
in UI code.
September 10, 2020, 18:13 (GMT)
Cleanup: Fix bad spelling in previous commit.

Thanks for @deadpin for noticing!
September 10, 2020, 18:12 (GMT)
Fix T80191: GPencil - Improve Mesh conversion

There were some problems when converted several objects at the same time, especially with the material conversion. The problems were more visible when bake an animation with several objects at the same time.

* Now the layer name include the object name.
* Reorganize how the materials are generated including object name.
* Fix color not converted to sRGB.
* Avoid triangles when generate the stroke. This fix a draw manager issue and also add more geometry to use later.
* Code cleanup.

Revision 07d7028 by Tyler Alden Gubala
September 10, 2020, 17:40 (GMT)
CMake: various fixes for building Python module

* Don't link against Mesa OpenGL software emulation libraries from the
lib folder, they are not intended to be used for building, only install.
* Don't use static OpenMP library by default, it's usually not built to
work in shared libraries.
* Disable jemalloc on all platforms, the reason it fails is not specific
to Linux.

Differential Revision: https://developer.blender.org/D8827
September 10, 2020, 17:40 (GMT)
Fix build error after clog color printing changes
September 10, 2020, 17:31 (GMT)
CLog: Support colorized logging on windows

When using Windows Terminal the same control codes Linux
uses to colorize the text can be used. WT can be detected
by looking at the WT_SESSION environment variable.

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

Reviewed by: campbellbarton
September 10, 2020, 17:27 (GMT)
Cleanup: CLog fix bad use_color default

`use_color` was defaulted to 'on' and only turned off when it was
decided the terminal didn't support this. This was the wrong
way to go about things, since that test only ran for Linux/Mac other
operating systems would get color formatting regardless if they
supported it.

The new default is `off` until the platform specific code inside
`CLG_ctx_output_set` turns it on after running some sanity checks.

This fix was part of the review of D8848 but deserved its on commit

Reviewed By: campbellbarton
September 10, 2020, 16:47 (GMT)
Fix T79754: Boundary Brush crashing with symmetry enabled

When creating the boundaries for the symmetry passess, it could happen
that a symmetrical vertex is not found inside the radius of the brush.
In that case, the function to initialize a new boundary was called with
index -1 (BOUNDARY_VERTEX_NONE), so this function should also check
that the initial vertex that is going to be used to find the boundary is
a valid index.

Reviewed By: sergey

Maniphest Tasks: T79754

Differential Revision: https://developer.blender.org/D8860
September 10, 2020, 16:40 (GMT)
DNA: fix asan warning when casting types

Reviewers: brecht

Differential Revision: https://developer.blender.org/D8865
September 10, 2020, 16:18 (GMT)
Cleanup: Update doc string for BLI_getenv

The reason for this functions existence was poorly documented
September 10, 2020, 16:01 (GMT)
Refactor: move Key .blend I/O to IDTypeInfo callbacks
September 10, 2020, 15:53 (GMT)
Outliner: Use right click target element for context menu

When opening the outliner context menu with multiple data types
selected, the menu did not show operators related to the target of the
cursor. For example, if a modifier and object are selected, a right
click on the modifier does not show the modifier options, rather it
shows the object context menu.

Now the data type of the right-click element is used to determine the
context menu to draw. For this to work properly the active element is
now set on right click.

Part of T77408

Manifest Task: https://developer.blender.org/T77770

Differential Revision: https://developer.blender.org/D8647
September 10, 2020, 15:47 (GMT)
Refactor: move LightProbe .blend I/O to IDTypeInfo callbacks
September 10, 2020, 15:41 (GMT)
Refactor: move Armature .blend I/O to IDTypeInfo callbacks
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021