diff options
| author | Juan Linietsky | 2014-04-05 18:50:09 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2014-04-05 18:50:09 -0300 |
| commit | b4969373b3475799d6b24cdffeda4659c37f0b8a (patch) | |
| tree | 5cafdea68a5fe1f79c343c7cdf8def821e7f0b05 /scene/2d/canvas_item.cpp | |
| parent | 9f33134c93ecbadda70e8eefc50563e29b2eb7f2 (diff) | |
| download | godot-b4969373b3475799d6b24cdffeda4659c37f0b8a.tar.gz godot-b4969373b3475799d6b24cdffeda4659c37f0b8a.tar.zst godot-b4969373b3475799d6b24cdffeda4659c37f0b8a.zip | |
-HttpClient: ’Content-Length’ is added to httprequest if not provided in the headers and a body exists
-expressions in GDScript can take multiple lines if inside parenthesis (python-like)
-Added \ to force linebreaks to GDscript (python-like)
-added exclude objects from raycast
-fixed crashes
Diffstat (limited to 'scene/2d/canvas_item.cpp')
| -rw-r--r-- | scene/2d/canvas_item.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/2d/canvas_item.cpp b/scene/2d/canvas_item.cpp index 0f87d52d6..2e10ae2ed 100644 --- a/scene/2d/canvas_item.cpp +++ b/scene/2d/canvas_item.cpp @@ -350,8 +350,10 @@ void CanvasItem::_notification(int p_what) { if (xform_change.in_list()) get_scene()->xform_change_list.remove(&xform_change); _exit_canvas(); - if (C) + if (C) { get_parent()->cast_to<CanvasItem>()->children_items.erase(C); + C=NULL; + } } break; case NOTIFICATION_DRAW: { |
