Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 880 / 5574

March 6, 2020, 06:31 (GMT)
GHOST/Keymap: support for detecting repeat events

- Keymap items now have 'repeat' boolean which can be set
to make keymap items respond to key repeat events or not.
- Support for X11 & WIN32 (not macOS currently).

This allows for the possibility to perform actions while a key is held
and finish the action upon release.

Thanks to @Severin for review and WIN32 support.
March 6, 2020, 06:05 (GMT)
Cleanup: keyframing return arguments

- Use 'int' for counters instead of short.
- Use 'bool' instead of a counter when only a change is being detected.
- Use typed enum for keying set flags.
- Include in comments when a negate error code may be returned.
March 6, 2020, 04:07 (GMT)
Cleanup: remove unused 'eInsertKeyFlags' from delete API call

There is no need for an insertion flag in a delete function.
March 6, 2020, 03:16 (GMT)
Cleanup: keyframe API naming, high level keyframe API

- Split 'verify_fcurve' into two functions:

ED_action_fcurve_ensure which adds the f-curve if needed.
ED_action_fcurve_find which returns NULL when not found.

Callers of ED_action_fcurve_find had unused 'group'
argument which has been removed.

- Rename verify_adt_action to ED_id_action_ensure

It had an argument to add data which was always true,
remove this instead of splitting in into a separate function.
March 6, 2020, 02:06 (GMT)
Cleanup: rename 'verify' to 'ensure' for BKE_image_viewer functions
March 6, 2020, 02:00 (GMT)
Cleanup: rename 'verify' to 'ensure' for argument name
March 6, 2020, 01:56 (GMT)
Cleanup: use 'BKE_' prefix for BKE_deform API calls

- Use 'BKE_object_defgroup' prefix for object functions.

- Rename 'defvert_verify_index' to 'defvert_ensure_index'
since this adds the group if it isn't found.
March 6, 2020, 01:49 (GMT)
Cleanup: use 'r_' prefix for return arguments

Also avoid a redundant strlen call.
March 6, 2020, 01:43 (GMT)
Cleanup: use BLI_strnlen instead of strlen
March 6, 2020, 01:39 (GMT)
Cleanup: clang-format
March 6, 2020, 01:00 (GMT)
Cleanup: use MEM_recallocN_id
March 6, 2020, 00:52 (GMT)
Cleanup: spelling
March 6, 2020, 00:52 (GMT)
Cleanup: add decimal values for event types, order by value
March 6, 2020, 00:52 (GMT)
Cleanup: quiet switch warnings
March 6, 2020, 00:14 (GMT)
Cleanup: redundant-decls warning
March 5, 2020, 21:23 (GMT)
UI: Using Consistent Font Icon in File Browser

Use only one font icon in File Browser for all platforms. Correct mistake to allow this icon to be used.

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

Reviewed by Brecht Van Lommel
March 5, 2020, 20:07 (GMT)
Sculpt Face Sets

Face Sets are the new system to control the visibility state of the mesh in sculpt and paint modes. They are designed to work in modes where brushes are the primary way of interaction and they provide much more control when working with meshes with complex shapes and overlapping surfaces.

This initial commit includes:
- Sculpt Face Sets data structures and PBVH rendering.
- Face Set overlay and opacity controls.
- Sculpt Undo support.
- Remesher reprojection support. The visibility state of the mesh is also preserved when remeshing.
- Automasking and Mesh filter support.
- Mask expand operator mode to expand Face Sets (Shift + W) and flood fill areas by connectivity (press Ctrl while expanding).
- Sculpt Mode Face Sets and Visibility API.
- Sculpt Face Sets creation and visibility management operators.
- Operator to randomize the Face Sets colors.
- Draw Face Sets brush tool to create and edit the Face Sets. Drawing on the mesh creates a new Face Set. Pressing Ctrl before drawing modifies the Face Set under the brush at the beginning of the stroke.
- Updated keymap and menu to work with Face Sets from Sculpt Mode (H to toggle visibility, Alt + H to show all, Shit + H to hide).
- Pie menu on the W key with Face common Sets operations.

Know limitations:
- Multires support. The Face Sets and Visibility API needs to be implemented for Multires.

Reviewed By: jbakker, #user_interface, Severin

Differential Revision: https://developer.blender.org/D6070
March 5, 2020, 19:49 (GMT)
UI: File Browser Favorites

Adding more Windows special folder locations, used when browsing or bookmarking.

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

Reviewed by Brecht Van Lommel
March 5, 2020, 18:40 (GMT)
UI: Mac File Browser System List Changes

Nicer icons for File Browser System and Favorites lists on Mac.

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

Reviewed by Brecht Van Lommel
Revision 3b1ef22 by Julian Eisel
March 5, 2020, 17:29 (GMT)
Ghost: Support drawing OpenGL framebuffers into a DirectX 11 buffer

Adds a minimal DirectX 11 Ghost context, plus some shared DirectX-OpenGL
resource interface using the NV_DX_interop2 WGL extension. From what I
know, this should be available on modern GPUs. If not, it should fail
gracefully.
There should be no user visible changes at this point.

Needed for DirectX-only OpenXR platforms (e.g. Windows Mixed Reality). I
heard there are other use-cases as well though.

It's known that this currently fails on some AMD systems, but that seems
to be fixable.

Most of this comes from the 2019 GSoC project, "Core Support of Virtual
Reality Headsets through OpenXR"
(https://wiki.blender.org/wiki/User:Severin/GSoC-2019/).

Reviewed by: Jeroen Bakker, Ray Molenkam, Brecht van Lommel

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