.hgignore
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 13 Jan 2017 19:51:36 +0300
changeset 1631 940e20a8865b
parent 1560 4ce8492159ab
child 1651 f077f8fb9ba7
child 1911 c1298e7ffe3a
permissions -rw-r--r--
fix issue with printing scheme (FBD, LD or SFC) with comment element on GNU/Linux

If you draw FBD scheme and place comment on it and then try to print
it, then no wires will be printed and comment box is empty (text is
missing). This happens only for wx.PrinterDC and not on wx.MemoryDC
that is used to draw print preview window in Beremiz IDE.
Looks like a bug in wxPython or wxWidgets.

There were found several workaround for this issue.
1) If some dc.DrawLines call is placed before dc.DrawPolygon, then the
problem is gone.

...
dc.DrawLines(polygon)
dc.DrawPolygon(polygon)
...

2) Reseting DC brush solves the problem as well (see this changeset).
359
8049afde06ab prevent eclipse to push .project with .hgignore
'Gr?gory Tr?lat <gregory.trelat@lolitech.fr>'
parents:
diff changeset
     1
.project
441
379c66468cf6 added files to ignore in hgignore
Edouard TISSERANT <edouard.tisserant@gmail.com>
parents: 359
diff changeset
     2
379c66468cf6 added files to ignore in hgignore
Edouard TISSERANT <edouard.tisserant@gmail.com>
parents: 359
diff changeset
     3
syntax: regexp
944
52a17be9c4d1 Introduce Beremiz Native POU library. Now LOGGER POU is part of Beremiz' native POU library
Edouard Tisserant
parents: 734
diff changeset
     4
^tests/.*/build$
1526
0fa5de94c131 Added .idea dir to ignore.
alexander.shaykhrazeev@gmail.com <alexander.shaykhrazeev@gmail.com>
parents: 955
diff changeset
     5
^.idea/.*
441
379c66468cf6 added files to ignore in hgignore
Edouard TISSERANT <edouard.tisserant@gmail.com>
parents: 359
diff changeset
     6
syntax: regexp
379c66468cf6 added files to ignore in hgignore
Edouard TISSERANT <edouard.tisserant@gmail.com>
parents: 359
diff changeset
     7
^.*\.pyc$
955
7ef2f485c28f More ignored files in .hgignore
Edouard Tisserant
parents: 944
diff changeset
     8
syntax: regexp
7ef2f485c28f More ignored files in .hgignore
Edouard Tisserant
parents: 944
diff changeset
     9
^.*~$
7ef2f485c28f More ignored files in .hgignore
Edouard Tisserant
parents: 944
diff changeset
    10
syntax: regexp
7ef2f485c28f More ignored files in .hgignore
Edouard Tisserant
parents: 944
diff changeset
    11
^.*\.swp$
1559
91129212e9a6 ignore generated bugreports and output of i18n script
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1526
diff changeset
    12
91129212e9a6 ignore generated bugreports and output of i18n script
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1526
diff changeset
    13
bug_report.*\.txt
1560
4ce8492159ab add version with commit hash to 'About' dialogs for Beremiz IDE and PLCOpenEditor
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1559
diff changeset
    14
i18n/.*.new$
4ce8492159ab add version with commit hash to 'About' dialogs for Beremiz IDE and PLCOpenEditor
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1559
diff changeset
    15
revision