diff options
author | Julian Eisel <julian@blender.org> | 2021-02-15 21:35:24 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-02-15 21:39:46 +0300 |
commit | 604e61d81d6326e665de6ec81dca2619e2cd5dbc (patch) | |
tree | 5d6bd388a0c6ed77e58dd3887bd77b0af7b93397 /source/blender/draw/engines | |
parent | 45852532d55be4fc7ab4f0f3be00983a78c69dea (diff) |
UI/Nodes: Adding node groups via drag & drop (e.g. from Asset Browser)
Adds `NODE_OT_add_group` operator to add a node group from a given name, and
uses that to register a node editor drop-box.
When dropping a node-group asset, the ID will be appended. This is what we do
for other ID assets too.
Should the node group insertion fail (e.g. the group is not compatible with the
current tree, as checked by the poll), the appended data-block is removed.
Differential Revision: https://developer.blender.org/D10405
Reviewed by: Jacques Lucke
Diffstat (limited to 'source/blender/draw/engines')
0 files changed, 0 insertions, 0 deletions