Blender Git Loki

Git Commits -> Revision effc048

Revision effc048 by Jeroen Bakker (master)
August 4, 2021, 06:58 (GMT)
T90371: Asset: Drop Material Tooltip.

This patch changes the drop named material tooltip to give feedback to
the user what is going to happen when they invoke the change.

There are 3 states:
* "": Operator will be canceled as not all data is present (dropping on
background.)
* "Drop <named material> on <object name> (slot <slot number>, replacing
<current material in slot>).
* "Drop <named material> on <object name> (slot <slot number).

Reviewed By: Severin

Maniphest Tasks: T90371

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

Commit Details:

Full Hash: effc0487106bc74590acf35a61541597b1149daa
Parent Commit: cd92b23
Lines Changed: +58, -10

6 Modified Paths:

/source/blender/editors/include/ED_object.h (+4, -0) (Diff)
/source/blender/editors/object/object_relations.c (+29, -0) (Diff)
/source/blender/editors/space_outliner/outliner_dragdrop.c (+6, -2) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+14, -2) (Diff)
/source/blender/windowmanager/intern/wm_dragdrop.c (+2, -5) (Diff)
/source/blender/windowmanager/WM_types.h (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021