Blender Git Loki

Kaikki Blender Git kommitit.

Page: 2066 / 8462

November 13, 2019, 03:25 (GMT)
Cleanup: clang-format
November 13, 2019, 03:25 (GMT)
Fix in addition to T61432: Sampling Subframes not working 2.8

As mentioned in the discussion, emission from particles did not make use of subframes. This commit resolves this issue.
November 13, 2019, 03:25 (GMT)
Stretch To: implement a mode similar to Damped Track for rotation.

Most of the time Stretch To is used in actual rigs, like BlenRig
or Rigify, in combination with Damped Track to handle rotation
before the stretch, because it produces rotations more appropriate
for organic deformation, and doesn't flip because of internal
gimbal lock.

The prevalence of this pattern suggests that Stretch To should
support that kind of rotation directly as an option.

Differential Revision: https://developer.blender.org/D6134
November 13, 2019, 03:25 (GMT)
Stretch To: clean up the math code in the implementation.

Combine computing `size` and normalizing the matrix, invert the
direction of `vec` to avoid negating it later, use `rescale_m4`
instead of matrix multiplication to scale the final result.

Differential Revision: https://developer.blender.org/D6134
November 13, 2019, 03:25 (GMT)
Fix T70875: Library Override: Clicking an Library Overriden Object crashes Blender.

We also need to rebuild the whole collection/viewlayer object cache
thing when we relink an objector collection in a collection (since it
might be part of a view layer).

Again, usual disclaimer about how inneficient this is currently, needs a
serious refactor to only tag caches as dirty, and actually rebuild the
whole thing on access.
November 13, 2019, 03:25 (GMT)
Cleanup: remove debugging prints for bpy.msgbus
November 13, 2019, 03:25 (GMT)
Cycles: Fix strict compiler warning

Pointer used for math arithmetics in assert().
CUDA device pointer is actually an integer type, not a pointer.
November 13, 2019, 03:25 (GMT)
Fix T69822: Switching sculpt objects breaks undo

This introduces object mode tagging for data which hasn't yet been
written back to the ID data.

Now when selecting other sculpt objects, the original objects data is
flushed back to the ID before writing a memfile undo step.
November 13, 2019, 03:04 (GMT)
Fix sculpt + undo curve crash

PaintCurve data ID data wasn't being remapped.
Error in initial undo refactor.
November 13, 2019, 02:33 (GMT)
Fix T71494: brush curve transform crash in sculpt mode

Error in 309cd047ef46f
November 12, 2019, 21:13 (GMT)
GPencil: Add support to Vertex Paint for Eyedropper tool
November 12, 2019, 17:45 (GMT)
GPencil: Add small color box to context menu
November 12, 2019, 16:35 (GMT)
USD: Marked `USDHierarchyIterator::stage` as `const`

No functional changes.
November 12, 2019, 16:32 (GMT)
USD: Made all fields in `USDExporterContext` const

No functional changes.
November 12, 2019, 16:31 (GMT)
GPencil: Fix double Brush initialization
November 12, 2019, 16:31 (GMT)
USD: No longer unpack USDExporterContext struct

The `USDExporterContext` struct contents were duplicated in the
`USDAbstractWriter` member properties, a decision which in retrospect I
don't agree with.

No functional changes.
November 12, 2019, 16:20 (GMT)
UI: Changes to graph editor selection and transform

When introducing "drag-all-selected" support all over Blender, we figured this wouldn't work well with the Graph Editor selection/transform behavior.
Hence, William and I have been working on the following changes, although we used this chance to improve the behavior in general too.
For more info see T70634.

* Handles now always move with the key, regardless if they are selected or not.
* Selecting the key doesn't select the handles anymore, their selection is separate.
* Multiple keys and handles can now be dragged.
* Dragging a handle moves all selected handles on the same side.
* Tweak-dragging any handle can never affect any keyframe location, only handles
* G/R/S should behave as before.
* Changing the handle type with a key selected always applies the change to both handles.
* Box selection with Ctrl+Drag now allows deselecting handles.
* Box selection Include Handles option now only acts on visible handles, wasn't the case with Only Selected Keyframes Handles enabled.
* Box selection Include Handles is now enabled by default in all bundled keymaps.

If needed I can give more detailed rationales for each change, but keeping this short.

The changes have been tested for some days by the animators here in the Blender Animation Studio. Some changes are based on their feedback.

Differential Revision: https://developer.blender.org/D6235
November 12, 2019, 16:17 (GMT)
USD: added extra comments and reordered functions

Added extra comments to explain more of the structure of the
`AbstractHierarchyIterator`, and reordered function declarations in the
header file so that it's easier to understand. Also reordered the code
in the CC file so that it has the same order as the declarations.

No functional changes.
November 12, 2019, 16:15 (GMT)
GPencil: Hide Edit lines in Vertex Paint mode
November 12, 2019, 16:09 (GMT)
Codesign: Re-enable INSTALL target on Windows

Skipping INSTALL target makes it so regression tests can not be run.

Easiest and safest is to simply sign both INSTALL target and CPack.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021