diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-08-24 08:54:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 08:54:05 +0200 |
commit | 792f7cc28c346a06564f6da54520cb02a837f04d (patch) | |
tree | 4c9ed9d3e6fa314327b3dc39f552df7ebb8384a2 /editor/animation_track_editor.cpp | |
parent | 7055200bb00d23281224fccfca64549525faea57 (diff) | |
parent | dd814a0dca13d28edf20d71c79bb0a0d99954685 (diff) |
Merge pull request #63282 from V-Sekai/disable_foreign_resource_edits
Disable editing properties in foreign resources
Diffstat (limited to 'editor/animation_track_editor.cpp')
-rw-r--r-- | editor/animation_track_editor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp index 7fa7b45f85..5df413f0a7 100644 --- a/editor/animation_track_editor.cpp +++ b/editor/animation_track_editor.cpp @@ -60,7 +60,7 @@ public: return true; } - bool _read_only() { + bool _is_read_only() { return animation_read_only; } @@ -70,7 +70,7 @@ public: ClassDB::bind_method(D_METHOD("_hide_script_from_inspector"), &AnimationTrackKeyEdit::_hide_script_from_inspector); ClassDB::bind_method(D_METHOD("get_root_path"), &AnimationTrackKeyEdit::get_root_path); ClassDB::bind_method(D_METHOD("_dont_undo_redo"), &AnimationTrackKeyEdit::_dont_undo_redo); - ClassDB::bind_method(D_METHOD("_read_only"), &AnimationTrackKeyEdit::_read_only); + ClassDB::bind_method(D_METHOD("_is_read_only"), &AnimationTrackKeyEdit::_is_read_only); } void _fix_node_path(Variant &value) { @@ -727,7 +727,7 @@ public: return true; } - bool _read_only() { + bool _is_read_only() { return animation_read_only; } @@ -737,7 +737,7 @@ public: ClassDB::bind_method(D_METHOD("_hide_script_from_inspector"), &AnimationMultiTrackKeyEdit::_hide_script_from_inspector); ClassDB::bind_method(D_METHOD("get_root_path"), &AnimationMultiTrackKeyEdit::get_root_path); ClassDB::bind_method(D_METHOD("_dont_undo_redo"), &AnimationMultiTrackKeyEdit::_dont_undo_redo); - ClassDB::bind_method(D_METHOD("_read_only"), &AnimationMultiTrackKeyEdit::_read_only); + ClassDB::bind_method(D_METHOD("_is_read_only"), &AnimationMultiTrackKeyEdit::_is_read_only); } void _fix_node_path(Variant &value, NodePath &base) { |