Changed semantic of recently added start_frame
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 6 Jun 2012 18:58:30 +0000 (18:58 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 6 Jun 2012 18:58:30 +0000 (18:58 +0000)
commitf43a733f591377f2cdce0555443dba003c05fd30
tree6574507d07111ea418e5c09ce1adb4feac32561d
parent3e3e5b2ea3a8dadfbd1dcfe295ddf28bc2236141
Changed semantic of recently added start_frame

Now it's indicates at which scene frame number movie clip starts playing back.
This this setting is still belongs to clip datavlock and used by all users of
clip such as movie compositor nodes, constraints and so.

After long discussion and thoughts about this it was decided that this would
match image's current behavior (which initially seen a bit crappy), but that's
actually allows:

- Keep semantics of start frame in image and clip datablocks in sync
- Allows to support features like support of loading image sequences
  with crappy numbers in suffix which doesn't fit long int.
- Allows to eliminate extra boolean checkbox to control such kind of offset.

Hopefully from pipeline POV it wouldn't hurt because idea of having this things
implemented in original way was  working only if sequence before processing
started naming form 001.
14 files changed:
release/scripts/startup/bl_ui/space_clip.py
source/blender/blenkernel/BKE_blender.h
source/blender/blenkernel/BKE_movieclip.h
source/blender/blenkernel/intern/constraint.c
source/blender/blenkernel/intern/movieclip.c
source/blender/blenkernel/intern/tracking.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/include/ED_clip.h
source/blender/editors/space_clip/clip_draw.c
source/blender/editors/space_clip/clip_editor.c
source/blender/editors/space_clip/tracking_ops.c
source/blender/editors/transform/transform_conversions.c
source/blender/makesdna/DNA_movieclip_types.h
source/blender/makesrna/intern/rna_movieclip.c