Skip to content

Commit

Permalink
Compiled mode: Check abstrations as if they're compiled objects
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Feb 15, 2025
1 parent 3b14b03 commit b09bdbd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Source/Object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,8 @@ bool Object::checkIfHvccCompatible() const
if (gui) {
auto const typeName = gui->getType();
// Check hvcc compatibility
bool const isSubpatch = gui->getPatch() != nullptr;

return !hvccMode.get() || isSubpatch || HeavyCompatibleObjects::getAllCompatibleObjects().contains(typeName);
auto patch = gui->getPatch();
return !hvccMode.get() || (patch && patch->isSubpatch()) || HeavyCompatibleObjects::getAllCompatibleObjects().contains(typeName);
}

return true;
Expand Down

0 comments on commit b09bdbd

Please sign in to comment.