[Kst] branches/work/kst/portto4/kst/src/libkstapp
Peter Kümmel
syntheticpp at gmx.net
Thu Jan 20 06:44:27 CET 2011
SVN commit 1215888 by kuemmel:
show vales of "Create->*" generated items
M +5 -5 primitivemodel.h
--- branches/work/kst/portto4/kst/src/libkstapp/primitivemodel.h #1215887:1215888
@@ -106,13 +106,13 @@
|| kst_cast<DataVector>(obj)
|| kst_cast<DataMatrix>(obj)
|| kst_cast<GeneratedVector>(obj)
- || kst_cast<GeneratedMatrix>(obj)
- || kst_cast<T>(obj))
+ || kst_cast<GeneratedMatrix>(obj))
{
- if (kst_cast<T>(obj) && !kst_cast<T>(obj)->orphan()) {
- continue;
+ addPrimitivesMetas<T>(kst_cast<Primitive>(obj));
+ } else if (kst_cast<T>(obj)) {
+ if (kst_cast<T>(obj) && kst_cast<T>(obj)->orphan()) {
+ addMeta<T>(kst_cast<T>(obj));
}
- addPrimitivesMetas<T>(kst_cast<Primitive>(obj));
} else if (kst_cast<DataSource>(obj)) {
addDataSourcesMetas(kst_cast<DataSource>(obj));
} else if (kst_cast<DataObject>(obj)) {
More information about the Kst
mailing list