@@ -1247,7 +1247,7 @@ def actionPreviousMarker_trigger(self, event):
1247
1247
if selected_clip :
1248
1248
all_marker_positions .append (selected_clip .data ["position" ])
1249
1249
all_marker_positions .append (selected_clip .data ["position" ] + (selected_clip .data ["end" ] - selected_clip .data ["start" ]))
1250
- # add all keyframes. itterate on all properties of Data,, and for each every Points
1250
+ # add all keyframes. itterate on all properties of Data, look for each points
1251
1251
for property in selected_clip .data :
1252
1252
try :
1253
1253
for point in selected_clip .data [property ]["Points" ] :
@@ -1313,6 +1313,19 @@ def actionNextMarker_trigger(self, event):
1313
1313
if selected_clip :
1314
1314
all_marker_positions .append (selected_clip .data ["position" ])
1315
1315
all_marker_positions .append (selected_clip .data ["position" ] + (selected_clip .data ["end" ] - selected_clip .data ["start" ]))
1316
+ # add all keyframes. itterate on all properties of Data, look for each points
1317
+ for property in selected_clip .data :
1318
+ try :
1319
+ for point in selected_clip .data [property ]["Points" ] :
1320
+ keyframe = (point ["co" ]["X" ]- 1 )/ fps_float - selected_clip .data ["start" ] + selected_clip .data ["position" ]
1321
+ if keyframe > start and keyframe < stop :
1322
+ all_marker_positions .append (keyframe )
1323
+ except TypeError :
1324
+ log .info ("%s : %s : not itterable" , property , selected_clip .data [property ])
1325
+ pass
1326
+ except KeyError :
1327
+ log .info ("%s : %s : has no points" , property , selected_clip .data [property ])
1328
+ pass
1316
1329
1317
1330
# Loop through selected transitions (and add key positions)
1318
1331
for tran_id in self .selected_transitions :
0 commit comments