mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Fixed bug that prevented creating polygons.
This commit is contained in:
parent
46439b573a
commit
b2d2116a3a
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ bool CollisionPolygon2DEditor::forward_gui_input(const Ref<InputEvent> &p_event)
|
|||
if (!node)
|
||||
return false;
|
||||
|
||||
Ref<InputEventMouseButton> mb;
|
||||
Ref<InputEventMouseButton> mb = p_event;
|
||||
|
||||
if (mb.is_valid()) {
|
||||
Transform2D xform = canvas_item_editor->get_canvas_transform() * node->get_global_transform();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue