summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/mlib-pdf.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/mlib-pdf.lua')
-rw-r--r--tex/context/base/mkiv/mlib-pdf.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/mlib-pdf.lua b/tex/context/base/mkiv/mlib-pdf.lua
index 75f810fb3..453d00aef 100644
--- a/tex/context/base/mkiv/mlib-pdf.lua
+++ b/tex/context/base/mkiv/mlib-pdf.lua
@@ -430,7 +430,7 @@ function metapost.flush(result,flusher,askedfig)
startfigure(properties.number,llx,lly,urx,ury,"begin",figure)
result[#result+1] = "q"
if objects then
- resetplugins(result) -- we should move the colorinitializer here
+-- resetplugins(result) -- we should move the colorinitializer here
local savedpath = nil
local savedhtap = nil
for o=1,#objects do
@@ -640,6 +640,7 @@ function metapost.flush(result,flusher,askedfig)
end
end
metapost.comment = nocomment
+ resetplugins(result) -- we should move the colorinitializer here
end
end
end