From 64c45caff963c30cb9d4f6c0e94036ffa8363882 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 7 Jun 2012 16:36:19 +0000 Subject: Remove checks for valid frame from poll function in clip editor space This results in some buttons not disabled when there's no currently displaying frame, but this saves lots of cache lookups and threading loks for every frame update. --- source/blender/editors/include/ED_clip.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/editors/include/ED_clip.h') diff --git a/source/blender/editors/include/ED_clip.h b/source/blender/editors/include/ED_clip.h index 6b1028525a7..1d42954a416 100644 --- a/source/blender/editors/include/ED_clip.h +++ b/source/blender/editors/include/ED_clip.h @@ -47,8 +47,6 @@ int ED_space_clip_poll(struct bContext *C); int ED_space_clip_view_clip_poll(struct bContext *C); int ED_space_clip_tracking_poll(struct bContext *C); -int ED_space_clip_tracking_size_poll(struct bContext *C); -int ED_space_clip_tracking_frame_poll(struct bContext *C); int ED_space_clip_maskedit_poll(struct bContext *C); int ED_space_clip_maskedit_mask_poll(bContext *C); -- cgit v1.2.3