Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1265 / 8462

September 17, 2020, 08:53 (GMT)
Fix T66256: Context overrides crash when operators change context

Using context overrides in Python caused problems for any operator that
changed the context and require these changes to be read back.

CTX_wm_area_set() for e.g. would set the struct member but future
calls to CTX_wm_area() would still return the value defined by Python
callers context overrides.

This also resolves a mismatch between polling and calling operators
from Python, where poll would override the Python context where calling
only overrode the context when a new context was passed in.
September 17, 2020, 05:34 (GMT)
Cleanup: use doxy sections for blender.c
September 17, 2020, 05:24 (GMT)
Cleanup: use static assert to disable access to preferences

Prefer this over an unknown identifier as it gives a useful error.
Revision 8dd5902 by Hans Goudey (master)
September 17, 2020, 04:47 (GMT)
Cleanup: Use enum instead of defines for panel runtime flag

Discovered an unused panel runtime flag as well, which this commit
removes.
Revision 4b20eeb by Campbell Barton (master)
September 17, 2020, 04:43 (GMT)
UI: only draw a single header in the header region

While this isn't an issue with the default configuration it's possible
to register extra header types for a single region.

In this case the first header-type to successfully poll is drawn
without drawing other header types.

This issue was raised by T60195.
September 17, 2020, 04:43 (GMT)
Cleanup: don't register dope-sheet header types

These are only used to hold static methods, there is no reason to
register them.
Revision 7a1c405 by Hans Goudey (master)
September 17, 2020, 03:56 (GMT)
Cleanup: Comment formatting in interface_panel.c

Also cleaned up some grammar and wording issues, and switched a case
in an if statement to remove a double negative.
September 17, 2020, 02:44 (GMT)
Fix T63651: ImagePreviewCollection.new,load don't work as documented

Update doc-strings, add note for why this decision was made.
September 17, 2020, 01:59 (GMT)
Cleanup: warning (missing-braces)
Revision 27660b3 by Hans Goudey (master)
September 16, 2020, 21:05 (GMT)
Fix: Text object custom profile bevel not written to file

The CurveProfile struct was only being written to the file for regular
curve objects. Caused by an incorrect merge of master before committing.
September 16, 2020, 20:39 (GMT)
Merge branch 'master' into soc-2021-testing-frameworks
September 16, 2020, 20:05 (GMT)
Merge branch 'master' into tmp-vulkan

# Conflicts:
# CMakeLists.txt
September 16, 2020, 20:04 (GMT)
VK: Avoid asserts in debug builds.
September 16, 2020, 20:03 (GMT)
GHOST: X11: Enable debug context for vulkan in offscreen contexts
September 16, 2020, 20:01 (GMT)
GHOST: Vulkan: Rework support for MSVC

This removes designated initializer because not supported by MSVC for our
current C++ version.

Fixes some other compile errors and add usage of the `ContextVK` context in
the Win32 backend.
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 (master)
September 16, 2020, 18:05 (GMT)
Fix: Property search crashes searching enums with separators
Revision 6759b8a by Ankit Meel (master)
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 (master)
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
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021