Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 1856 / 5574

March 9, 2018, 18:03 (GMT)
Fix Pose Lib: pose is applied when selected bones don't overlap with pose

Premise: When pose bones are selected, applying a pose library should
only affect the selected bones.

This commit fixes a bug where the pose was also applied when there was
no overlap between the selected bones and the bones in the pose. For
example, applying a pose which contains only keyframes for the left
hand, while only right-hand bones are selected, would apply the pose
to the left hand anyway.

The code is now also slightly more efficient; the removed 'selcount'
counter was only used as a binary (i.e. zero or non-zero). It's now
stored as a bitflag instead.
March 9, 2018, 10:00 (GMT)
Cleanup: iterator macros

This line was missing in previous commit
March 9, 2018, 09:44 (GMT)
Manipulator: disable UV widget, following prefs
March 9, 2018, 09:33 (GMT)
FFmpeg: Add regression tests

Currently only covering handful of files from reports about wrong fps detected.

It will need D3083 applied first to get tests passed, also tests themselves
are to be committed to svn.

But there are some python code which needs to be reviewed, like blendfile
passed to run_blender().

Reviewers: sybren, mont29

Reviewed By: sybren, mont29

Subscribers: mont29

Differential Revision: https://developer.blender.org/D3096
March 9, 2018, 09:32 (GMT)
Fix T53857: Incorrect framerate for videos imported from OBS

This is an issue with which value to trust: fps vs. tbr. They both cam be
somewhat broken. Currently the idea is:

- If file was saved with FFmpeg AND we are decoding with FFmpeg we trust tbr.
- If we are decoding with Libav we use fps (there does not seem to be tbr in
Libav, unless i'm missing something).
- All other cases we use fps.

Seems to work all good for files from T53857, T54148 and T51153. Ideally we
would need to collect some amount of regression files to make further tweaks
more scientific.

Reviewers: mont29

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D3083
March 9, 2018, 00:47 (GMT)
Cleanup: iterator macros

- put render iterator in own scope
(would shadow it's own variable if used multiple times).
- enforce semicolon at end of iterator macros.
- no need to typedef one-off macro structs.
March 8, 2018, 06:54 (GMT)
Merge branch 'master' into blender2.8
March 8, 2018, 06:42 (GMT)
Merge branch 'master' into blender2.8
March 8, 2018, 06:28 (GMT)
Cleanup: Rename view3d context set function

Use common prefix so adding related functions share the prefix.
March 8, 2018, 06:27 (GMT)
Cleanup: use edit/active objects from view context

Needed to implement multiple edit-objects.
March 8, 2018, 06:27 (GMT)
Cleanup: set the view-context once
Revision 5331581 by Joshua Leung
March 8, 2018, 04:15 (GMT)
Cleanup: Use BKE_ prefix for all public functions exposed by the NLA module
Revision 7e2100e by Joshua Leung
March 8, 2018, 04:15 (GMT)
T54233: NLA "Push Down" discards Blend Mode, Extrapolation, and Influence

Each AnimData block has a set of Blend/Extrapolation/Influence settings
that can be used to control how the active action is blended with the
NLA stack. However, these settings were not getting copied over to the
newly created strips (as the push-down code existed long before these
settings were added).

This commit solves this in several ways:
* Active Action Blend/Extrapolation/Influence settings now get copied
to the new strips when adding them to the NLA stack via Push Down.

Note: This doesn't happen when there are no existing NLA tracks,
as these settings don't get used in that case.

* Strip Influence will be copied across when inf < 1.0 (i.e. when a
non-default value is used), to maintain the effect. To make this work,
the influence value will get added as a keyframe to the strip's
"Influence" Control FCurve.

- See code comments for an alternative approach and why that was not chosen
- Strip Time still doesn't get keyframes added automatically yet.

* To ensure the "extrapolation mode" settings don't get always overwritten,
I've put in place a compromise: the extrapolation will only get changed
if the chosen setting will cause problmes (i.e. hold forward & back -> hold forward
if there are other tracks before it already).

Not safe for backporting to 2.79[x] stable releases.
Revision fb70f9b by Joshua Leung
March 8, 2018, 04:15 (GMT)
Fix crash if NLA strip with "Use Animated Influence" setting is enabled without the Influence Strip F-Curve existing
Revision a5d6362 by Joshua Leung
March 8, 2018, 04:15 (GMT)
Cleanup: Fix invalid name prefix
March 7, 2018, 23:09 (GMT)
Eevee: Render: Add progress.
March 7, 2018, 23:09 (GMT)
Eevee: Save and reset matrixstate for probe rendering.
March 7, 2018, 23:09 (GMT)
DRW: Fix culling with inverted view (planar reflections)

Just invert the frustum planes in this case.
March 7, 2018, 23:05 (GMT)
Make sure that the WM_opengl_context_create is always called on the main thread

Avoid the error 170 ("The requested resource is in use").
March 7, 2018, 22:40 (GMT)
Fix wglShareLists being called with rendering contexts in use

`wglShareLists` was failing with error code 170 ("The requested resource is in use").
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021