mirror of
https://github.com/godotengine/godot.git
synced 2025-04-01 00:41:35 +08:00
Fix texture file dropping in 2D editor
This commit is contained in:
parent
6ad0ca8fcd
commit
283ec9e640
@ -5955,8 +5955,6 @@ bool CanvasItemEditorViewport::can_drop_data(const Point2 &p_point, const Varian
|
||||
continue;
|
||||
}
|
||||
memdelete(instantiated_scene);
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
can_instantiate = true;
|
||||
break;
|
||||
|
@ -3959,8 +3959,6 @@ bool Node3DEditorViewport::can_drop_data_fw(const Point2 &p_point, const Variant
|
||||
continue;
|
||||
}
|
||||
memdelete(instantiated_scene);
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
can_instantiate = true;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user