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 072199c commit 9edb3e8Copy full SHA for 9edb3e8
Source/Objects/ObjectBase.cpp
@@ -252,7 +252,20 @@ String ObjectBase::getText()
252
253
bool ObjectBase::checkHvccCompatibility()
254
{
255
- if(HeavyCompatibleObjects::isCompatible(getTypeWithOriginPrefix()))
+ auto type = getType();
256
+
257
+ if(type == "msg") // Prevent mixing up pd message and else/message
258
+ {
259
+ if (auto* objectPtr = ptr.getRaw<t_gobj>()) {
260
+ auto const origin = pd::Library::getObjectOrigin(objectPtr);
261
+ if(origin == "ELSE") {
262
+ pd->logWarning(String("Warning: object message is not supported in Compiled Mode").toRawUTF8());
263
+ return false;
264
+ }
265
266
+ return true;
267
268
+ else if(HeavyCompatibleObjects::isCompatible(type))
269
270
return true;
271
}
0 commit comments