[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Tue Sep 21 22:46:30 CEST 2004
CVS commit by staikos:
- filters and fits should be updated when their outputs are updated
- Play should do "read to end" not "count from end"
CCMAIL: 89718-done at bugs.kde.org
M +2 -2 kstdoc.cpp 1.121
M +2 -0 kstfilterdialog_i.cpp 1.15
M +6 -2 kstfitdialog_i.cpp 1.39
--- kdeextragear-2/kst/kst/kstdoc.cpp #1.120:1.121
@@ -613,6 +613,6 @@ void KstDoc::samplesEnd() {
for (int i = 0; i < (int)rvl.count(); i++) {
V = rvl[i];
- f0 = -1;
- n = V->numFrames();
+ f0 = V->reqStartFrame();
+ n = -1;
skip = V->skip();
doSkip = V->doSkip();
--- kdeextragear-2/kst/kst/kstfilterdialog_i.cpp #1.14:1.15
@@ -279,4 +279,5 @@ bool KstFilterDialogI::saveOutputs(KstPl
}
v->setTagName(nt);
+ v->setProvider(plugin.data());
} else if (plugin->outputVectors()[(*it)._name]->tagName() != nt) {
while (KST::vectorTagNameNotUnique(nt, false)) {
@@ -292,4 +293,5 @@ bool KstFilterDialogI::saveOutputs(KstPl
}
v->setTagName(nt);
+ v->setProvider(plugin.data());
}
} else if ((*it)._type == Plugin::Data::IOValue::FloatType) {
--- kdeextragear-2/kst/kst/kstfitdialog_i.cpp #1.38:1.39
@@ -296,10 +296,14 @@ bool KstFitDialogI::saveOutputs(KstPlugi
if ((*it)._type == Plugin::Data::IOValue::TableType) {
if (!KST::vectorTagNameNotUnique(nt, false)) {
- plugin->outputVectors()[(*it)._name]->setTagName(nt);
+ KstVectorPtr v = plugin->outputVectors()[(*it)._name];
+ v->setTagName(nt);
+ v->setProvider(plugin.data());
} else if (plugin->outputVectors()[(*it)._name]->tagName() != nt) {
while (KST::vectorTagNameNotUnique(nt, false)) {
nt += "'";
}
- plugin->outputVectors()[(*it)._name]->setTagName(nt);
+ KstVectorPtr v = plugin->outputVectors()[(*it)._name];
+ v->setTagName(nt);
+ v->setProvider(plugin.data());
}
} else if ((*it)._type == Plugin::Data::IOValue::FloatType) {
More information about the Kst
mailing list