Blender Git Commits

Blender Git "master" branch commits.

Page: 316 / 5574

April 8, 2021, 15:26 (GMT)
Add ability to get a selection list of bones

This adds the ability to get a selection list for both edit mode bones
and pose mode bones.

To do this the selection menu list logic had to be reworked a bit.
Before it only stored the names of objects. This might work will of
objects, however as stated in the code, it might fail for linked objects
(so multiple object can have the same name in some corner cases).

For bones it is a very common occurance where you can have multiple
armature that has the same bone names. So now it also stores the object
and bone pointers for this case.

Reviewed By: Sybren

Differential Revision: https://developer.blender.org/D10570

Fix T85796
April 8, 2021, 15:09 (GMT)
EEVEE: Ensure Reflection: Use new implementation

Use same implementation as Cycles. Is also a bit faster.

Should also fix T86578 at the same time.
April 8, 2021, 13:52 (GMT)
Fix T81707: Spline IK Joints "Floating" above curve

The issue was that where_on_path uses a resampled curve to get the data
from the curve. This leads to disconnects between the curve the user
sees and the evaluated location data.

To fix this we simply use the actual curve data the user can see.

The older code needed a cleanup either way as there were hacks in other
parts of the code trying to work around some brokenness. This is now
fixed and we no longer need to clamp the evaluation range to 0-1 or make
helper functions to make it do what we actually want.

Reviewed By: Campbell, Sybren

Differential Revision: https://developer.blender.org/D10898
April 8, 2021, 13:51 (GMT)
Cleanup: modernize-use-equals-default

This was missing from rB19dfb6ea1f6745c0dbc2ce21839c30184b553878.
April 8, 2021, 12:15 (GMT)
Text Editor: don't force other views to follow the cursor

While the existing behavior worked as intended,
it wasn't possible to have two views on the same file at different
locations.

Since there isn't much use in having two views open at the same location
allow one view to be at a different scroll location.

UI edit-source and selecting a text data block now need explicit calls
to scroll to the cursor location.

Resolves T87284
April 8, 2021, 11:13 (GMT)
Fix T87291: assert on exit with preview render

Don't keep around persistent data in this case.
April 8, 2021, 11:13 (GMT)
Cleanup: renaming, comments and removing unused code in render pipeline
April 8, 2021, 10:39 (GMT)
Fix T85974: Edit-mode undo/redo causes assertion

Without legacy-undo, loading memfile undo only cleared edit-mode data
for mesh and armature object types.
This causes an assertion when loading edit-mode undo steps afterwards
for other object types as the existence of this data made entering
object mode fail.

Resolve this by freeing all objects types undo data from ED_editors_exit
April 8, 2021, 10:39 (GMT)
Object: add ED_object_editmode_free_ex utility function
April 8, 2021, 10:35 (GMT)
Cleanup: rename variable (using underscore separator)

Prepare for adding another variable that
reads poorly without a separator.
April 8, 2021, 10:34 (GMT)
Revert "Fix entering edit-mode when object mode and edit-data don't match"

Before this change, object-data could only have
one of the objects referencing it in edit-mode.

Reverting since multiple meshes in edit-mode (for the same object data)
isn't thread-safe as the evaluated edit-meshes are created in the
original edit-mesh, causing a crash updating the depsgraph
for linked duplicates, see: T86767.

While we could support this case, it's a bigger project without
significant benefits, so reinstate the limitation of only
allowing a single object to be in edit-mode for each object data.

This adds back the error from T85974 which caused an assertion
but didn't crash in release builds.

This reverts commit 2b60d7d09c51716e8d98834061c1a61ed6b96cf5.
April 8, 2021, 10:22 (GMT)
Cleanup: spelling
April 8, 2021, 10:19 (GMT)
PyAPI: ImBuf.copy now copies the underlying imbuf

Without this, copy wasn't useful.
April 8, 2021, 09:45 (GMT)
LibOverride: Fix several issues with resync code.

This commit essentially touches to post-processing of collections and
objects after resync itself has been done, to ensure their proper
instantiation in the scene:

- Remove a lot of the process in resync case (resynced data are assumed
to be already instantiated in the scene, unlike override creation
case).

- For auto-resync, only do post-processing once after all overrides
have been resynced (doing it after each individual resynced was
causing a lot of instantiation glitches, with a lot of unwanted
extra objects and collections being added to the master collection).

It also deals in a much more reliable way with detection of objects
missing from the scene, by using the new `BKE_scene_objects_as_gset`
utils.

As a bonus this makes auto-resync process slightly faster (only by a few
percents, but that's always good to get).
April 8, 2021, 09:45 (GMT)
Outliner Override: Tweak to order of error messages.
April 8, 2021, 09:45 (GMT)
Cleanup: Typos in comments.
April 8, 2021, 09:45 (GMT)
BKE_collection: Add a util returning a gset with all objects in given scene's collections.

This is internaly using the code of `BKE_scene_objects_iterator` and
steals its gset. More efficient than using that iterator directly to
rebuild another GSet...
April 8, 2021, 09:45 (GMT)
Minor cleanup to `scene_collection_array`.

Use array allocation, and remove useless check.
April 8, 2021, 09:45 (GMT)
Outliner: regroup more type of entries under a single icon.

In folded view, some type of data are listed as one icon per item,
others are 'compacted' as a single icon with a counter.

This commit adds bones (edit, normal and pose ones), pose groups and
vertex groups as 'compacted' ones in folded view.

Part of D10855.
April 8, 2021, 09:45 (GMT)
LibOverride: Add a dedicated view in the Outliner.

This is a minimal, information-only view currently, listing by default
all the override data-blocks, with their user-edited override
properties.

System-generated overrides (like the overrides of pointers to other
override data-blocks) can be shown through a filter option.

Finally, potential info or warning messages from (auto-)resync propcess
are also shown, as an icon + tooltip next to the affected items.

Part of D10855.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021