diff options
| author | Rémi Verschelde | 2018-04-19 13:04:41 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2018-04-19 15:20:45 +0200 |
| commit | bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25 (patch) | |
| tree | 40f6fa11f7dd41fd51343af01e1e298a2f7fd859 /editor/plugins/canvas_item_editor_plugin.cpp | |
| parent | 394e6d5ee1479d402892d6df75dddceeb967efcc (diff) | |
| download | godot-bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25.tar.gz godot-bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25.tar.zst godot-bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25.zip | |
Diffstat (limited to 'editor/plugins/canvas_item_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/canvas_item_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/canvas_item_editor_plugin.cpp b/editor/plugins/canvas_item_editor_plugin.cpp index bb94aee46..cf4ce891e 100644 --- a/editor/plugins/canvas_item_editor_plugin.cpp +++ b/editor/plugins/canvas_item_editor_plugin.cpp @@ -628,7 +628,7 @@ void CanvasItemEditor::_save_canvas_item_state(List<CanvasItem *> p_canvas_items if (bone && bone->has_meta("_edit_bone_")) { // Check if we have an IK chain List<Node2D *> bone_ik_list; - bool ik_found; + bool ik_found = false; bone = Object::cast_to<Node2D>(bone->get_parent()); while (bone) { bone_ik_list.push_back(bone); |
