summaryrefslogtreecommitdiff
path: root/tools/editor
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor')
-rw-r--r--tools/editor/plugins/polygon_2d_editor_plugin.cpp1
-rw-r--r--tools/editor/property_editor.cpp2
2 files changed, 0 insertions, 3 deletions
diff --git a/tools/editor/plugins/polygon_2d_editor_plugin.cpp b/tools/editor/plugins/polygon_2d_editor_plugin.cpp
index fc71a64dbd..3e9c58d604 100644
--- a/tools/editor/plugins/polygon_2d_editor_plugin.cpp
+++ b/tools/editor/plugins/polygon_2d_editor_plugin.cpp
@@ -755,7 +755,6 @@ void Polygon2DEditor::edit(Node *p_collision_polygon) {
canvas_item_editor=CanvasItemEditor::get_singleton();
}
-
if (p_collision_polygon) {
node=p_collision_polygon->cast_to<Polygon2D>();
diff --git a/tools/editor/property_editor.cpp b/tools/editor/property_editor.cpp
index 9989169b0e..fc5fce1d47 100644
--- a/tools/editor/property_editor.cpp
+++ b/tools/editor/property_editor.cpp
@@ -3108,8 +3108,6 @@ void PropertyEditor::update_tree() {
item->add_button(1,get_icon("Reload","EditorIcons"),3);
}
}
- } else {
- print_line("no default value!");
}