Blender Git Loki
Git Commits -> Revision e90a2a3
Revision e90a2a3 by Julian Eisel (master) January 24, 2021, 20:29 (GMT) |
Asset Browser: Avoid appending asset data-block when drop operator will fail For assets, the copy callback of the drop-box would append the asset data-block. Check if the operator's poll succeeds before calling the copy callback. Otherwise the data-block is "secretly" appended, which the user doesn't expect and won't notice without checking the file data in the Outliner. For masks I had to extend the poll function, it didn't check context sufficiently. |
Commit Details:
Full Hash: e90a2a3f01f97e1a32f869ff63c8d80e15197860
Parent Commit: f04206c
Lines Changed: +12, -3