Blender Git Loki

Kaikki Blender Git kommitit.

Page: 2451 / 8462

June 11, 2019, 18:50 (GMT)
Fix T64608: DOF Focus object, not linked to new copy, Scen "full_copy".

Note that there are probably many other similar cases... This code is
really legacy, should use library_query helpers and other modern
BKE_library code instead of doing its own dirty cooking...
June 11, 2019, 15:52 (GMT)
Split wm_xr.c into multiple files

Similar to gizmo/ and message_bus/, there's now a xr/ directory
containing header files and a intern/ directory for source and internal
header files.

Guess this is reasonable to do. And better to do early on to avoid
loosing much git history.
June 11, 2019, 15:49 (GMT)
Edit Mode: Fix face alpha being too strong in xray mode

This make the xray & wireframe follows the same style as the solid
mode.
June 11, 2019, 15:49 (GMT)
Fix T65406 Edit Mode: Edge selection is below wireframe overlay

This was due to a double offset of the wireframe. We also reduce
the wireframe offset. The look of the wireframe overlay changes
a little with on distant wires.
June 11, 2019, 15:45 (GMT)
Just a quick hack getting USD support in there to export a mesh
June 11, 2019, 15:17 (GMT)
[Fast import/export] Ran clang-format
June 11, 2019, 15:07 (GMT)
Merge branch 'master_upstream' into luca_openvdb_import_28
June 11, 2019, 14:35 (GMT)
Fix compile errors and crashes on Windows

* Include needed Windows/DirectX headers
* Disable zero sized arraz (GCC extension)
* Add missing break causing failling assert
* Add missing semicolon in Win only code :)
June 11, 2019, 14:03 (GMT)
Fixed split option UI for OpenVDB modifier
June 11, 2019, 13:51 (GMT)
FFmpeg: Fix integer overflow when writing custom FPS with high denominator

FFmpeg uses a fraction of integers to indicate the frame rate, whereas
Blender uses `int / float`. When a custom frame rate is used with
non-integer base, the FPS and Base settings were multiplied with 100000
before passing to FFmpeg as `int`. This could overflow when a high
enough FPS setting was used, which is the case when importing a video of
almost-but-not-quite-integer frame rate into the VSE. The overflow
caused FFmpeg to return an error "The encoder timebase is not set",
which is rather cryptic for users.

The new solution is to take the max int and divide that by the frame
rate, and use that ratio to pass to FFmpeg. This won't overflow, and
thus allows exporting arbitrary frame rates.
June 11, 2019, 13:40 (GMT)
OpenGL Render: Fix crash when using audio

Was very easy to reproduce by rendering sequencer with sound strip.

Need to use evaluated scene to open movie handle, since that is the only
scene which has proper sound handle with everything else attached to it.
June 11, 2019, 13:28 (GMT)
Pose tool: Mask expand operator

This operator is designed to use with the transform.rotate tool to
create a pose tool. It generates a mask from the active vertex,
following the topology of the mesh.

The operator has two modes. It can expand the mask to the vertex under
the cursor or to a certain number of iterations. All the iterations are
cached when the operator is invoked, so it should be usable with high
poly meshes.

I also included some hardcoded mask operations when the operator
finishes. In the future, this could be included as an operator macro if
it does not have a significant performance penalty (like redrawing all
nodes each time a new operator is invoked).

It does not support symmetry and it only works with meshes (no dyntopo
or multires).

I also fixed some bugs in the transform code that were breaking EEVEE
compatibility. Undo system still fails sometimes.
June 11, 2019, 13:19 (GMT)
Sound: Fix missing sound sequences length update on FPS change
June 11, 2019, 13:11 (GMT)
Sound: Fix queries of sound info

A lot of areas were querying sound information directly using audio handle
which does not exist on an original sound IDs.

This change basically makes it so it's possible to query information about
given sound ID, without worrying about whether it's loaded or not: if it is
needed to load it first it happens automatically (no automatically-opened
handles are left behind though).

While this seems a bit extreme to open files on such queries it is still
better than the old situation when all sound handles were opened on file
load, no matter if it's needed or not. Besides, none of the changed code
paths are performance critical, just handful of tools.

Fixes T65696: Sequencer fails to create a new sound sequence strip via Python
Fixes T65656: Audio strip - SHIFT K crashes Blender

Reviewers: brecht

Reviewed By: brecht

Subscribers: ISS

Maniphest Tasks: T65696, T65656

Differential Revision: https://developer.blender.org/D5061
June 11, 2019, 12:41 (GMT)
Fix T65671: Armature X-Mirror inconsistencies

Apparently the `rna_Armature_editbone_transform_update` function was incomplete because it didn't copy all mirrored transform values.

I also noticed that the same logic seen in `rna_Armature_editbone_transform_update` is also seen in `ED_armature_edit_transform_mirror_update`.
So the solution is expose and use that logic that updates a mirrored bone. Thus deduplicating and fixing T65671.

Reviewers: brecht, zeddb

Differential Revision: https://developer.blender.org/D5058
June 11, 2019, 12:27 (GMT)
Documentation: Update description with documentation
June 11, 2019, 12:18 (GMT)
Fix compile error with system OpenXR SDK

Graphics binding types were disabled by a compiler flag then.
Revision 4419dd3 by Gaia Clary (master)
June 11, 2019, 11:56 (GMT)
fix T65576 collada exporter duplicates node tree when exported material already uses nodes
June 11, 2019, 11:52 (GMT)
Fix T65702: Load factory erases setting without confirmation

It could be argued this was correct behavior, since auto-save
defaults to 'on' nevertheless, auto-saving settings once
the user has disabled auto-save can lead to accidents.

Don't reset the preferences flag when resetting preferences.
June 11, 2019, 11:22 (GMT)
Fix T65715: Instant crash when grouping strips in VSE
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021