summaryrefslogtreecommitdiffstats
path: root/editor/animation_track_editor.cpp
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2020-12-08 22:51:48 +0100
committerTomasz Chabora <kobewi4e@gmail.com>2020-12-09 12:12:36 +0100
commit2c048ea16429cfa4e6b200a4fe519ee9db7c3f99 (patch)
tree5648e173188bd43a31624dda5e6e5cc02e31dbc4 /editor/animation_track_editor.cpp
parent90bdba576af2d5f0a8ecdbef065d6ef0075bc2f2 (diff)
downloadredot-engine-2c048ea16429cfa4e6b200a4fe519ee9db7c3f99.tar.gz
Cleanup unused engine code
Diffstat (limited to 'editor/animation_track_editor.cpp')
-rw-r--r--editor/animation_track_editor.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp
index 717e4628ae..7411af2280 100644
--- a/editor/animation_track_editor.cpp
+++ b/editor/animation_track_editor.cpp
@@ -2217,10 +2217,6 @@ void AnimationTrackEdit::draw_bg(int p_clip_left, int p_clip_right) {
void AnimationTrackEdit::draw_fg(int p_clip_left, int p_clip_right) {
}
-void AnimationTrackEdit::draw_texture_clipped(const Ref<Texture2D> &p_texture, const Vector2 &p_pos) {
- draw_texture_region_clipped(p_texture, Rect2(p_pos, p_texture->get_size()), Rect2(Point2(), p_texture->get_size()));
-}
-
void AnimationTrackEdit::draw_texture_region_clipped(const Ref<Texture2D> &p_texture, const Rect2 &p_rect, const Rect2 &p_region) {
int clip_left = timeline->get_name_limit();
int clip_right = get_size().width - timeline->get_buttons_width();