Browse Source

nonlib/OSC: Don't try to send feedback to non-existent path.

Closes #227.
tags/v1.2.1
Jonathan Moore Liles 7 years ago
parent
commit
5ae43bb27c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      lib/ntk
  2. +1
    -1
      nonlib/OSC/Endpoint.C

+ 1
- 1
lib/ntk

@@ -1 +1 @@
Subproject commit 92365eca0f9a6f054abc70489c009aba0fcde0ff
Subproject commit 1e3f5106d404562902bed2983403301db24a3f78

+ 1
- 1
nonlib/OSC/Endpoint.C View File

@@ -1085,7 +1085,7 @@ namespace OSC
i != _translations.end(); i != _translations.end();
i++ ) i++ )
{ {
if ( ! strcmp( i->second.path.c_str(), path ) )
if ( path && ! strcmp( i->second.path.c_str(), path ) )
{ {
/* found it */ /* found it */
if ( !i->second.suppress_feedback && i->second.current_value != v ) if ( !i->second.suppress_feedback && i->second.current_value != v )


Loading…
Cancel
Save