added perspective option to corner pin
This commit is contained in:
+1
-2
@@ -29,8 +29,7 @@
|
||||
#include <QMessageBox>
|
||||
|
||||
long refactor_frame_number(long framenumber, double source_frame_rate, double target_frame_rate) {
|
||||
if (source_frame_rate == target_frame_rate) return framenumber;
|
||||
return qFloor(((double)framenumber/source_frame_rate)*target_frame_rate);
|
||||
return qRound(((double)framenumber/source_frame_rate)*target_frame_rate);
|
||||
}
|
||||
|
||||
void draw_selection_rectangle(QPainter& painter, const QRect& rect) {
|
||||
|
||||
Reference in New Issue
Block a user