We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a10636 commit 68bc8a4Copy full SHA for 68bc8a4
1 file changed
src/objects/communications/OscSender.cpp
@@ -329,12 +329,18 @@ void OscSender::initInlets(){
329
}
330
if (XML.pushTag("vars")){
331
int totalOutlets = XML.getNumTags("var");
332
- this->numInlets = totalOutlets-1;
+ this->numInlets = totalOutlets-2;
333
334
int tempCounter = 0;
335
for (int t=0;t<totalOutlets;t++){
336
if(XML.pushTag("var",t)){
337
- if(XML.getValue("name","") != "PORT"){
+ bool isreceiverIP = false;
338
+ if (XML.getValue("name","").find('@') != std::string::npos){
339
+ isreceiverIP = true;
340
+ }else{
341
+ isreceiverIP = false;
342
+ }
343
+ if(XML.getValue("name","") != "PORT" && !isreceiverIP){
344
if(tempTypes.at(tempCounter) == 0){ // float
345
_inletParams[tempCounter] = new float();
346
*(float *)&_inletParams[tempCounter] = 0.0f;
0 commit comments