mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Remove unnecessary code and add some error explanations
This commit is contained in:
parent
eaaff9da31
commit
3c154eb93b
48 changed files with 149 additions and 187 deletions
|
@ -156,9 +156,9 @@ void CurveEditor::on_gui_input(const Ref<InputEvent> &p_event) {
|
|||
Vector2 mpos = mm.get_position();
|
||||
|
||||
if (_dragging && _curve_ref.is_valid()) {
|
||||
Curve &curve = **_curve_ref;
|
||||
|
||||
if (_selected_point != -1) {
|
||||
Curve &curve = **_curve_ref;
|
||||
|
||||
if (!_has_undo_data) {
|
||||
// Save full curve state before dragging points,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue