Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1104 / 5574

July 31, 2019, 12:03 (GMT)
Fix T67652: editing UV vertex location does not work with multiple objects

Patch contributed by matc.

Differential Revision: https://developer.blender.org/D5355
July 31, 2019, 11:52 (GMT)
Cleanup: remove BLO_update_defaults_userpref_blend

Merge into BKE_blendfile_userdef_from_defaults
July 31, 2019, 11:36 (GMT)
Preferences: don't store preferences in the startup

Simplify preferences by removing the ability to load them from
either the startup.blend or userpref.blend.

Also simplifies updating default preferences by moving
them to a struct definition.
July 31, 2019, 11:11 (GMT)
UI: tweak naming in snapping popover to be "Snap with" and "Snap to"

To replace "Target" and "Snapping", this should be more clear.

Differential Revision: https://developer.blender.org/D5242
July 31, 2019, 11:04 (GMT)
Sculpt/Paint: Brush curve presets

This patch introduces the same presets that are used for proportional editing in the brush falloff menu. The user can select any of these presets or use the regular custom falloff curve. The presets are hardcoded formulas, so the falloff curve is not used when they are active.

This change improves the general feeling of the brushes and it is more convenient and simpler to use. The CUSTOM curve option should now be used in the case that an unusual deformation is needed, in other cases, the hardcoded curve presets should be the default.

The smooth curve presets is a must in the grab brush, as it fixes the deformation issue with the current custom curve setting. The user may try to adjust the deformation by tweaking the curve, but it is nearly impossible to replicate this desired behavior.

{F7636217}

Other brushes that are included in the sculpt branch also rely on this as they need specific hardcoded falloffs to produce the desired effect.

Reviewers: brecht, billreynish

Reviewed By: brecht

Subscribers: JulienKaspar

Differential Revision: https://developer.blender.org/D5367
July 31, 2019, 10:30 (GMT)
FIx T66019: Text cutoffs for descriptions in keyframe insertion (keyingsets).
July 31, 2019, 10:23 (GMT)
Added BKE_mesh_clear_geometry() function

This function makes it possible to clear/remove/nuke all the geometry in
a mesh, allowing functions like `Mesh.from_python()` to construct a new
mesh in its place. Without this function, code like in T67627 have to
allocate a new Mesh datablock, fill that, and swap out the old Mesh for
the new one. This introduces issues when exporting, as the new mesh
could be seen by an exporter as unrelated to the old one.

Shape keys are not freed by this function. Freeing those would require
tagging the depsgraph for relations update, which is an expensive
operation. They should be removed explicitly if necessary.

Material slots are also not cleared by this function, in the same way
that they are not cleared when manually removing all geometry from a
mesh.

The `BKE_mesh_clear_geometry()` function is available in Python as
`mesh.clear_geometry()`.

Reviewed by: mont29, brecht

Differential Revision: https://developer.blender.org/D5373
July 31, 2019, 09:58 (GMT)
Cleanup: Use explicit forward declaration
July 31, 2019, 09:51 (GMT)
Particle: Cleanup, remove unused depsgraph argument
July 31, 2019, 09:50 (GMT)
UI: remove checks for other popovers when switching menu

I'm unable to redo the original report,
Revert fix for T43247..
July 31, 2019, 09:50 (GMT)
UI: simplify check for active menu button

Dragging to select another popup now checks the menus active button.
July 31, 2019, 09:46 (GMT)
Cleanup: Remove unused functions
July 31, 2019, 09:28 (GMT)
FFmpeg: Added support for writing Opus audio.

This audio format is often used in conjunction with VP9 video in a WebM
container. Opus was created with the intention to replace Vorbis and
Speex ([source](https://en.wikipedia.org/wiki/Opus_(audio_format))).

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5156
July 31, 2019, 09:28 (GMT)
FFmpeg: Added writing of WebM containers

This commit adds support for the WebM container. Previously we only
supported the WebM/VP9 video codec, but still required that it was
stored in a Matroska, MP4, or other compatible container format.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5156
July 31, 2019, 09:28 (GMT)
FFmpeg: Added support for writing alpha values in WebM/VP9 video

The VP9 video codec supports writing alpha values; now this is available
in Blender too.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5156
July 31, 2019, 09:28 (GMT)
Cleanup: Simplification of `BKE_ffmpeg_alpha_channel_is_supported()`

Simplified `BKE_ffmpeg_alpha_channel_is_supported()` to use `ELEM()`
instead of a row consecutive `if`-statements.

No functional changes.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5156
July 30, 2019, 23:47 (GMT)
DRW manager: select engine: create generic draw_select_id_mesh
July 30, 2019, 23:47 (GMT)
Cleanup: Rearrange Select Engine into multiple files
July 30, 2019, 20:50 (GMT)
cleanup: Fix typo in last commit

Accidentally took the C flags as a base.
July 30, 2019, 20:40 (GMT)
CMake/Windows: Enable JMC on compilers that support it.

JMC [1] enables more productive debugging of C++ code in visual studio
this change enables it on debug builds for builds with visual studio 15.8
or higher.

[1] https://devblogs.microsoft.com/cppblog/announcing-jmc-stepping-in-visual-studio/
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021