Commit f276feb5 authored by Serrière Guillaume's avatar Serrière Guillaume

Application: bugfix: Fix a bug with the stimulation stream in the skeleton generator.

Signed-off-by: default avatarSerrière Guillaume <guillaume.serriere@inria.fr>
parent 835c0975
......@@ -784,6 +784,11 @@ void CBoxAlgorithmSkeletonGenerator::buttonOkCB(void)
{
l_sSubstitute = l_sSubstitute + "\\t\\t\\t";
string l_sTypeName((const char *)(*it)._type);
//The stream type is Stimulations but the decoder is tStimulationDecoder
if( l_sTypeName == "Stimulations")
{
l_sTypeName = "Stimulation";
}
for(uint32 s=0; s<l_sTypeName.length(); s++)
{
if(l_sTypeName[s]==' ')
......@@ -810,6 +815,11 @@ void CBoxAlgorithmSkeletonGenerator::buttonOkCB(void)
{
l_sSubstitute = l_sSubstitute + "\\t\\t\\t";
string l_sTypeName((const char *)(*it)._type);
//The stream type is Stimulations but the encoder is tStimulationEncoder
if( l_sTypeName == "Stimulations")
{
l_sTypeName = "Stimulation";
}
for(uint32 s=0; s<l_sTypeName.length(); s++)
{
if(l_sTypeName[s]==' ')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment