Skip to content

Commit e487ca9

Browse files
committed
Sync drawing after running VectorCommand
1 parent 3d6ac01 commit e487ca9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/org/myworldgis/netlogo/Painting.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public void performInternal (Argument args[], Context context)
109109
} finally {
110110
g.dispose();
111111
}
112+
context.workspace().syncDrawing(drawing);
112113
}
113114

114115
protected abstract void paint (Geometry geom, Graphics2D g, double thickness);
@@ -228,6 +229,7 @@ public void performInternal (Argument args[], Context context)
228229
} finally {
229230
g.dispose();
230231
}
232+
context.workspace().syncDrawing(drawing);
231233
}
232234
}
233235

0 commit comments

Comments
 (0)