GPv3: Insert grease pencil keyframe from the dopesheet #110649

Merged
Amélie Fondevilla merged 23 commits from amelief/blender:gpv3-insert-keyframe into main 2023-08-02 14:56:24 +02:00

23 Commits

Author SHA1 Message Date
Amélie Fondevilla 33fc703589 Fix function name 2023-08-02 14:36:37 +02:00
Amélie Fondevilla b0b41645b8 Renamed parameters in header 2023-08-02 14:32:28 +02:00
Amélie Fondevilla 707237e091 Remove unused header in includes 2023-08-02 14:32:28 +02:00
Amélie Fondevilla b7f5c24c95 Cleanup: renamed variables + comments 2023-08-02 14:32:28 +02:00
Amélie Fondevilla 524f6844a0 Remove the inserted frame if the duplication fails 2023-08-02 14:32:28 +02:00
Amélie Fondevilla c09eca3059 Return false if no frame at frame number 2023-08-02 14:32:28 +02:00
Amélie Fondevilla 715e95f7f0 Cleanup: Comments 2023-08-02 14:32:28 +02:00
Amélie Fondevilla 7dec1fe634 Add user if we duplicate as an instance 2023-08-02 14:32:28 +02:00
Amélie Fondevilla 0c7814e0cd Cleanup: use c++ drawing class 2023-08-02 14:32:28 +02:00
Amélie Fondevilla 42f194cbdd Remove duplicated tag 2023-08-02 14:32:28 +02:00
Amélie Fondevilla 6dc21f40e6 Copy duration of duplicated frame 2023-08-02 14:32:28 +02:00
Amélie Fondevilla 323b43c2eb Insert duplicate frame now takes an index as argument 2023-08-02 14:32:28 +02:00
Amélie Fondevilla de2c000db8 Make frame index at public function 2023-08-02 14:32:28 +02:00
Amélie Fondevilla 9e1e4c8c45 Cleanup: switch statement + silent return instead of assert 2023-08-02 14:30:40 +02:00
Amélie Fondevilla de450da36a Refactor 2023-08-02 14:30:40 +02:00
Amélie Fondevilla 44797b1652 Cleanup: renamed variables & improved comments. 2023-08-02 14:30:40 +02:00
Amélie Fondevilla d92f42eb5c Refactor 2023-08-02 14:30:40 +02:00
Amélie Fondevilla dce25dac55 Add additive drawing mode in UI 2023-08-02 14:30:40 +02:00
Amélie Fondevilla 0651da271d Cleanup : preparing for the user count to be increased. 2023-08-02 14:30:40 +02:00
Amélie Fondevilla 6beab84fdd Fix wrong function name 2023-08-02 14:30:40 +02:00
Amélie Fondevilla 32f6fdd87d Implement insert keyframe 2023-08-02 14:30:40 +02:00
Amélie Fondevilla 042fbea93e Add API functions to duplicate a drawing 2023-08-02 14:30:40 +02:00
Amélie Fondevilla cd684a813a Insert blank keyframe and update changes 2023-08-02 14:30:40 +02:00