Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 572 / 5574

September 16, 2020, 18:27 (GMT)
Fix T79523 Paint Cursor: Wide line not supported on OSX

This replace the use of GPU_line_width by the specialized
GPU_SHADER_3D_POLYLINE_UNIFORM_COLOR shader.
September 16, 2020, 18:17 (GMT)
Fix T79315 Normals Overlays broken with hidden geometry

Was caused by non-initialized variables before a return inside
the vertex shader.
Revision 5cf6f5e by Hans Goudey
September 16, 2020, 18:05 (GMT)
Fix: Property search crashes searching enums with separators
Revision 6759b8a by Ankit Meel
September 16, 2020, 17:52 (GMT)
Cleanup: silence [-Wmissing-braces] warning.

Introduced in {rBd6525e8d133b787655bdb2c2fcef218591a457c3}

Compiler: Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
```
source/blender/draw/engines/image/image_shader.c:46:13: warning:
suggest braces around initialization of subobject [-Wmissing-braces]
} e_data = {0}; /* Engine data */
^
{}
1 warning generated.
```

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D8873
Revision 60fa80d by Hans Goudey
September 16, 2020, 15:20 (GMT)
Curves: Add custom profile bevel support

This adds support for the same custom bevel profile widget used in
the bevel tool and modifier to the geometry generation for curves.

This is expecially useful for text and 2D curves with extrusion, as
it works much better than a weld & bevel modifier combination.
It can also be useful for adding quick detail to pipe-like objects.

The curve holds the CurveProfile struct and a new "Bevel Mode"
property decides which type of bevel to build, round, object, or
custom profile.

Although curves can already use another curve to make the bevel
geometry, this is a quicker way, and it also defines the profile of
just one corner of the bevel, so it isn't redundant. It's also nice
to have the same custom profile functionality wherever there is bevel.

Differential Revision: https://developer.blender.org/D8402
September 16, 2020, 15:07 (GMT)
Fix tests after adding collection color tagging

Fix a segfault caused by assuming all scenes have a master collection
when applying versioning to old files.
September 16, 2020, 14:39 (GMT)
Fix T80684: Node shader wrapper: Tweak handling of alpha textures.

There is no ideal solution here, but we can assume by default that we should
use the Alpha output from a texture used for transparency data.

This will break people using a dedicated B&W texture for this alpha
pass, but we cannot really handle all cases properly in this wrapper, we
only try to support the most common ones to some extent.
Revision 1a4fc6d by Julian Eisel
September 16, 2020, 13:56 (GMT)
Fix versioning code after FCurves versioning not executed

There must not be any return directly in our versioning patches. It
would return from the entire versioning function.
Mistake in da95d1d851b4.

As a result, when opening old files with animation data, the versioning
for the new collection color tagging wouldn't run, and all collections
would get the first color assigned.
Revision c9c0f89 by Chris Clyne / Sebastian Parborg
September 16, 2020, 13:55 (GMT)
Action Constraint: Add manual time factor input control

Adds an optional slider to the action constraint so that it can be
driven without a constraint target.

This is very helpful for more complex rigging and mechanical rigs, as it
means the action constraint can be controlled with a driver/custom
property directly, currently if we want to use a driver to control it we
must add a "dummy" bone/object inbetween to act as a control.

Reviewed By: Sebastian Parborg, Sybren A. St�vel, Demeter Dzadik, Julian Eisel

Differential Revision: https://developer.blender.org/D8022
September 16, 2020, 13:24 (GMT)
GPUDebug: Avoid using STREQ on StringRef

This might be dangerous because StringRef is not guaranteed to be
null-terminated and STREQ assumes null termination.
Revision fa81e36 by Clément Foucault
September 16, 2020, 13:17 (GMT)
Fix T78653 Workbench: Broken Depth of Field in Viewport (Mac OSX)

The output layout was wrong and it's a mistery why it works on most
implementations since it's clearly a wrong usage.

Thanks @sebbas for helping narrowing down the issue.
September 16, 2020, 13:04 (GMT)
Fix (unreported) buffer overflow in BLI_system_cpu_brand_string helper.

Since this buffer is used as an array of 12 32bits integers, and C++
string expect a NULL-terminated C-string, we need an extra char to
ensure last one is always NULL.

See D8906. Thanks to @brecht for noting this one too.
September 16, 2020, 12:52 (GMT)
NLA: Always Show All Strips

Currently, it's difficult to use the NLA system for users who are only
interested in using it as animation layers.

Entering tweak mode hides strips which are not evaluated. If the user
wanted to edit a different strip, they must exit tweak mode, look for
the strip, select it then re-enter tweak mode.

Solution:
All strips are always shown. The user can now see the next strip they
want to start editing.

Reviewed By: Sybren, Sebastian Parborg

Differential Revision: https://developer.blender.org/D7600
September 16, 2020, 12:39 (GMT)
Fix (unreported) buffer overflow in Cycles' system_cpu_brand_string helper.

Since this buffer is used as an array of 12 32bits integers, and C++
`string` expect a NULL-terminated C-string, we need an extra char to
ensure last one is always NULL.

See D8906. Found while investigating T80657.
September 16, 2020, 10:26 (GMT)
Fix: add versioning to fix incorrectly written customdata

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D8903
September 16, 2020, 10:23 (GMT)
Cleanup: use uint8_t for various flags in curves

Previously, it was kind of a mess. In different places it was using `char`, `short` and `int`.

The changed properties are flags that are operated upon using bit operations. Therefore, the integer type should be unsigned. Since we only use 2 bits of these flags, `uint8_t` is large enough.

Especially note the change I had to make in `RNA_define.h` to make this work.

Reviewers: campbellbarton

Differential Revision: https://developer.blender.org/D8844
September 16, 2020, 09:55 (GMT)
Fix: Showing Meta Data Crash

When Showing Meta data for an image where the buffer does not exist
(missing file) it crashed. This patch removes the check on the image and
only checks the availability of the buffer.
September 16, 2020, 09:23 (GMT)
Install_deps: update to add pugixml and potrace new deps.

Also fixed OpenVDB maximum version, it appears that even 7.1 is not
compatible with 7.0?

Re T80818 and D8628.
September 16, 2020, 09:19 (GMT)
Fix T80800: Active UVMap Drawing

Regression introduced by D8234. In stead of using the active uv map, the
render uv map was drawn. This change will use the active uv map.
September 16, 2020, 08:39 (GMT)
Fix: create shallow copy of CustomData before writing

CustomData_blend_write_prepare might modify the `CustomData`
instance, making it invalid afterwards. It is not necessary to do this
in other cases explicitly, because when writing shallow copies of
ID data blocks are made.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021