30e3caaf8291811f9c86a5721a67a976d18e5af2
Dropbox poll function was not sufficiently checking compatibility, so we could end up calling `WM_drag_get_local_ID_or_import_from_asset`. The asset might not actually be used because of further checks later (so it would end up as an orphan which would go away after save/reload), but still the import should be avoided. This fixes the case for dropping a shader nodegroup to the Geometry Nodes Editor by getting asset metadata (and checking if the nodetree type matches editor) in the dropbox poll function. Will check on other possible cases of drag-drop to incompatible editors next. Pull Request: https://projects.blender.org/blender/blender/pulls/111921
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
