diff options
| author | Juan Linietsky | 2018-05-17 18:02:16 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2018-05-17 18:03:05 -0300 |
| commit | 4b5227ff7755aa19aa57452c49e9466252fcb4a0 (patch) | |
| tree | 2adcced443c368d5d2ad2c71e2fae631af1e2411 /editor/plugins/polygon_2d_editor_plugin.cpp | |
| parent | 3183375135e7e9d7bdab2b318dd74f672ebda27d (diff) | |
| download | godot-4b5227ff7755aa19aa57452c49e9466252fcb4a0.tar.gz godot-4b5227ff7755aa19aa57452c49e9466252fcb4a0.tar.zst godot-4b5227ff7755aa19aa57452c49e9466252fcb4a0.zip | |
-Ability to open resources in the same window
-Plenty of fixes and improvements to new inspector
-Fixes that were needed to make inspector work better
Diffstat (limited to 'editor/plugins/polygon_2d_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/polygon_2d_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/polygon_2d_editor_plugin.cpp b/editor/plugins/polygon_2d_editor_plugin.cpp index f04e0a801..ed41e1931 100644 --- a/editor/plugins/polygon_2d_editor_plugin.cpp +++ b/editor/plugins/polygon_2d_editor_plugin.cpp @@ -1035,6 +1035,7 @@ Vector2 Polygon2DEditor::snap_point(Vector2 p_target) const { Polygon2DEditor::Polygon2DEditor(EditorNode *p_editor) : AbstractPolygon2DEditor(p_editor) { + node = NULL; snap_step = Vector2(10, 10); use_snap = false; snap_show_grid = false; |
