Blender Git Commits

Blender Git "master" branch commits.

Page: 1041 / 5574

September 19, 2019, 13:57 (GMT)
Manpage gen script: fix for python < 3.7, and missing Blender build info.

Python3.7 is still fairly recent, not all distro use it as system python
yet, fallback to code compatible up to py3.5.

Also, often distro builds of Blender do not have the buildinfo, in that
case fallback to `SOURCE_DATE_EPOCH` envvar, and as last resort to
current time, as in orig patch D5756 (we still use blender builddate
when available).

Issues raised in recent own rBcd5c70630318.
September 19, 2019, 13:56 (GMT)
Fix part of T68666: Animated mesh UVs, vertex colors don?t update on time change
September 19, 2019, 13:55 (GMT)
Fix T70070: Path always absolute when importing Alembic

Importing an Alembic file with a relative path is now also possible.
Revision 1353158 by Julian Eisel
September 19, 2019, 13:42 (GMT)
Fix crash in local collections with excluded layer

Steps to reproduce were:
* Add a new collection
* Put an object into it
* Exclude the selection (the checkbox in front of the name)
* Enable "Local Collections" in any viewport
-> Crash

Did not skip the excluded collections, causing an unsuccessful object
lookup (returned null-pointer).
September 19, 2019, 13:27 (GMT)
Fix T69993: vertex instancing only works on original vertices

This behavior was accidentally changed in 3e6f37b9, now it works compatible
with 2.79 again.
September 19, 2019, 13:26 (GMT)
Cleanup: rename anim::duration to anim::duration_in_frames

Units should be explicit, and not left to be guessed by the reader.

The field is only used in a single C file, so it's a relatively low-risk
change.
September 19, 2019, 13:12 (GMT)
Fix T68091: Adding a corrupt video crashes/confuses Blender

The problematic video from T68091 clearly has an invalid stream duration
(it would be 55 centuries long if interpreted at 30 FPS, and given that
it was recorded with an Android 9 device, it's unlikely that recording
started that long ago). I've added a heuristic to check the stream
duration against the container duration; if the stream is more than 4x
longer than the container, Blender now falls back to the container
duration.

We could use MIN(stream duration, container duration), but there might
be video files out there where the container duration is less precise
than the stream duration; they are measured in different units of time
(microseconds for the container vs. frames for the stream).

Includes a unit test for the above heuristic.

Reviewed by: jbakker

Differential revision: https://developer.blender.org/D5853
September 19, 2019, 13:12 (GMT)
Use FFmpeg's own `av_guess_frame_rate()` function instead of guessing ourselves

This was introduced in FFmpeg lavf 55.1.100 in 2013. For systems that are
still on LibAV or older FFmpeg there is a fallback implementation that
performs the same guess as we did before in `av_get_r_frame_rate_compat()`.
September 19, 2019, 13:12 (GMT)
Cleanup: don't index the same array multiple times

There is now a clearer distinction between `video_stream` (the stream itself)
and `video_stream_index` (its index), and no more repetition of accessing
the same item of an array. This also makes the code a bit more readable in
preparation for an upcoming functional change.
September 19, 2019, 12:40 (GMT)
Fix T70068: sculpt mode hide masked not working after show all
September 19, 2019, 12:09 (GMT)
Fix T64855: smooth view not working in Eevee rendered mode
September 19, 2019, 12:03 (GMT)
Fix missing 3D viewport solid shading mode request for UVs and vertex colors

This probably fixes no current issues, because there is another one causing
these to be computed unnecessarily.
September 19, 2019, 10:54 (GMT)
Fix T70060: Add bgl wrapper for glVertexAttribIPointer
September 19, 2019, 10:07 (GMT)
userdef_defaults for 'Render In' and 'File Browser'

Otherwise --factory-startup would e.g render as `Keep User Interface`
(which is supposed to be `New Window` by default)

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5851
September 19, 2019, 10:06 (GMT)
Clean-up/safety check in new BKE_mesh_copy_settings().

From rBe7a514369fe70, since I did not have time to do proper review
in D5808...

Note that we could also consider that shallow copy of src should never
be dst of that function and add some asserts instead. For now going the
safest and simplest way though.
Revision 7a78bc5 by Sergey Sharybin
September 19, 2019, 09:51 (GMT)
Cleanup: Spelling in comment
Revision 5e332fd by Sergey Sharybin
September 19, 2019, 09:51 (GMT)
Fix T67934: Weight paint doesn't work with Subsurf/Multires

This is a regression since PBVH was introduced for weight paint.

The solution is: treat subsurf and multires modifiers as deforming
ones for the weight painting. This is an easiest solution to make
PBVH use subdivided location of original vertices.

This change could simplify some of the weight paint by removing
the grids check, since PBVH is not supposed to be built from grids
in this case anymore.

Differential Revision: https://developer.blender.org/D5751
Revision 74d27bb by Sergey Sharybin
September 19, 2019, 09:51 (GMT)
Subdiv: Add vertex deformation callback to multires/subsurf

Currently unused but the intention is to use this to hook up these
modifiers to a generic deformed PBVH to make it easier to sculpt or
paint on a subdivided mesh.
Revision 65d8c77 by Sergey Sharybin
September 19, 2019, 09:51 (GMT)
Subdiv: Add deformation-only subdivision

Is intended to be used to generate an array of coordinates of coarse vertices
placed to the final subdivided position.
September 19, 2019, 09:51 (GMT)
Subdiv: Cleanup, comments
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021