Commit Graph

1652 Commits

Author SHA1 Message Date
wmayer
764f9ce7e5 Qt5OpenGL: use OpenGL debug logger to locate problems, fix a couple of errors 2017-03-21 20:37:03 +01:00
wmayer
79f961ee9c Qt5OpenGL: fix transparency issue with framebuffer objects with old OpenGL API 2017-03-21 20:37:03 +01:00
wmayer
f13538a016 Qt5OpenGL: implement grabFramebuffer 2017-03-21 20:37:03 +01:00
wmayer
34f277e7bb Qt5OpenGL: make off-screen renderer working 2017-03-21 20:37:03 +01:00
wmayer
67f05c98fa Qt5OpenGL: fix creating thumbnals, pdf, print preview and snapshot 2017-03-21 20:37:03 +01:00
wmayer
a04a7a6b21 Ot5OpenGL: fix phantom objects in sketcher selection mode, get texture with the exact content of the 3d viewer 2017-03-21 20:37:03 +01:00
wmayer
1565139b20 Qt5OpenGL: at startup determine some basic information about OpenGL setup 2017-03-21 20:37:03 +01:00
wmayer
d88b00bcdb Qt5OpenGL: do not use pixel buffer for the moment 2017-03-21 20:37:03 +01:00
wmayer
f8a14fc69e Qt5OpenGL: release context when finished 2017-03-21 20:37:03 +01:00
wmayer
0bec4dbd63 Qt5OpenGL: Framebufferobject rendering works and handles transparency and anti-aliasing 2017-03-21 20:37:03 +01:00
wmayer
6e026fd67b Qt5OpenGL: port Image rendering mode to make box zoom & selection and cutting work again 2017-03-21 20:37:03 +01:00
wmayer
164e18de2b port Flag class to use QOpenGLWidget 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
Zheng, Lei
772827b49b Gui: increase pre-select information display
The pre-select sub-element string maybe clipped depending on the main
window size. This patch increased sub-element display width by
increasing MainWindow::showMessage text width and shortening pre-select
coordinate information.
2017-03-21 10:05:52 +01:00
Zheng, Lei
63a6f9c8c5 Gui: added bbox selection style to GeometryObject 2017-03-21 09:29:15 +01:00
AjinkyaDahale
f139ecd22b Possible solution to a problem in pad/pocket up-to-face
Somehow we weren't able to pad/pocket up-to-face when the profile sketch
is made on a datum plane
2017-03-19 18:09:14 -03:00
looooo
6e8c18754f use __ModDirs__ for module directories and set the search path of FreeCAD to the base directories, which contain all the modules 2017-03-18 18:20:59 +01:00
looooo
9e23a2086c py3: Gui: FreeCADGuiInit.py 2017-03-18 18:20:59 +01:00
Zheng, Lei
18a7e73bf6 Added App::PropertyPrecision
The purpose of this property and the associated property item is to
properly display floating value of many decimal points, such as
Precision::Confusion()
2017-03-15 10:46:32 -03:00
Yorik van Havre
9f44809e9e Updated translations with latest files from crowdin 2017-03-06 11:53:09 -03:00
wmayer
099bdf5f5d add option to placement dialog to rotate around center of mass 2017-03-05 18:47:34 +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
wmayer
69e1297dd2 add 'no shading' and 'hidden line' styles 2017-03-03 16:41:38 +01:00
Bruce B. Lacey
f536dbe1d2 Qt5: Enabled HiDPI scaling and Use HiDPI Qt Pixmaps
* Enable HiDPI scaling on displays that support it
    on Qt 5.6 and later
  * Enable HiDPI Pixmaps on Qt 5.1 and later
2017-03-03 11:58:38 -03:00
Ian Rees
4303384667 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01: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
Kunda
a7414e5789 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
wmayer
ac353029cd issue #0002741: Crashes when drawing tutorial 2017-02-27 09:02:22 +01:00
Bruce B. Lacey
b601ea32f5 Use scalable application icon resources on macOS
Fixes #2920
2017-02-23 20:27:55 -08:00
wmayer
cd810955f0 use Ctrl+MMB for zooming 2017-02-22 10:22:11 +01:00
Kunda
cfa03cd86f Cleanup non-short-url wiki links in translations
...to avoid translators translating the url varable names
2017-02-21 12:35:25 -05:00
wmayer
8d19b38550 fix setEdit, unsetEdit and doubleClicked methods of Python view provider 2017-02-20 22:16:56 +01:00
wmayer
64223b7f4c issue #0001999: [STEP] Tessellation data or OpenInventor data memory leak 2017-02-20 10:08:18 +01:00
Jean-Marie Verdun
8fd823da1f Fix ProgressBar rendering following STEP reader enhancement 2017-02-18 10:08:48 +01:00
Mateusz Skowroński
f8778c4d6f Fix more GCC warnings. 2017-02-18 09:35:31 +01:00
wwmayer
4812ce87e6 Merge pull request #515 from kkremitzki/view-mappings
Update view mappings to sensible defaults
2017-02-15 23:05:26 +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
wwmayer
11d2d7f196 Merge pull request #519 from f3nix/qt5-warnings-1
Fix some Qt5 build warnings
2017-02-12 19:01:27 +01:00
wmayer
c2f1bab784 implement correct way to query VBO status of viewer from SoBRepFaceSet node 2017-02-12 14:41:55 +01:00
wmayer
fe15db6af3 write custom action class to notify shape node about vbo changes 2017-02-12 14:41:55 +01:00
wmayer
4a0720dd00 cleanup experimental code, improve whitespaces 2017-02-12 14:41:55 +01:00
Jean-Marie Verdun
44af3629db Accelerate 3D rendering with VBO support
*First step to move Part rendering using VBO instead of direct rendering
*Update comments inside the code
*Assume VBO is available if OpenGL > 3.0 is detected
*Add initial Color support to VBO rendering !
*Initial full feature VBO rendering implementation
*Modify some include issue for linux build
*Try to fix linux include header
*Reupdate header include for linux support
*Fix compilation on linux
*Fix linux and MacoOS build
*Fix glGetString definition
*Fix Windows build
*Add VBO support as an option into the Preference menu
*Fix crash while running FreeCAD test bench with new VBO rendering infrastructure (in both cases)
*Improve performances
*Compute material index only when a VBO update is required (improve frame rate by 10%)
*Clean the code
*Fix Travis compilation warning
*Try to fix Windows compilation issue
*Update include for Windows
2017-02-12 14:41:55 +01:00
Mateusz Skowroński
013d51e1c2 QStyleOptionViewItemV4 is deprecated in Qt5. Replace it with QStyleOptionViewItem. 2017-02-12 05:46:07 +01:00
Kurt Kremitzki
cbf7025db1 Update view mappings to sensible defaults 2017-02-11 02:22:33 -06:00
Yorik van Havre
c986ebfe75 Gave keyboard shortcuts (V,1 -> V,5) to Draw Styles 2017-02-10 20:15:58 -02:00
wwmayer
613d8eeda1 Merge pull request #511 from luzpaz/Short-urls
Replace old wiki URLs with new Short URLs
2017-02-09 19:36:16 +01:00
wmayer
86c4d8bc9c issue #0002891: Sketching impossible, Type.Error Exception 2017-02-09 12:46:58 +01:00