Commit c388d582e68f9d6b04b6409f54dabfbc903d5caf
1 parent
9a91471d
Exists in
master
and in
68 other branches
Fix isPosition parsing in framesTransformation process (cf. #9394)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/ExternLib/FramesTransformation/ProcessFramesTransformation.cc
... | ... | @@ -66,7 +66,7 @@ TimeStamp ProcessFramesTransformation::init() { |
66 | 66 | _toFrame = _attributList[1]; |
67 | 67 | |
68 | 68 | if (_attributList.size() == 3) |
69 | - _isPosition = (_attributList[2].compare("true") || _attributList[2].compare("1")); | |
69 | + _isPosition = ((_attributList[2].compare("true") == 0) || (_attributList[2].compare("1") == 0)); | |
70 | 70 | |
71 | 71 | return ProcessFramesTransformationBase::init(); |
72 | 72 | } | ... | ... |