Skip to content

Commit 135c30a

Browse files
committed
fixed gate objects reset inlets bug
1 parent f6b6624 commit 135c30a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/objects/data/VectorGate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ void VectorGate::resetInletsSettings(){
234234
}
235235
}
236236

237-
//this->numInlets = dataInlets+1;
237+
this->numInlets = dataInlets+1;
238238

239239
_inletParams[0] = new float(); // open
240240
*(float *)&_inletParams[0] = 0.0f;

src/objects/logic/Gate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ void Gate::resetInletsSettings(){
241241
}
242242
}
243243

244-
//this->numInlets = floatInlets+1;
244+
this->numInlets = floatInlets+1;
245245

246246
_inletParams[0] = new float(); // open
247247
*(float *)&_inletParams[0] = 0.0f;

src/objects/sound/AudioGate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ void AudioGate::resetInletsSettings(){
256256
}
257257
}
258258

259-
//this->numInlets = dataInlets+1;
259+
this->numInlets = dataInlets+1;
260260

261261
_inletParams[0] = new float(); // open
262262
*(float *)&_inletParams[0] = 0.0f;

src/objects/video/VideoGate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ void VideoGate::resetInletsSettings(){
245245
}
246246
}
247247

248-
//this->numInlets = dataInlets+1;
248+
this->numInlets = dataInlets+1;
249249

250250
_inletParams[0] = new float(); // open
251251
*(float *)&_inletParams[0] = 0.0f;

0 commit comments

Comments
 (0)