mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-09-23 14:58:07 +08:00
streaming redraw test no longer checks for $xlast, since if $haveNewData is set, $xlast is
guaranteed to be set also.
This commit is contained in:
@@ -351,8 +351,9 @@ sub mainThread {
|
||||
}
|
||||
}
|
||||
|
||||
elsif($options{"stream"} && defined $xlast)
|
||||
elsif($options{"stream"})
|
||||
{
|
||||
# only redraw a streaming plot if there's new data to plot
|
||||
next unless $haveNewData;
|
||||
$haveNewData = undef;
|
||||
|
||||
|
Reference in New Issue
Block a user