diff --git a/src/org/ntlab/deltaViewer/MagnetRONViewer.java b/src/org/ntlab/deltaViewer/MagnetRONViewer.java index 75086d6..e46c165 100644 --- a/src/org/ntlab/deltaViewer/MagnetRONViewer.java +++ b/src/org/ntlab/deltaViewer/MagnetRONViewer.java @@ -878,9 +878,9 @@ methodSignature = formatMethodSignature(methodSignature, methodExecution.getThisClassName()); } -// if (methodExecution.isStatic() && !objectId.equals("0")) { -// objectId = methodExecution.getCallerMethodExecution().getThisObjId(); -// } + if (methodExecution.isStatic() && !objectId.equals("0")) { + objectId = methodExecution.getCallerMethodExecution().getThisObjId(); + } mxICell parentCell = (mxICell) objectToVertexMap.get(objectId).getCell(); double coordX = DEFAULT_OBJECT_VERTEX_SIZE.getWidth() * 0.1;