Commit Graph

33 Commits

Author SHA1 Message Date
Zheng, Lei
ecc857cdf1 TechDraw: fix projection group editing update 2019-08-17 15:32:51 +02:00
wandererfan
db3a69ba11 Remove superfluous updates
- under certain conditions, unnecessary screen paints
  were being performed.
2019-03-07 10:58:28 +01:00
wandererfan
cf738047d4 Fix double scaling in DPG AutoScale 2018-09-26 16:59:39 +02:00
wandererfan
f2c6edbb19 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
95f95d54fb 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
TeroK
442892ffa7 Fixed indentation 2018-01-07 18:39:47 -02:00
TeroK
c5e5958a6e Fixes #3294 TechDraw: Prevent scale changing
Now scale number changing controls are disabled by default and enabled only in
Custom Scale mode.

Previously user was all time allowed to edit scale numerical values.
But this had effect on the size of generated views in drawing page only
when scale type was set to Custom.
2018-01-07 18:39:47 -02:00
WandererFan
857aca5e8b Fix calculation of integer scale
- conversion of <double> scale to/from integer scale
  n:d was generating odd fractions and overflowing
  spinboxes in ui.
2017-11-12 19:08:33 -05:00
WandererFan
e35e2f2573 Eliminate superfluous DPG executes 2017-09-10 15:22:49 +02:00
WandererFan
c5c42e74a7 Coverity fixes
151677
151789  - OK as is
152005
152508
154871  - false positive
156593
163235
2017-07-17 19:47:44 -03:00
WandererFan
4c4e1e3210 Replace DPG table lookup logic with calculations
DPG used a pair of large tables to determine view
direction and rotation vector when subject was rotated
and spun.  There were many errors in the tables that
needed manual checking to correct.  The new version
uses calculations on a virtual glass cube to find view
direction and rotation vector.
2017-06-23 08:14:46 +02:00
WandererFan
190ab71055 Fix potential race when cancelling DPG creation 2017-01-29 19:40:34 -05:00
WandererFan
01b34749a9 Section directions from rotated DPGI's 2016-12-29 14:43:37 +01:00
WandererFan
920eb5eaf7 Working revolving part DPG 2016-12-29 14:43:25 +01:00
WandererFan
2dd56a6c2a Reset/Match 3d buttons working 2016-12-29 14:43:13 +01:00
WandererFan
09f701786f Working proof of concept for DPG rots & dirs 2016-12-29 14:43:00 +01:00
wmayer
7b3de466bf fix CIDs 154889, 151939, 151763, 154892, 154891, 151802, 151936, 151803, 153359 2016-12-18 14:12:13 +01:00
wmayer
07a180b18f fix CIDs 154873, 154874, 153875, 153876, 154883, 154884, 154886 2016-12-18 13:27:34 +01:00
WandererFan
54798d3641 Remove old debug message 2016-12-08 14:51:10 -05:00
WandererFan
bddd9e0e19 Prevent crash when no document open 2016-12-04 15:26:54 +01:00
WandererFan
efb7f14866 DPG improvements
eliminate orientation matrix
remove appl logic from dialog
add 3D/Front buttons
2016-12-04 15:25:47 +01:00
WandererFan
a2cd878708 Improve ProjectionGroup dialog
Text to icons in dialog
Fix rotation directions
2016-12-04 15:25:32 +01:00
wmayer
06da15e643 + add convenience method recomputeFeature()
+ make method recompute() protected
2016-11-06 17:16:50 +01:00
WandererFan
b3c3d7a950 Rename "Document" selection value to "Page" 2016-10-31 11:06:15 -02:00
WandererFan
200ed7a675 Fix ProjectionGroup Automatic scaling 2016-10-31 11:06:15 -02:00
WandererFan
7c4ad55ed6 Correct delayed update when adding views to ProjectionGroup 2016-10-31 11:06:15 -02:00
wmayer
6148bf4df5 fix -Wextra & -Wdeprecated in TechDraw 2016-09-22 19:32:16 +02:00
WandererFan
3182ad1754 Fix #2692 TaskProjectGroup cancel button 2016-09-11 13:12:24 -04:00
WandererFan
e264a16b62 Fix ProjectionGroupItem spacing 2016-09-01 12:14:42 -04:00
WandererFan
27aafada9c Include file cleanup per cppclean analysis 2016-07-14 14:39:06 +02:00
WandererFan
c57379aa03 Fix #41 Projoection Group Spacing
Fix glitch when change First <-> Third Angle
2016-07-11 15:32:16 +02:00
WandererFan
ebc19e7215 misc /Mod/Drawing, QGI, obs functions 2016-07-11 15:32:16 +02:00
WandererFan
df13886349 Add Mod/TechDraw/Gui 2016-07-11 15:32:16 +02:00