Commit Graph

606 Commits

Author SHA1 Message Date
wandererfan
b2135da447 Workaround for #3332 2018-10-26 00:49:52 +02:00
wandererfan
733dae2b3d Update context menu
- Page context menu was left over from
  Drawing module. Now updated with
  appropriate actions.
2018-10-25 10:58:53 -03:00
wandererfan
650404c17f Reduce unnecessary updates to QGraphicsScene
- Views were being redrawn unnecessarily on
  changes to selection status. Views are now
  redrawn only if the item's selection status
  is different from the desired state.
2018-10-25 10:58:53 -03:00
wandererfan
24f43527f5 Use circles for circular BSplines 2018-10-25 10:58:53 -03:00
wandererfan
31a9ae655f Fix crash on RevertDocument
- MDIViewPage was not being deleted when document
  was closed. On reload, stale MDIViewPage was using
  old object pointers.
2018-10-22 15:39:01 -03:00
wandererfan
9f2ad88ded Upgrade test for BSpline is Line 2018-10-22 15:34:13 -03:00
wandererfan
3ca8eb0989 Use Page Label for Tab Text 2018-10-22 15:34:13 -03:00
wandererfan
8280d551a9 Fix Rotation not applied after restore
- DrawAnnotation was not applying Rotation
  property after restore from saved file.
2018-10-22 15:34:13 -03:00
wandererfan
a281832627 Change tool from cylinder to prism
- cutting with cylinder produced too many
  short bsplines from HLR.  Straight cut
  from prism reduces these and speeds up
  HLR significantly.
2018-10-17 11:25:49 +02:00
wandererfan
cb30a82969 Fix #3634 Lost formatSpec on save/restore 2018-10-13 02:10:53 +02:00
wmayer
7527c7d149 fix -Wunused-variable 2018-10-12 22:17:29 +02:00
wandererfan
f6e9faa62c Fix #3623 Display of Ft/In Dimensions 2018-10-11 21:59:20 +02:00
wandererfan
eaf987625e Correct tree icon for Angle3Pt 2018-10-11 21:59:05 +02:00
wandererfan
a373280946 Add @mario52's templates 2018-10-11 21:58:47 +02:00
wmayer
ae7c53b951 Py3: fix opening file 2018-10-11 12:06:07 +02:00
luz.paz
2de755186b Misc. typo fixes
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ../fc-word-whitelist.txt`
2018-10-02 21:05:22 +02:00
wandererfan
cc320aa802 Handle Straight Line BSplines 2018-10-02 09:42:16 -03:00
wandererfan
b569120131 Add 3Point Angle Dimension 2018-10-02 09:42:16 -03:00
wandererfan
1578b05a98 Add option to reverse arrowheads on Dims 2018-10-02 09:42:16 -03:00
wandererfan
f5668c77ae Move dimText Prefix to FormatSpec
- prefix was applied at every request for
  formatted value. Now prefix is applied
  to FormatSpec and can be overridden for
  things like screw dia. M6 vs (phi)M6.
2018-10-02 09:42:16 -03:00
wandererfan
d2c2b35b6c Add over/under Tolerance to Dimensions 2018-10-02 09:42:16 -03:00
wandererfan
df0eb076a6 Better error messages for bad selections 2018-09-26 17:00:07 +02:00
wandererfan
f9b9de42dd Add Peppino's ISO7200 templates 2018-09-26 16:59:49 +02:00
wandererfan
859fed207d Fix double scaling in DPG AutoScale 2018-09-26 16:59:39 +02:00
wandererfan
3163c3d6f5 Fix late repaint of secondary views
- when ScaleType=Automatic and Scale changes
  individual views were not being repainted until
  next document recompute.
2018-09-26 16:59:12 +02:00
wandererfan
db593f2169 Suppress spurious message
- was reporting "pattern not found" even if
  hatch source file was not a .pat file.
2018-09-26 16:59:00 +02:00
wandererfan
6b9c1e89d1 Show full width Edges around Section Face
- Section Face was hidding 1/2 of Edge if "Show Section
  Edges" was set to false.
2018-09-26 16:58:52 +02:00
wandererfan
295bb8fa86 Fix Decoration positions on Views derived from DPG Base
- Section faces, detail highlights, center and section lines
  were wrong when the BaseView was a DPGI
2018-09-14 21:28:02 +02:00
luz.paz
37305f69fe Misc. typo and whitespace fixes
`codespell -q 3 -I ../fc-word-whitelist.txt --skip=".git,*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/zipios++"`
2018-09-11 07:27:22 +02:00
wandererfan
aa8feb79d0 Use Face or 3D direction for View and ProjGroup
- use current 3D window direction as starting
  direction for DrawViewPart and ProjectionGroup
- if a Face is selected, use Face normal as
  starting direction.
2018-09-06 08:00:00 +02:00
wmayer
67b5ee0931 now each module registers its unit tests itself 2018-08-28 13:14:16 +02:00
wmayer
a84b84bf1b CMP0050: make TechDraw module aware of cmake policy 2018-08-20 20:59:39 +02:00
wandererfan
de66ab3d1a Coverity Fixes
- 175807
- 175808
- 183598
2018-08-18 21:59:06 +02:00
wandererfan
368ba7a37e Fix Travis Compile Warnings 2018-08-18 21:59:05 +02:00
wandererfan
0432ecdb88 Fix propagation of Source property to children 2018-08-18 21:59:05 +02:00
luz.paz
a981753d2c Trailing whitespace fixes 2018-08-18 21:48:42 +02:00
luz.paz
781d007321 Misc. typos
Found via `codespell`
Trivial typos

Found via `codespell`
2018-08-18 21:48:42 +02:00
wmayer
9549f29f2a fix MSVC warning: unreferenced local variable 2018-08-13 11:06:20 +02:00
wandererfan
9f29693df3 Fix Dimension update on DPG Scale Change 2018-08-11 11:24:13 +02:00
wandererfan
7028da17b5 Expose findCentroid to Python 2018-08-11 11:24:12 +02:00
wandererfan
603c294d47 Fix QGIVP boundingRect 2018-08-11 11:24:12 +02:00
wandererfan
5730aae4c9 Allow circular BSplines to be dimensioned 2018-08-11 11:24:12 +02:00
Markus Lampert
0b40519f3f Changed all catch types to references for polymorphic exceptions. 2018-08-08 15:45:30 +02:00
wandererfan
cd0b26a69c Fix text position in Diamter Dim 2018-07-31 16:08:48 -03:00
wandererfan
4046b001b5 Fix default Vertex color 2018-07-31 16:08:48 -03:00
wandererfan
ee607d36a9 Fix iso View position in AutoDistribute 2018-07-31 16:08:48 -03:00
luz.paz
0576524144 Misc. code comment typo fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
2018-07-27 10:39:43 -03:00
wmayer
d3ef6905ff + add option to switch off precompiled header 2018-07-25 20:17:11 +02:00
wandererfan
4418502964 Add ANSIB Template
- also fix cmake to move all templates after
  build.
2018-07-23 12:47:17 -03:00
wandererfan
2cc80b6131 Add preference settings
- autodistribute, vertex size, vertex color
2018-07-23 12:47:17 -03:00