Commit ce09d818f2895cca08f1a7715b991204bbf4184a
1 parent
1abcfbdc
TimeVaryingTransforms need to call TimeVaryingTransform::init
Showing
3 changed files
with
10 additions
and
1 deletions
openbr/plugins/frames.cpp
openbr/plugins/gui.cpp
| ... | ... | @@ -350,6 +350,8 @@ public: |
| 350 | 350 | if (!Globals->useGui) |
| 351 | 351 | return; |
| 352 | 352 | |
| 353 | + TimeVaryingTransform::init(); | |
| 354 | + | |
| 353 | 355 | if (displayBuffer) |
| 354 | 356 | delete displayBuffer; |
| 355 | 357 | displayBuffer = new QPixmap(); |
| ... | ... | @@ -530,6 +532,7 @@ public: |
| 530 | 532 | target_wait = 1000.0 / targetFPS; |
| 531 | 533 | timer.start(); |
| 532 | 534 | last_time = timer.elapsed(); |
| 535 | + TimeVaryingTransform::init(); | |
| 533 | 536 | } |
| 534 | 537 | |
| 535 | 538 | protected: |
| ... | ... | @@ -583,6 +586,7 @@ public: |
| 583 | 586 | { |
| 584 | 587 | initialized = false; |
| 585 | 588 | framesSeen = 0; |
| 589 | + TimeVaryingTransform::init(); | |
| 586 | 590 | } |
| 587 | 591 | |
| 588 | 592 | protected: | ... | ... |