diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-06-01 21:28:09 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-06-01 21:28:09 +0400 |
commit | 14b1c408fd797198507a0580fad74a2a5420da5e (patch) | |
tree | a11de7bdaeeba16ebb3f30b3963c721faf2f8789 /source/blender/editors/space_image/image_intern.h | |
parent | 9efc294d457c974cc8626ec50c90f755ed25c9e5 (diff) |
Make "Match Movie Length" into an operator (must be called inside a context having either a "texture" Tex, an "area" SpaceImage, or both "edit_image" Image and "edit_image_user" ImageUser).
Thanks to Campbell who pointed me to uiLayoutSetContextPointer() func!
Diffstat (limited to 'source/blender/editors/space_image/image_intern.h')
-rw-r--r-- | source/blender/editors/space_image/image_intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_image/image_intern.h b/source/blender/editors/space_image/image_intern.h index ca3f543f3b9..121130ec536 100644 --- a/source/blender/editors/space_image/image_intern.h +++ b/source/blender/editors/space_image/image_intern.h @@ -69,6 +69,7 @@ void IMAGE_OT_view_ndof(struct wmOperatorType *ot); void IMAGE_OT_new(struct wmOperatorType *ot); void IMAGE_OT_open(struct wmOperatorType *ot); +void IMAGE_OT_match_movie_length(struct wmOperatorType *ot); void IMAGE_OT_replace(struct wmOperatorType *ot); void IMAGE_OT_reload(struct wmOperatorType *ot); void IMAGE_OT_save(struct wmOperatorType *ot); |