Skip to content

Commit

Permalink
Fixed broken custom inlet/outlet messages
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Nov 9, 2023
1 parent 5b10b21 commit 0503fc0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Source/Object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,13 +643,11 @@ void Object::updateTooltips()
if (auto subpatch = gui->getPatch()) {
auto* subpatchPtr = subpatch->getPointer().get();

// if(!subpatchPtr) return;

// Check child objects of subpatch for inlet/outlet messages
for (auto* obj : subpatch->getObjects()) {

const String name = pd::Interface::getObjectClassName(&obj->g_pd);
auto* checkedObject = pd::Interface::checkObject(getPointer());
auto* checkedObject = pd::Interface::checkObject(obj);
if (name == "inlet" || name == "inlet~") {
int size;
char* str_ptr;
Expand Down

0 comments on commit 0503fc0

Please sign in to comment.