summaryrefslogtreecommitdiff
path: root/editor/plugins/curve_editor_plugin.h
diff options
context:
space:
mode:
authorMarc Gilleron <marc.gilleron@gmail.com>2017-06-28 02:42:38 +0200
committerMarc Gilleron <marc.gilleron@gmail.com>2017-06-28 02:43:30 +0200
commit6c1ab2098f5f399cc1ef09c7759604c5c671b4e7 (patch)
tree11a6233a484268ec7b7b2cd061a174bb6a857d87 /editor/plugins/curve_editor_plugin.h
parent6fd4311c27625a5c725fcf525bbbf04fbbf9c56f (diff)
Fix curve saving, refined undo/redo
Diffstat (limited to 'editor/plugins/curve_editor_plugin.h')
-rw-r--r--editor/plugins/curve_editor_plugin.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/plugins/curve_editor_plugin.h b/editor/plugins/curve_editor_plugin.h
index 39d9b84d88..a4952dfb28 100644
--- a/editor/plugins/curve_editor_plugin.h
+++ b/editor/plugins/curve_editor_plugin.h
@@ -88,7 +88,6 @@ private:
void toggle_linear(TangentIndex tangent = TANGENT_NONE);
void set_selected_point(int index);
void set_hover_point_index(int index);
- void push_undo(Array previous_curve_data);
void update_view_transform();
Vector2 get_tangent_view_pos(int i, TangentIndex tangent) const;
@@ -108,7 +107,6 @@ private:
Array _undo_data;
bool _has_undo_data;
- bool _undo_no_commit;
Vector2 _context_click_pos;
int _selected_point;