mirror of
https://github.com/godotengine/godot
synced 2024-09-05 01:18:49 +00:00
Merge pull request #90102 from themancalledjakob/fix-drag-drop-shadermaterial
Allow drag and dropping ShaderMaterial in 3D viewport
This commit is contained in:
commit
f202ebb495
|
@ -4519,7 +4519,7 @@ bool Node3DEditorViewport::can_drop_data_fw(const Point2 &p_point, const Variant
|
|||
Ref<BaseMaterial3D> base_mat = res;
|
||||
Ref<ShaderMaterial> shader_mat = res;
|
||||
|
||||
if (base_mat.is_null() && !shader_mat.is_null()) {
|
||||
if (base_mat.is_null() && shader_mat.is_null()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue