diff options
Diffstat (limited to 'src/uscxml/transform/ChartToC.cpp')
-rw-r--r-- | src/uscxml/transform/ChartToC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/transform/ChartToC.cpp b/src/uscxml/transform/ChartToC.cpp index 84f325e..04f0378 100644 --- a/src/uscxml/transform/ChartToC.cpp +++ b/src/uscxml/transform/ChartToC.cpp @@ -456,7 +456,7 @@ void ChartToC::findNestedMachines() { for (auto invIter = invokes.begin(); invIter != invokes.end(); invIter++) { DOMElement* invoke = *invIter; - if(isInEmbeddedDocument(invoke)) + if(!areFromSameMachine(invoke, _scxml)) continue; if (HAS_ATTR(invoke, "type") && |