Skip to content

Commit

Permalink
BUG: Fix connection test for Motive 3.1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunderlandkyl committed Jan 15, 2025
1 parent d577e85 commit 28932a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PlusDataCollection/OptiTrack/vtkPlusOptiTrack.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ PlusStatus vtkPlusOptiTrack::InternalConnect()
{
#if MOTIVE_VERSION_MAJOR >= 2
#if MOTIVE_VERSION_MAJOR >= 3 && MOTIVE_VERSION_MINOR >= 1
if (MotiveTestConnection())
if (!MotiveTestConnection())
#else
if (MotiveTestConnection() != ResultSuccess)
#endif
Expand Down

0 comments on commit 28932a5

Please sign in to comment.