Blender Git Commits

Blender Git "master" branch commits.

Page: 189 / 5574

August 3, 2021, 08:13 (GMT)
Fix T85436: Separate by loose parts doesn't show new objects

Only the "changed" state from the last edit-object was used,
this meant the operator would not perform the necessary update
with multi-object edit-mode.

Use "changed" & "changed_multi" naming convention.
Revision b54e741 by Falk David
August 3, 2021, 07:42 (GMT)
UI: Add light count to viewport statistics

Even though lights were part of `SceneStats`, they were not used when
rBfd10ac9acaa0 was committed.

This patch adds the light count back into the statistics. When a light is
the active object, it will display the total number of lights in the
scene, as well as how many lights are currently selected.

{F10141354}

Reviewed By: #user_interface, Severin, Blendify, harley

Maniphest Tasks: T88512

Differential Revision: https://developer.blender.org/D11387
August 3, 2021, 06:34 (GMT)
Revert "Fix spin-gizmo not allowing click events to select vertices"

This reverts commit 0b903755a9908344e9fcb4a33b4f0340abeb9386.

This caused T86030, left-mouse selection override clicking,
which is used for creating a full revolution.
August 3, 2021, 06:10 (GMT)
Cleanup: Hide implementation details for ED_keyframe_keylist.

For T78995 we want to change the data structure of keylists to
improve performance. (Probably a Vector with bin-search capabilities).

This patch hides the internal structure of the keylists behind `AnimKeylist`
structure. This allows us to change the internals without 'breaking' where it is
being used.

The change adds functions to create, free, find and walk over the
keylist.

Reviewed By: sybren

Maniphest Tasks: T78995

Differential Revision: https://developer.blender.org/D11974
August 3, 2021, 06:08 (GMT)
T90372: Assets: When dropping material use active material slot.

Currently when dropping an asset the first material slot is always updated.
This patch changes that logic to update the active material slot.

In future the behavior will be updated to use the material slot of the face under the cursor.
That requires better feedback tot he user.

Reviewed By: Severin

Maniphest Tasks: T90372

Differential Revision: https://developer.blender.org/D12056
Revision a53feb0 by Miguel G / Campbell Barton
August 3, 2021, 06:00 (GMT)
Fix T89691: Solidify modifier simple/complex inconsistency

Maintain the sign when clamping non zero offset.

Reviewed By: campbellbarton, weasel

Ref D11832
August 3, 2021, 05:27 (GMT)
Cleanup: use C++ comments or 'if 0' for commented code
August 3, 2021, 05:01 (GMT)
Fix crash adding custom normals

Caused by error converting this file to C++
eccdced972f42a451d0c73dfb7ce19a43c120d7f.
August 3, 2021, 02:22 (GMT)
Edit Mesh: Correct normal calculation for "Set From Faces"

Setting normals from faces wasn't weighting the faces contribution
by the corner angle, giving lop-sided results in some cases.

This removes the epsilon check for CLNORS_VALID_VEC_LEN,
in favor of matching the behavior of vertex normals exactly.
August 3, 2021, 00:15 (GMT)
Fix annotations placement option in the Movie Clip editor

In rB6ee14c966d05362228511756c4906e043b87e346 the enum items were renamed/removed, this change was not propagated to this setting
Revision efd7c95 by Hans Goudey
August 2, 2021, 19:45 (GMT)
Cleanup: Remove duplicate special case check
Revision a481337 by Hans Goudey
August 2, 2021, 19:43 (GMT)
Fix T90042: Spline tangent calculation assert with coincident points
Revision 4f6f445 by Hans Goudey
August 2, 2021, 18:21 (GMT)
Cleanup: Make spline settings copy function public

It will be useful in the spline type conversion node. Theoretically it
could become protected again if that conversion moves out of a node,
which might be a nice improvement after an initial version.
Revision 8b93265 by Hans Goudey
August 2, 2021, 17:47 (GMT)
Mesh: Tag normals dirty instead of calculating

Because mesh vertex and face normals are just derived data, they can
be calculated lazily instead of eagerly. Often normal calculation is
a relatively expensive task, and the calculation is often redundant
if the mesh is deformed afterwards anyway.

Instead, normals should be calculated only when they are needed. This
commit moves in that direction by adding a new function to tag a mesh's
normals dirty and replacing normal calculation with it in some places.

Differential Revision: https://developer.blender.org/D12107
August 2, 2021, 16:51 (GMT)
Fix T90356: Frame selected includes active strip

Don't include active strip in this operator.

This was confusing due to name of operator and inconsistent with other
editors.
Revision 67d56eb by Hans Goudey
August 2, 2021, 16:26 (GMT)
Cleanup: Remove unused/unecessary OpenVDB C API

This commit uses OpenVDB more directly for the voxel remesher, without
the extra indirection of copying to a Blender API. This makes the code
simpler, shorter, and easier to understand (though I didn't observe any
performance improvement).

This also removes the rest of the unused and undocumented OpenVDB C API,
which was written when Blender's code didn't really use C++, and doesn't
serve a purpose anymore. Those features will be implemented as nodes in
the future anyway (see D12100).

Differential Revision: https://developer.blender.org/D12097
August 2, 2021, 15:26 (GMT)
Fix T78469: Output Metadata: Strip Name no longer accessible

Caused by rB7fc60bff14a6.

This has actually been reported and closed, but that was clearly a
misunderstanding (above commit changed a checkbox to be an enum, but a
second checkbox was simply removed)

Maniphest Tasks: T78469

Differential Revision: https://developer.blender.org/D12084
August 2, 2021, 15:19 (GMT)
Revert "GHOST/X11: enable EGL"

This is causing issues for some users launching Blender, because EGL indirectly
requires GLVND, which is not installed by default on e.g. Ubuntu.

This reverts commit 0b18a618b88b22663e05eca0f4d976875710e7cc.

Fixes T90374

Ref D12034
August 2, 2021, 15:11 (GMT)
Fix T87041: Driver Editor not updated in realtime

Caused by {rBbbb2e0614fc3}

Since above commit only the playhead is updated as an overlay in
animation playback (was moved out of drawing of the main region for
perfomance reasons).
The driver value "debug" visualization is very useful to have during
playback though but was left in main region drawing as part of
`draw_fcurve` (thus does not update in realtime anymore).

Moving `graph_draw_driver_debug` into the overlay is not feasible
because it requires animation filtering which has significant overhead
which needs to be avoided in the overlay which is redrawn on every UI
interaction.

Now tag the whole main region for updates in the Driver Editor during
playback instead (which will make the Drivers Editor as slow during
playback as before rBbbb2e0614fc3 -- but with realtime updates of the
debug visualization).

Maniphest Tasks: T87041

Differential Revision: https://developer.blender.org/D12003
Revision d8bf332 by Julian Eisel
August 2, 2021, 15:00 (GMT)
Asset Browser: Adjust header pulldowns to be Asset Browser specific

So far the Asset Browser just showed the same menus as the File Browser.
Not all of their entries made sense for the Asset Browser though. I
decided to just give them entirely different classes to avoid confusing
if-else checks everywhere. I think the code duplication this adds is a
minor issue, it's better to keep things seperated clearly IMO.

* View menu: Add "Asset Details" toggle for the sidebar region.
* View menu: Remove recursion sub-menu
* View menu: Remove "File Path" region toggle, which doesn't apply for
the Asset Browser.

Differential Revision: https://developer.blender.org/D12057
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021