Blender Git Commits

Blender Git "master" branch commits.

Page: 285 / 5574

Revision 4411609 by Hans Goudey
May 4, 2021, 19:34 (GMT)
Fix: Incorrect type used for geometry nodes poly splines
Revision d28c461 by Julian Eisel
May 4, 2021, 18:31 (GMT)
Fix missing header & footer toggle chevrons in Spreadsheet

The little chevron tab to open a hidden region wouldn't show up in the
Spreadsheet editor. Cause was an incorrect GPU-scissor usage:
While drawing regions, the scissors should be kept enabled, just the
scissor rectangle should be updated - and afterwards reset to what it
was before.
Revision 5ea113a by Julian Eisel
May 4, 2021, 18:20 (GMT)
Fix missing header & footer toggle chevrons in Spreadsheet

The little chevron tab to open a hidden region wouldn't show up in the
Spreadsheet editor. Cause was an incorrect GPU-scissor usage:
While drawing regions, the scissors should be kept enabled, just the
scissor rectangle should be updated - and afterwards reset to what it
was before.
Revision b3ba41e by Julian Eisel
May 4, 2021, 16:17 (GMT)
Fix missing background of buttons after reports

Reports would change the active emboss of the Block, to make some of its
buttons appear without background. But it didn't reset it so that
buttons added afterwards wouldn't use the correct embossing.
May 4, 2021, 15:30 (GMT)
Fix compile error without Alembic

Thanks to @Severin for noticing and providing a little patch.
May 4, 2021, 14:46 (GMT)
GPencil: New Dilate parameter for Fill brush

Internally, when using Fill brush a dilate of the filled area was done, but this was hardcoded to 1 pixel.

In some situations, this was not enough, so now the value is accesible in the UI and can be set with different values.

Also, as this value is more used than `Leak Size`, the new Dilate is on Topbar, and Leak Size has been moved to Advanced panel.
May 4, 2021, 14:31 (GMT)
Gpencil - Fix stroke normal from D10171

In my previous patch https://developer.blender.org/D10171 some code changing the direction the strokes normal was accidentally included. This patch reverts that back to the original normal calculation.

Reviewed By: #grease_pencil, antoniov

Differential Revision: https://developer.blender.org/D11148
May 4, 2021, 14:25 (GMT)
Fix T87935: allow library overrides on NLA/FCurve modifiers

Mark NLA/FCurve modifier properties as library-overridable.

It was already allowed to add such modifiers to a library-overridden
object, but then the properties of those modifiers were read-only,
limiting their use.
May 4, 2021, 14:23 (GMT)
Animation: correct active track/strip pointers after copying NLA tracks

After copying NLA tracks from one `AnimData` to another, also ensure
that the `AnimData::act_track` and `AnimData::actstrip` pointers are
pointing to the copy rather than the original.

This is a necessary step to allow library overrides on NLA modifiers
without crashing Blender.

The remapping of the pointers is done by looping over the tracks/strips
and comparing pointers. Alternatively, I could update the copy functions
themselves to keep track of those pointers and return them, but IMO that
would produce more spaghetti (they're also used in cases where this
pointer-remapping is not desired).
May 4, 2021, 14:20 (GMT)
"File > External Data" menu improvements and cleanup

All changes:
* Include `file.pack_libraries` and `file.unpack_libraries` to the menu
[1].
* Rename "Pack Blender Libraries" ? "Pack Linked Libraries" [2].
* Rename "Unpack Blender Libraries" ? "Unpack Linked Libraries" [2].
* Rename "Pack All Into .blend" ? "Pack Resources" [3]
* Rename "Unpack All Into Files" ? "Unpack Resources" [3]
* Rename "? Automatically Pack Into .blend" ? "? Automatically Pack
Resources" [3]
* Rename "Make All Paths Relative" ? "Make Paths Relative" [4]
* Rename "Make All Paths Absolute" ? "Make Paths Absolute" [4]
* Add separators accordingly

---

[1] - This was never exposed since its original commit rB16411da41e40.
Now that operator not listed in menus don't
show up in the search, this became even more hidden.

[2] - The original name (Pack Blender Library) was not clear enough.
Pose Libraries and Asset Libraries are also technically Blender
libraries.

[3] - The term All was misleading since it didn't include the Linked
Libraries.

[4] - No need to use "All". It is not used in the Report/Find Missing
Files either.

This commit put this in the File > External Data menu.

Differential Revision: https://developer.blender.org/D11109
May 4, 2021, 14:20 (GMT)
Docs: "File > External Data pack operator" lookup for the manual
May 4, 2021, 13:20 (GMT)
Merge branch 'blender-v2.93-release'
May 4, 2021, 13:11 (GMT)
Fix T87489: Text Data-Blocks get deleted on Recursive Purge

Text data block were not considered special in the recursive purge
function. So they would get deleted if they had no actual users.

To fix this we instead make text data block use "fake user" so that
addon authors can specify script files that should be removed if nothing
is using it anymore.

Per default, new text object have "fake user" set. So functionality
wise, the user has to explicitly specify that they want the text object
to be purge-able.

Reviewed By: Bastien

Differential Revision: https://developer.blender.org/D10983
May 4, 2021, 12:47 (GMT)
Fix T87489: Text Data-Blocks get deleted on Recursive Purge

Text data block were not considered special in the recursive purge
function. So they would get deleted if they had no actual users.

To fix this we instead make text data block use "fake user" so that
addon authors can specify script files that should be removed if nothing
is using it anymore.

Per default, new text object have "fake user" set. So functionality
wise, the user has to explicitly specify that they want the text object
to be purge-able.

Reviewed By: Bastien

Differential Revision: https://developer.blender.org/D10983
May 4, 2021, 08:16 (GMT)
Geometry Nodes: refactor instances component

The main goal of this refactor is to not store Object/Collection
pointers for every individual instance. Instead instances now
store a handle for the referenced data. The actual Object/Collection
pointers are stored in a new `InstanceReference` class.

This refactor also allows for some better optimizations further down
the line, because one does not have to search through all instances
anymore to find what data is instanced.

Furthermore, this refactor makes it easier to support instancing
`GeometrySet` or any other data that has to be owned by the
`InstancesComponent`.

Differential Revision: https://developer.blender.org/D11125
May 3, 2021, 23:07 (GMT)
Merge branch 'blender-v2.93-release'
May 3, 2021, 22:58 (GMT)
Fix (unreported): 'CoInitializeEx' being called without 'CoUninitialize'

Problem introduced in {rB1f223b9a}.

This was possibly causing random crashes in Blender file browser when
compiled with ASAN.

Microsoft documents indicate that any call to `CoInitializeEx` must be
balanced by a corresponding call to `CoUninitialize`.

https://docs.microsoft.com/en-us/windows/win32/api/combaseapi/nf-combaseapi-coinitializeex#remarks
May 3, 2021, 20:45 (GMT)
Fix errors in Cycles comments
May 3, 2021, 20:10 (GMT)
Fix T87982: crash switching render slots while render is in progress
May 3, 2021, 20:10 (GMT)
Fix T88001: persistent data render wrong when changing camera border
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021