Commit Graph

62 Commits

Author SHA1 Message Date
wmayer
6191468ab8 fix header include 2018-10-04 16:49:04 +02:00
wmayer
f0a13f0530 fix possible crash in Quarter viewer 2018-07-25 19:50:25 +02:00
wmayer
3b4ab88844 + option to disable navi cube
+ handle destruction of GL context in 3d viewer class
+ fix for OpenGL error message: 'Texture is not valid in the current context. Texture has not been destroyed'
2018-05-26 15:33:45 +02:00
luz.paz
6e778d2c7a Doxy typos 2018-02-23 11:52:31 -03:00
Unknown
e3eca59173 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
wmayer
e9bed58f4b make the fps counter more stable 2017-10-13 00:13:19 +02:00
luzpaz
f3bf8fe919 Misc. typos
+ some are doxy others are just comment code.  
+ some minor whitespace and grammatical tweaks. 
+ app/SCL/* typos have also been submitted upstream (https://github.com/stepcode/stepcode/pull/366). So it's ok to merge them in to master.
2017-10-04 17:59:11 +02:00
wmayer
4737b2bcbc fix build failure on Windows due to conflicting define with Win32 API 2017-09-20 15:58:09 +02:00
Mateusz Skowroński
2e32324007 Fix some more Quarter High DPI Display issues. Partially fixes #3130 (the offset issue).
Related to issue #2968.

Ported from code by Randall O'Reilly.
https://grey.colorado.edu/svn/coin3d/quarter/trunk/
2017-09-20 14:37:22 +02:00
wmayer
df1da3f8d8 Qt5 port: workaround to keep multi-sampling when undocking mdi window 2017-05-01 18:53:58 +02:00
wmayer
1f6efd5182 Qt5OpenGL: fix flickering on resize 2017-03-21 20:37:03 +01:00
wmayer
2d4198f453 Qt5OpenGL: add OpenGL debug logger (deactivated) 2017-03-21 20:37:03 +01:00
wmayer
764f9ce7e5 Qt5OpenGL: use OpenGL debug logger to locate problems, fix a couple of errors 2017-03-21 20:37:03 +01:00
wmayer
f8a14fc69e Qt5OpenGL: release context when finished 2017-03-21 20:37:03 +01:00
wmayer
ac1bd39cfe disabling depth test makes 3d viewer work again 2017-03-21 20:37:03 +01:00
wmayer
9e42badfaf move QuarterWidget to QOpenGLWidget 2017-03-21 20:37:03 +01:00
wmayer
d6549e7dd7 fix -Wunused-private-field, -Woverloaded-virtual 2017-03-05 10:10:53 +01:00
Kunda
de2392eb18 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
hgutsche
c7a467d454 Improved comment about Quarter doxygen commands 2017-02-28 18:52:04 +01:00
hgutsche
201c9d89b0 Some fixes for doygen syntax errors and some configuration to make it run smoother under Windows 2017-02-28 18:52:04 +01:00
Mateusz Skowroński
f8778c4d6f Fix more GCC warnings. 2017-02-18 09:35:31 +01:00
Mateusz Skowroński
3447829a2c Fix some Quarter High DPI Display issues. Ported from code by Randall O'Reilly.
https://grey.colorado.edu/svn/coin3d/quarter/trunk/
2017-02-15 22:16:46 +01:00
Mateusz Skowroński
ce1c021132 * Cosmetic change. Replace Qt keyword emit with Q_EMIT.
* Whitespace fixes.
2017-01-05 22:57:30 +01:00
wmayer
18738afc1e replace Qt keyword slots with Q_SLOTS 2017-01-05 14:27:19 +01:00
wmayer
bfa7ac910d workaround for performance problem with Qt 5.5.x 2016-12-28 10:32:22 +01:00
wmayer
5096f55ccb port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wmayer
1e6dcabefc fix -Wextra in FreeCADGui 2016-09-21 20:54:52 +02:00
wmayer
279531e89d remove superfluous semicolons 2016-08-14 17:10:49 +02:00
DeepSOIC
8415bc32b6 Gui: Selection: pick radius support 2016-08-10 18:46:45 +02:00
wmayer
6380881b58 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
wmayer
57d3e15e37 + activate new implementation of QuarterWidget::viewportEvent 2016-04-09 19:04:21 +02:00
wmayer
67c76596ce + add convenience methods to SoQTQuarterAdaptor 2016-04-04 12:53:06 +02:00
wmayer
7c55086d2c + fix crash when viewer has no camera 2016-04-04 12:48:58 +02:00
wmayer
555f8cb325 + fix issue with cursor on viewer widget, prepare code for improved event handling 2016-03-28 00:55:37 +02:00
wmayer
fb1310f43e + resize scene size when resizing graphics view 2016-03-25 18:11:56 +01:00
Eivind Kvedalen
cfc3de186a SIM::Coin3D::Quarter::SoQTQuarterAdaptor: Added missing initializationg of member field m_viewingflag. 2016-03-08 16:09:25 +01:00
maurerpe
c455a17fb7 Ensure mutexes are always properly unlocked
Error exists with Qt4 and Qt5.  Qt5 generated helpful warnings that made
it easier to debug.
2016-02-24 23:56:05 +01:00
Mateusz Skowroński
6942c23895 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
fe6face07b Change includes in Quarter to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-01-05 16:10:02 +01:00
Mateusz Skowroński
c275b35d48 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
0695552cff QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
f46dc20fca + fix & suppress msvc warnings 2015-10-16 18:26:30 +02:00
Przemo Firszt
5fcd8224b5 Doc: Quarter doc main page is not FreeCAD documentation main page
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-08-30 11:59:21 +02:00
wmayer
4a176cbe29 + fix various warnings 2015-08-29 22:05:09 +02:00
wwmayer
6bf065c097 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
wmayer
910d6c93c2 + fixes #0001970: Spaceball 5000 USB no longer works in Windows 7 in 0.15 dev versions 2015-03-11 12:44:38 +01:00
wmayer
629dc9aad0 + fixes #0001972: FreeCAD crashes when using keyboard shortcut H to constrain a line 2015-02-18 12:50:16 +01:00
DeepSOIC
865ecca262 Sketcher: Responsivity tweaks and AngleViaPoint Constraint
Solver iteration limit independent of system size (reduces hangs when
solver fails to converge).
Repaint() instead of update() to force render for every movePoint.

Sketcher: New Constraint AngleViaPoint

* Adding generic CalculateNormal() method
* Reconfiguration of GCS geometry classes: adding a base class "Curve",
that has a pure virtual function CalculateNormal().
* Initial inplementation of the new function.
* adding Vector2D class (I wanted to reuse the existing, but got wierd
compile errors, so implemented a new one... TODO.)
* Adding redirection support into GCS shapes. Adding a Copy method to
GCS::Curve.
* Automatic point-on-object
* Angle precalculation: when AngleViaPoint is added, angle is properly calculated based on
existing geometry.
* Added tangency-via-point using one.
* Implemented placement of tangency-via-point icon in 3d view. Also
affected is the placement of point-on-object icon (since it is very
similar code, it is now shared with tangency-via-point)
* Placement and moving of angle datum
Functions: calculateAngleViaPoint, isPointOnCurve,
calculateConstraintError exposed to python
* Endpoint tangency: All endpoint-to-endpoint and endpoint-to-curve tangency now works
through AngleViaPoint constraint and obsolete code clean up (most procedures
addConstraintTangentXXX2YYY)
2015-01-02 11:48:28 +01:00
wmayer
75e08f0730 + fix bug in SoQTQuarterAdaptor::processSoEvent 2014-11-06 19:14:14 +01:00
Stefan Tröger
95a976c3d0 fixes #0001781: Reimplement arrow keys for 3d view
- including minor formating fixes
2014-11-06 18:56:51 +01:00