Skip to content
Commit a1bc6809 authored by Lukáš Tvrdý's avatar Lukáš Tvrdý
Browse files

Fix viewport preview generation

Instead of creating new thread per preview request,
use single thread and cancel unfinished preview requests.
If user changes the filter configuration, they are invalid anyway.

Hopefully this solves the problem when user was changing
filter settings quickly by draging sliders here and there.
The UI feels also much more responsive.

Inspiration for this solution was Mandelbrot example from Qt.
This solution uses proper synchronization. Previous implementation
did not synchronize any shared resources, thus it was crashy!

CCBUG:345707
parent 0ed94067
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment