Blender Git Loki

Kaikki Blender Git kommitit.

Page: 2324 / 8462

July 26, 2019, 14:19 (GMT)
Reorganize BKE_profile_widget.h
July 26, 2019, 14:19 (GMT)
WM: Pre-fill bug-reports for addons

This is an increment of the proposed changes in D4507.

Differential Revision: https://developer.blender.org/D5303
July 26, 2019, 13:16 (GMT)
GPencil: Get current frame from scene

This change makes it so current frame is queried from a scene rather
than from a dependency graph. This makes it possible to avoid the
fact that dependency graph might not be fully evaluated yet.

There are still some cases where it frame is queried from the graph,
but those seems to be in a code path where we need to ensure valid
dependency graph anyway.

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5349
July 26, 2019, 13:16 (GMT)
Cleanup: Remove unused depsgraph pointer
July 26, 2019, 12:45 (GMT)
Modifiers: Update LaplacianDeform error message about vgroups.

Vgroup might be also 'invalid' because it is empty (and no other vgroup
with vertices currently exists on that mesh).

Related to T67385.
July 26, 2019, 12:33 (GMT)
Fix T66325: Animation Keyframe Undo/Redo Bug

The issue was caused by dependency graph always ignoring animation
update when it is first time constructed. This was a way to make it
preserve unkeyed changes on undo/redo. This, however, made it so
changes of animation data itself (such as deleting/moving keyframes)
did not trigger animation update by the dependency graph.

This worked prior to copy-on-write because animation recalc flags
were stored in the DNA and never re-set on file/undo load. This was
giving dependency graph a clue that animation is to be re-evaluated
when operator explicitly asked to (more precisely, when such operator
was undone/redone).

This change makes it so original ID's recalc flags are storing
recalc flags when ID is tagged for update as an response to user
input. This way re-building dependency graph can force animation
to be updated on redo.

Tricky part here is that ID's recalc flag is no longer to be zeroed
when loading undo step (which is the same as reading .blend file).
This is something what works differently comparing to legacy
dependency graph, which was zeroing object's recalc flags there but
not animation data's recalc flags.
Shouldn't be causing issues, since unkeyed changes are not preserved
upon opening a file anyway, at least to my knowledge.

Related reports which are to be taken into account and verified
they are not re-introduced when making changes in the area:

- T63111: Auto-Bake stuck at constant re-rendering
- T54296: Cycles viewport render stuck on constant re-render

Reviewers: campbellbarton, brecht

Reviewed By: campbellbarton, brecht

Maniphest Tasks: T66325

Differential Revision: https://developer.blender.org/D5316
July 26, 2019, 11:55 (GMT)
Fix T67639: Default cube UVs are incorrectly arranged
July 26, 2019, 11:41 (GMT)
Fix T67595: bevel concave cube corner.

The special case test for cube-like corner did not work if normals
are flipped.
July 26, 2019, 11:29 (GMT)
Fix T67671: Blender crashes when resizing sidebar with a colorbamp

The amount of triangles drawn by the button depends on its `sizex`.
See:
```
immBegin(GPU_PRIM_TRI_STRIP, (sizex + 1) * 2);
```
Therefore the `sizex` cannot be 0.

Solution a bit similar to rB56b0cd1d.

Ref T67671

Reviewers: fclem, brecht

Maniphest Tasks: T67671

Differential Revision: https://developer.blender.org/D5347
July 26, 2019, 10:16 (GMT)
Add support for linear interpolation on bounding box
July 26, 2019, 10:05 (GMT)
Fix missing ID pointer updates for texture paint undo

Partial fix for T61263, however mem-file undo sometimes reloads imbuf's.
July 26, 2019, 10:04 (GMT)
Undo System: correct fix for T67709
July 26, 2019, 09:51 (GMT)
Cleanup: Remove unused depsgraph pointer
July 26, 2019, 09:42 (GMT)
USD: Export vertex velocities for fluid simulations

Currently only fluid simulations have explicit vertex velocities. This
is the most important case for exporting velocities, though, as the
baked mesh changes topology all the time, and thus computing the
velocities at import time in a post-processing step is hard.
July 26, 2019, 09:29 (GMT)
Cleanup: Fixed some warnings in editor/lanpr.
July 26, 2019, 08:47 (GMT)
GPencil: two modifiers from LANPR branch.
July 26, 2019, 08:23 (GMT)
Fix T66378: Missing animation update when switching view layer

Current frame is stored in a scene, and scene might have multiple view
layers. The inactive view layers were not informed about scene's frame
being changed, so when user switched back to view after changing scene
frame it was in an inconsistent state between current scene frame and
animation.

Now we tag scene for time changes, so dependency graph can catch up
and do proper update.

Currently tagging is from quite generic place. Probably better approach
would be to tag from where frame is actually being assigned. Downside
of this is that it's easy to miss some places.

Reviewers: brecht, mont29

Reviewed By: brecht

Maniphest Tasks: T66378

Differential Revision: https://developer.blender.org/D5332
July 26, 2019, 08:16 (GMT)
LANPR: UI refactor: line layer ui list use name.
July 26, 2019, 08:15 (GMT)
Fix T67507: Set origin on armature moves incorrectly parented objects

Need to copy changes from original armature to evaluated one prior to
BKE_pose_where_is(), otherwise the pose matrix in pose channels will
not be correct.

Can not use dependency graph update here, since we must not re-evaluate
possible dependencies of the changed armature.

Reviewers: brecht

Reviewed By: brecht

Maniphest Tasks: T67507

Differential Revision: https://developer.blender.org/D5331
July 26, 2019, 07:59 (GMT)
LANPR: UI refactor: collection usage panel.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021