|
|
@ -27,7 +27,7 @@ bool CSMFilter::ValueNode::test (const CSMWorld::IdTable& table, int row,
|
|
|
|
QVariant data = table.data (index);
|
|
|
|
QVariant data = table.data (index);
|
|
|
|
|
|
|
|
|
|
|
|
if (data.type()!=QVariant::Double && data.type()!=QVariant::Bool && data.type()!=QVariant::Int &&
|
|
|
|
if (data.type()!=QVariant::Double && data.type()!=QVariant::Bool && data.type()!=QVariant::Int &&
|
|
|
|
data.type()!=QVariant::UInt)
|
|
|
|
data.type()!=QVariant::UInt && data.type()!=static_cast<QVariant::Type> (QMetaType::Float))
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
|
|
double value = data.toDouble();
|
|
|
|
double value = data.toDouble();
|
|
|
|