Blender Git Loki

Kaikki Blender Git kommitit.

Page: 2163 / 8462

September 25, 2019, 13:04 (GMT)
Added missing documentation for `options` parameter in `keyframe_insert()`

The RNA docstring of `keyframe_insert()` didn't mention the `options`
parameter in the function signature.

No functional changes.
September 25, 2019, 13:02 (GMT)
Merge branch 'master' into fluid-mantaflow
September 25, 2019, 12:40 (GMT)
Motion paths: Use minimal possible dependency graph

This change makes it so motion paths are using minimal possible
dependency graph which is sufficient to evaluate required motion
path targets.

Disclaimer: granularity is done on ID level, but it is possible
to go more granular if really needed.

Brings time down to 0.5 sec when updating motion path for the
Rain animation file used for benchmarks in the previous commits.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5874
September 25, 2019, 12:40 (GMT)
Depsgraph: Implement builder from given set of IDs

The title explains it all actually: this commit introduces special
dependency graph builder API which builds graph which is sufficient
to evaluate given set of IDs.
September 25, 2019, 12:40 (GMT)
Depsgraph: Mark build methods as virtual

Allows to override behavior in a subclasses.

Currently no functional changes. The penalty of calls being virtual
should be neglectable.
September 25, 2019, 12:40 (GMT)
Depsgraph: Move proxy group and from building to own function

Currently no functional changes, but allows to make it more clear to
implement depsgraph construction from a given subset of scene.
September 25, 2019, 12:40 (GMT)
Motion paths: Limit updates to changed frame range only

The idea is to only update parts of motion paths which lies between
keyframes around changed frame.

The changed frames are considered to be from second previous to
second next one to work correctly with bezier handles interpolation.

Brings updates in the Rain test animation file from around 11 sec
down to 1 sec.
September 25, 2019, 12:40 (GMT)
Motion paths: Refactor, make update range more explicit

Allows to have a higher versatility in the API.

Should be no functional changes.
September 25, 2019, 12:40 (GMT)
Motion paths: Cleanup, de-duplicate code
September 25, 2019, 12:27 (GMT)
LibOverride: tweaks to custom props UI.

For now, do not allow to add custom props to overriding IDs (this should
be possible in the future, by getting basic correct behavior here is
already fairly hard, no reason to complicate things even more).

Also, properly disallow editing of existing custom props in overriding IDs.
September 25, 2019, 12:27 (GMT)
LibOverride: Fix 'overridable' flag desapearing when setting IDProp from py code.

Do not see any reason not to copy over the flag of the old, existing
IDProp to the new one when assigning (e.g. `C.object['prop'] = 0.5`
would nuke that IDProp flag).
September 25, 2019, 12:27 (GMT)
LibOverride: Fix several issues in handling of overridable status for IDProps.

The triple possible status of an PropertyRNA (actual C-defined prop,
py-defined IDprop behaving similar ot RNA one, or actual 'pure' custom
prop) is really confusing... Not to mention the _RNA_UI ugly thingy on
top of that. :/
September 25, 2019, 12:27 (GMT)
Cleanup: remove override's 'static' references in some py API docs strings.
September 25, 2019, 12:22 (GMT)
Cycles: Fix undefined behavior which can causes crashes with a misaligned address error

Cycles casts a pointer from ShaderDataTinyStorage to ShaderData, these structs by default had different alignments however (the former was 1-byte aligned, the latter 16-byte). This caused undefined behavior on at least the CUDA platform. Forcing both structs to use the same alignment fixes this.

CUDA toolkits newer than 10.1 run into this because of a compiler optimization.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5883
September 25, 2019, 10:44 (GMT)
Sculpt: Cleanup, use more suitable utility function

No functional changes, just more clear semantic and shorter call.
September 25, 2019, 10:43 (GMT)
Sculpt: Fix crash hovering mouse onto multire surface

The check around function which is only supposed to be used for
non-multires case was gone after aea8c0102ac.
September 25, 2019, 10:40 (GMT)
Sculpt: Cleanup, grant expected usage with asserts

Don't just rely on a comment next top the code, do an assert as well.

Also, don't use `default` since that silences compiler warnings when
new enumerators are added and related code is to be verified.

More switch statements might need an adjustment, but this is something
what is easier to go over by Pablo.
September 25, 2019, 09:21 (GMT)
Mantaflow: Fix for voxel indicator cube in domain object

Voxel indicator cube was not considering rotations of domain object
September 25, 2019, 08:32 (GMT)
Fix T69573: Driver Value does not slide along the actual value in the Driver Editor

This change is two-fold:

- Ensure the result of the F-Curve evaluation is stored on the FCurve
object. This was done in 2.79 but lost when we moved to more granular
per-curve evaluation from the depsgraph.
- Flush this result from the CoW copy back to the original.

Reviewed by: sergey

Differential Revision: https://developer.blender.org/D5888
September 25, 2019, 08:26 (GMT)
Fix T70236: voronoi misspelling in description
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021