diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-02-15 08:29:46 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-02-15 08:34:02 -0300 |
commit | da11d6d9e868db674cb18ced0544c84e3356be8d (patch) | |
tree | cfc9ce1235e34c0fee160e00c340a1163474a024 /scene/2d/canvas_item.cpp | |
parent | d7fd86d51aadda665667c88dca657993f0de14d7 (diff) | |
download | redot-engine-da11d6d9e868db674cb18ced0544c84e3356be8d.tar.gz |
Many fixes to make exported scenes work better, still buggy.
Diffstat (limited to 'scene/2d/canvas_item.cpp')
-rw-r--r-- | scene/2d/canvas_item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/canvas_item.cpp b/scene/2d/canvas_item.cpp index 3574a39940..4f7acf7f97 100644 --- a/scene/2d/canvas_item.cpp +++ b/scene/2d/canvas_item.cpp @@ -747,12 +747,12 @@ float CanvasItem::draw_char(const Ref<Font>& p_font,const Point2& p_pos, const S void CanvasItem::_notify_transform(CanvasItem *p_node) { - if (p_node->xform_change.in_list() && p_node->global_invalid) + if (/*p_node->xform_change.in_list() &&*/ p_node->global_invalid) return; //nothing to do p_node->global_invalid=true; - if (notify_transform && !p_node->xform_change.in_list()) { + if (p_node->notify_transform && !p_node->xform_change.in_list()) { if (!p_node->block_transform_notify) { if (p_node->is_inside_tree()) get_tree()->xform_change_list.add(&p_node->xform_change); |