X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fautos.h;h=2e841bfd4cb44611668366bb746bd4c128526253;hb=2cda7606e91cc23cf68a7f6376af2e8b9520b273;hp=5ce985afa057c75818301e5a9d0302cf59337aad;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/autos.h b/cinelerra-5.1/cinelerra/autos.h index 5ce985af..2e841bfd 100644 --- a/cinelerra-5.1/cinelerra/autos.h +++ b/cinelerra-5.1/cinelerra/autos.h @@ -62,8 +62,9 @@ public: // Returns auto at exact position, null if non-existent. ignores autokeyframming and align on frames Auto* get_auto_at_position(double position = -1); -// Get keyframe for editing with automatic creation if enabled - Auto* get_auto_for_editing(double position = -1); +// Get keyframe for editing with creation +// create: <0: always new keyframe, =0: no new keyframe, >0: auto keyframe + Auto* get_auto_for_editing(double position=-1, int create=1); // Insert keyframe at the point if it doesn't exist // Interpolate its value if possible