Skip to content
Snippets Groups Projects
Commit c3ef194c authored by Stefan Reither's avatar Stefan Reither
Browse files

adapt to new VariantType::Long

parent afa5db32
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,11 @@ namespace armarx::filters
int newValue = dataHistory.rbegin()->second->getInt() - initialValue->getInt();
newVariant = new Variant(newValue);
}
else if (type == VariantType::Long)
{
long newValue = dataHistory.rbegin()->second->getLong() - initialValue->getLong();
newVariant = new Variant(newValue);
}
else if (type == VariantType::Float)
{
float newValue = dataHistory.rbegin()->second->getFloat() - initialValue->getFloat();
......@@ -80,6 +85,7 @@ namespace armarx::filters
{
ParameterTypeList result;
result.push_back(VariantType::Int);
result.push_back(VariantType::Long);
result.push_back(VariantType::Float);
result.push_back(VariantType::Double);
result.push_back(VariantType::FramedDirection);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment