Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1067 / 5574

August 30, 2019, 15:57 (GMT)
Build: support updating for release branches in make_update.py
August 30, 2019, 15:57 (GMT)
Build: move "make update" on macOS and Linux to Python script

Differential Revision: https://developer.blender.org/D5545
August 30, 2019, 15:57 (GMT)
Fix "make deps" error when building deps with make and Blender with ninja
August 30, 2019, 15:39 (GMT)
Fix BLI_array macro so can use BLI_strict_flags.h.

Was doing int comparision against size_t, so added casts.
Revision 8cd0da8 by Omar Emara
August 30, 2019, 15:28 (GMT)
GPU: Split gpu_shader_material into multiple files.

This patch continue the efforts to split the `gpu_shader_material` file
started in D5569.

Dependency resolution is now recursive. Each shading node gets its own
file. Additionally, some utility files are added to be shared between
files, like `math_util`, `color_util`, and `hash`. Some files are always
included because they may be used in the execution function, like
`world_normals`.

Some glsl functions appeared to be unused, so they were removed, like
`output_node`, `bits_to_01`, and `exp_blender`. Other functions have
been renamed to be more general and get used as utils, like `texco_norm`
which became `vector_normalize`.

A lot of the opengl tests fails, but those same tests also fail in
master, so this is probably unrelated to this patch.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5616
August 30, 2019, 15:21 (GMT)
Cleanup: spelling
August 30, 2019, 14:50 (GMT)
UI: Outliner Natural Sort

Collection contents alphabetical sort now uses a Natural Sort that takes number magnitude into account.

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

Reviewed by Brecht Van Lommel
August 30, 2019, 14:46 (GMT)
Sculpt: New brush cursor, active vertex and normal radius

This commit includes the new brush cursor, active vertex updates and the normal radius brush property for all sculpt brushes.
-The new brush cursor previews the real stroke radius over the mesh and the sampled sculpt normal.
-The active vertex is used in sculpt tools and brushes as a starting point for an operation, similar to a preselection. It is also mirrored following the enabled symmetry options to preview the stroke symmetry.
-The normal radius brush property limits the radius that is going to be used to sample the sculpt normal and area center. It controls how closely the cursor follows the surface and it improves the behavior of most brushes, making them suitable for hard surface sculpting.

Reviewed By: campbellbarton, brecht

Differential Revision: https://developer.blender.org/D3594
August 30, 2019, 14:40 (GMT)
Install_deps: Do not take sub-versions '6' numbers of RHEL/CentOS versions as main '6' version.
August 30, 2019, 14:40 (GMT)
Windows: Move building of blendthumb into the blender codebase.

Previously this was done in the deps builder due to the fact we needed
both 32 and 64 bit versions of this dll and CMAKE does not support that
in a single build folder. Now that 32 bit support has been dropped, this
can be safely moved into the codebase.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5633
August 30, 2019, 14:19 (GMT)
Cleanup: Fix typo error
August 30, 2019, 14:16 (GMT)
DrawManager: UV Stretching

Calculating UV Stretching on large meshes showed garbage. The reason
is that the calculation is not thread save. Temporarily disable
threading for UV Stretching
August 30, 2019, 13:41 (GMT)
UI: assert on invalid click-step for integer buttons

Avoids T69305 going by unnoticed.
August 30, 2019, 12:54 (GMT)
UI: Remove Colons From Number Fields

Removes the colon separating label and number inside some number fields.

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

Reviewed by Brecht Van Lommel
August 30, 2019, 12:33 (GMT)
Fix T69324: Console error in particle systems using "Follow Leader" boid
brain rule

Was missing from rna renaming in rBeee445590a29.
August 30, 2019, 12:26 (GMT)
GPencil: Use default material when slot material is empty

When a material slot is empty, the default material is used.

The default color used is Gray to get a good contrast in dense scenes with dark and white background.

Reviewers: brecht, dfelinto, mendio, pepeland

Differential Revision: https://developer.blender.org/D5625
August 30, 2019, 12:07 (GMT)
Fix (unreported) 'Duplicate Particle System' operator not ensuring
unique name

This was leading to equally named particle systems, causing problems
later on.
Spotted while looking into T67958.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5632
August 30, 2019, 11:53 (GMT)
Cycles: OpenCL Separate Compilation Debug Flag

OpenCL Parallel compilation only works inside Blender. When using cycles in a different setup (standaline or other software) it failed compiling kernels as they don't have the appropriate Python API and command line arguments.

This change introduces a `running_inside_blender` debug flag, that triggers out of process compilation of the kernels. Compilation still happens in subthread that enabled the preview kernels and compilation of the kernels during BVH building

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5439
August 30, 2019, 11:00 (GMT)
GPencil: Fix unreported problem with Move to Layer popup

As the operator was designed to use only as popup, when it was used as menu option, the popup was displayed again.

Reviewers: mendio, pepeland

Differential Revision: https://developer.blender.org/D5630
August 30, 2019, 10:45 (GMT)
Fix interger number buttons increment/decrement arrows not working in
some cases

Since rB78b56fa7d973 defining a button with 'but->a1 = 0' wasnt
automatically setting its step value to 1 in 'ui_do_but_NUM' anymore.
Instead of handling this more forgiving in 'ui_do_but_NUM', went over
the remaining cases of buttons and and defined them with a step value of
1.

Fixes T69305

Reviewed By: brecht

Maniphest Tasks: T69305

Differential Revision: https://developer.blender.org/D5631
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021