Blender Git Commits

Blender Git "master" branch commits.

Page: 548 / 5574

October 7, 2020, 12:09 (GMT)
Fix T79184: Specular highlight turns object black on some studio lights

This case was leaving some data uninitialized, producing some NaNs in the
fragment shader.
October 7, 2020, 12:09 (GMT)
GPU: Fix assert when using gpu workaround and SSS + light renderpass

This path makes use of more framebuffers when using the gpu workarounds.
Increase the MAX FBO attachments per texture. Maybe we could use a growing
vector in the future.
October 7, 2020, 12:09 (GMT)
GPU: Avoid blit operation modifying the wrong framebuffer during restore

At the end of `GPU_framebuffer_blit` when `prev_fb->bind(true);` is called,
the `context_->active_fb` was not in sync and lead to the wrong framebuffer
being modified by bind function.

This fix T81055 SSS light is missing from the diffuse light render pass
October 7, 2020, 10:56 (GMT)
Fix T81226: Crash opening 64bit files with endian switching

Endian switching when loading 64bit blend files on a 64bit system was
crashing as the endian switching is only applicable when loading
on 32 bit systems.

This crash goes back to 2.7x, it looks like this never worked
all the way back to the first commit.
October 7, 2020, 10:41 (GMT)
Cleanup: Alembic, fix compiler warning about missing declaration

Mark the `has_animated_geom_params()` function as `static`, as it's only
used in that particular compilation unit.

No functional changes.
October 7, 2020, 10:41 (GMT)
Fix T67776: Animation/value keyframe slider doesn't appear in dope sheet

Avoid overwriting user-chosen `SACTION_SLIDERS` flag when switching the
Dope Sheet editor to Shape Key mode. The Shape Key mode now ignores the
flag, and always shows the sliders.

The obvious limitation is that you can't hide the sliders in the Shape
Key editor anymore

Reviewed By: looch, sybren

Differential Revision: https://developer.blender.org/D9121
October 7, 2020, 10:35 (GMT)
IDTypeInfo: add flag to indicate that ID has no animation data

This is part of T75724.

Reviewers: mont29

Differential Revision: https://developer.blender.org/D9134
October 7, 2020, 09:14 (GMT)
Cleanup: add comment
October 7, 2020, 09:09 (GMT)
Refactor: Remove `BKE_XXX_localize()`, in favor of using regular ID copying code.

Besides the NodeTree case (which remains unchanged), the localize code
is only used in one place (to generate previews of shading data-blocks).

This commit introduces a new `LIB_ID_CREATE_LOCAL` option for ID
creation/copying, which essentially implements the behavior of the
removed `BKE_XXX_localize()` functions into regular mainstream ID copy
code. When this option is set:
- new ID is tagged with `LIB_TAG_LOCALIZED`;
- Some ID copying callbacks have specific behaviors, mainly the root
nodetree of shading IDs gets duplicated with specialized
`ntreeLocalize()` function.

Note that I would not consider getting rid of `ntreeLocalize` for now,
this function is recursive, which should ideally never happen within ID
management copying code (this introduces all kind of complications).

No behavioral change expected from this commit.
October 7, 2020, 09:09 (GMT)
Cleanup: IDManagement: Localize: tweak to flags.

Add a specific flag for nodetree deep-copy special localization code.

And add a new `LIB_ID_CREATE_LOCALIZE` flag, similar to
`LIB_ID_COPY_LOCALIZE`, for creation purposes.

No behavioral changes expected here.
October 7, 2020, 08:56 (GMT)
Fix T81330: Alembic Import ignores constant meshes with animated vertex
colors

If the mesh was constant, no check was done if there were animated
vertex colors and thus creation of a MeshSequenceCache modifier was
skipped.

Thx @sybren for feedback!

Maniphest Tasks: T81330

Differential Revision: https://developer.blender.org/D9057
October 7, 2020, 08:26 (GMT)
UI: Hide fade inactive geometry overlay settings for unsupported modes

If this doesnt work in a particular mode, it would be better to indicate
that in the Overlay popup.

Differential Revision: https://developer.blender.org/D8981
October 7, 2020, 08:18 (GMT)
Silence CLOG error about usercount of deprecated IPO IDs.
October 7, 2020, 08:18 (GMT)
Fix T81272: Crash on opening old files where nodetrees had no name.

This code gets called before do_version can fix that, so we have to work
around it for now.
October 7, 2020, 08:15 (GMT)
Fix T81461: Weight paint crash with "Vertex Groups X Symmetry" option

In that case, weightpainting would still be done threaded, but current
mirroring code cannot be run in parallel.

Caused by rB5502517c3c12 [which was checking mesh 'flag', needs to be
'editflag' -- thus test was always true].

Reviewers: pablodp606

Maniphest Tasks: T81461

Differential Revision: https://developer.blender.org/D9126
Revision 099ce95 by Hans Goudey
October 6, 2020, 20:17 (GMT)
UI: Add auto keyframing popover

For other areas in Blender that have a toggle and related settings,
we put a popover with the settings right next to the toggle. This
combination is nice because it organizes the settings without making
interaction slower. It also makes the settings more discoverable since
they're right next to the toggle.

Differential Revision: https://developer.blender.org/D8537
October 6, 2020, 19:20 (GMT)
Fix T81465: Snapping to edge center doesn't work as expected when using axis locking

The result was being affected by the view alignment correction.

Regression introduced in rB4eda60c2d82d
Revision 43ceea3 by Hans Goudey
October 6, 2020, 18:07 (GMT)
Fix T81488: Deleting an Object Constraint crashes Blender

The edit_constraint_property_get function was using bone constraints
in pose mode even for object constraints. This change mirrors the code
in `uiTemplateConstraints` as well.

Differential Revision: https://developer.blender.org/D9128
October 6, 2020, 16:35 (GMT)
Fluid: Enable new flood-fill helper function

The flood-fill helper serves as a sanity check for scenes with complex obstacles. Similarly to the holes filler function it ensures that there are no holes in obstacles.

In addition, it ensures that there will be no holes resulting from multiple intersecting obstacles.

In general, this commit should improve stability.
October 6, 2020, 16:35 (GMT)
Fluid: Updated Mantaflow source files

Among code cleanups, this update includes a new flood-fill helper function for levelsets.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021