Blender Git Commit Log

Git Commits -> Revision 7c9e409

Revision 7c9e409 by Philipp Oeser (master)
December 17, 2021, 12:58 (GMT)
Outliner ID Remap Users: hide ID type from the UI

The correct type should be set by invoke already, changing it to a non-
matching type (e.g. trying to remap Mesh users with a Camera block) does
not really make sense afaict, reason being that we would be presented
with the "Invalid old/new ID pair" message in such case anyways (code
checks GS(old_id->name) == GS(new_id->name)).

This alone wouldnt be a pressing issue, but since doing this with an
object ID type crashes atm., it seems to make sense to clean this up now
(of course the crash should be looked into, but this is for a separate
patch -- if that is solved, we could also think about adding the "Remap
Users" entry back in the context menu for objects as well [which was
removed in rB17bd5c9d4b1e for some reason]).

Part of T93799.

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

Commit Details:

Full Hash: 7c9e4099854a4fc8eab4db97173c1aacd25f9e08
Parent Commit: 9690b7c
Lines Changed: +2, -0

1 Modified Path:

/source/blender/editors/space_outliner/outliner_edit.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021