Blender Git Commit Log

All Blender Git commits.

Page: 1223 / 8462

October 7, 2020, 14:25 (GMT)
PyDoc: Remove workaround for slow sphinx builds

Tesing with newer versions of sphinx to directory `sphinx-build` is
executed has no affect on the build time. Testing even gave a 2-3% speed
boost.
October 7, 2020, 14:18 (GMT)
CleanUp: DrawManager Balanced alloc/free of surface_per_mat cache

The alloc was done in the init, but the free was done in the discard.
As discarding can happen more often there were some unneeded if
statements to work around use after free.

This patch moves the free to the `mesh_batch_cache_clear` and removes
the if statements to check for use after free.
October 7, 2020, 14:18 (GMT)
CleanUp: Introduce `eMeshBatchDirtyMode` enum

It used to be an `int mode`.
October 7, 2020, 13:53 (GMT)
Fix / cleanup panel category tab drawing

The panel category tabs (In the 3D view N-panel) did not look great
when zoomed in or with high DPI screens, with multiple overlapping
outlines, and roundness that didn't match elsewhere in Blender. In
addition, there was some unecessarily low-level drawing code in the
panel code.

This commit uses an existing function `UI_draw_roundbox_4fv`to draw
the tabs instead. There are some slight visual differences, though
these are easily adjusted with theme colors.

Differential Revision: https://developer.blender.org/D9045
Revision 983ad42 by Hans Goudey (master)
October 7, 2020, 13:27 (GMT)
Fix T76595: Indicate the Active Keyframe in Graph Editor

In the graph editor there is a panel that says "Active Keyframe" for
numerically editing a keyframe's values, but in the code there is no
concept of the "active keyframe." Since this is a useful concept to
have for some other features anyway, this commit adds an active
keyframe index value to FCurves. It also displays it with a theme
color for the active vertex (which didn't exist before) if the
FCurve is active.

The active keyframe in the graph editor is treated similarly to the
active vertex in the 3D view. It is the keyframe most recently selected
with a single click, and it is always selected.

For now, the only real functional change is that the active keyframe
appears in white and it should be more predictable which keyframe is
being edited in the sidebar panel.

Differential Revision: https://developer.blender.org/D7737
October 7, 2020, 13:24 (GMT)
Cleanup: improve integer types

Reviewers: mont29, brecht

Differential Revision: https://developer.blender.org/D9135
October 7, 2020, 13:17 (GMT)
UI: Improve labels in "Convert To" menu

Move the information about the type of the source objects to the item
descriptions instead of the names. The extra information in the names
made the labels cluttered, and it's less important information.

Differential Revision: https://developer.blender.org/D8352
October 7, 2020, 13:04 (GMT)
UI: Fix capitalization in various places

Follow the MLA style, agreed upon in T79589. This means "from" within UI
labels should be lowercase.

Differential Revision: https://developer.blender.org/D8345
October 7, 2020, 12:49 (GMT)
UI: Use property split in various pop-up dialogs

The settings in these popups are not animateable, so also turn off
property decorate. And also use better widths in order to fit the
full text.

Differential Revision: https://developer.blender.org/D9060
October 7, 2020, 12:40 (GMT)
UI: Reduce item padding in the gpencil edit context menus

Aligning the columns removes unecessary white space.
The same as in the D8480 / rBb2e0c8f902fa.

Differential Revision: https://developer.blender.org/D9111
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:46 (GMT)
Fix T76595: Indicate the Active Keyframe in Graph Editor

Currently there is a panel that says "Active Keyframe" for numerically editing one keyframe's values, but in the code there is no concept of the "active keyframe."

This patch adds an "active keyframe index" to each FCurve, and displays it with a theme color for the active vertex (which didn't exist before) if the FCurve is active.

{F8536092 size=full}

The active keyframe is not currently set for select operations other than basic click-select, which mirrors the behavior in the 3D view.

Reviewed By: Severin, looch

Maniphest Tasks: T76595

Differential Revision: https://developer.blender.org/D7737
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.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021