[Kst] branches/work/kst/portto4/kst/src/libkstapp

Barth Netterfield netterfield at astro.utoronto.ca
Mon Nov 8 19:24:11 CET 2010


SVN commit 1194332 by netterfield:


BUG:256153
Use the right list.

-This line, and those below, will be ignored--

M    kst/src/libkstapp/datamanager.cpp


 M  +5 -22     datamanager.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/datamanager.cpp #1194331:1194332
@@ -455,30 +455,13 @@
   foreach (DataObjectPtr object, dataObjectList) {
     object->readLock();
     //set used all input and output primitives
-    foreach (VectorPtr v, object->inputVectors()) {
-      v->setUsed(true);
+    foreach (PrimitivePtr p, object->inputPrimitives()) {
+      p->setUsed(true);
     }
-    foreach (VectorPtr v, object->outputVectors()) {
-      v->setUsed(true);
+    foreach (PrimitivePtr p, object->outputPrimitives()) {
+      p->setUsed(true);
     }
-    foreach (ScalarPtr s, object->inputScalars()) {
-      s->setUsed(true);
-    }
-    foreach (ScalarPtr s, object->outputScalars()) {
-      s->setUsed(true);
-    }
-    foreach (StringPtr s, object->inputStrings()) {
-      s->setUsed(true);
-    }
-    foreach (StringPtr s, object->outputStrings()) {
-      s->setUsed(true);
-    }
-    foreach (MatrixPtr m, object->inputMatrices()) {
-      m->setUsed(true);
-    }
-    foreach (MatrixPtr m, object->outputMatrices()) {
-      m->setUsed(true);
-    }
+
     object->unlock();
   }
 }


More information about the Kst mailing list