Commit Graph

1651 Commits

Author SHA1 Message Date
wmayer
2c6f1fd56a Qt5OpenGL: fix transparency issue with framebuffer objects with old OpenGL API 2017-03-21 20:37:03 +01:00
wmayer
e1c5597a5e Qt5OpenGL: implement grabFramebuffer 2017-03-21 20:37:03 +01:00
wmayer
ed33adc35d Qt5OpenGL: make off-screen renderer working 2017-03-21 20:37:03 +01:00
wmayer
5bf326c1fb Qt5OpenGL: fix creating thumbnals, pdf, print preview and snapshot 2017-03-21 20:37:03 +01:00
wmayer
4bf14e7096 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
f04badda03 Qt5OpenGL: at startup determine some basic information about OpenGL setup 2017-03-21 20:37:03 +01:00
wmayer
6638ff90d9 Qt5OpenGL: do not use pixel buffer for the moment 2017-03-21 20:37:03 +01:00
wmayer
b0cd0a5163 Qt5OpenGL: release context when finished 2017-03-21 20:37:03 +01:00
wmayer
749ace7e6b Qt5OpenGL: Framebufferobject rendering works and handles transparency and anti-aliasing 2017-03-21 20:37:03 +01:00
wmayer
27d76f3a47 Qt5OpenGL: port Image rendering mode to make box zoom & selection and cutting work again 2017-03-21 20:37:03 +01:00
wmayer
1abc9d3c42 port Flag class to use QOpenGLWidget 2017-03-21 20:37:03 +01:00
wmayer
f587ec5b29 disabling depth test makes 3d viewer work again 2017-03-21 20:37:03 +01:00
wmayer
a1dd462de9 move QuarterWidget to QOpenGLWidget 2017-03-21 20:37:03 +01:00
Zheng, Lei
f852e6b789 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
a210cc5bc9 Gui: added bbox selection style to GeometryObject 2017-03-21 09:29:15 +01:00
AjinkyaDahale
6a385f5ee3 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
bcfac0e9b7 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
c2cdc9eded py3: Gui: FreeCADGuiInit.py 2017-03-18 18:20:59 +01:00
Zheng, Lei
378f99f1b3 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
6b66a38ee3 Updated translations with latest files from crowdin 2017-03-06 11:53:09 -03:00
wmayer
db66835c63 add option to placement dialog to rotate around center of mass 2017-03-05 18:47:34 +01:00
wmayer
45bf8ed91e fix -Wunused-private-field, -Woverloaded-virtual 2017-03-05 10:10:53 +01:00
Kunda
19f8fd4c10 source typo fixes pt5
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
wmayer
adca327b34 add 'no shading' and 'hidden line' styles 2017-03-03 16:41:38 +01:00
Bruce B. Lacey
61658e60ad 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
ac9f475702 Clean up clang inconsistent override warnings. 2017-03-01 22:00:41 +01:00
hgutsche
6226d2bc9e Improved comment about Quarter doxygen commands 2017-02-28 18:52:04 +01:00
hgutsche
de8f66f857 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
dde52952f4 source typo fixes pt1 (only on py3 merged code)
issue 0002914
2017-02-27 11:32:47 +01:00
wmayer
441ce4a158 issue #0002741: Crashes when drawing tutorial 2017-02-27 09:02:22 +01:00
Bruce B. Lacey
28f7944027 Use scalable application icon resources on macOS
Fixes #2920
2017-02-23 20:27:55 -08:00
wmayer
dd20ba3d06 use Ctrl+MMB for zooming 2017-02-22 10:22:11 +01:00
Kunda
d61de347ea 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
f55635900f fix setEdit, unsetEdit and doubleClicked methods of Python view provider 2017-02-20 22:16:56 +01:00
wmayer
6630bcf9fa issue #0001999: [STEP] Tessellation data or OpenInventor data memory leak 2017-02-20 10:08:18 +01:00
Jean-Marie Verdun
2209c7d5d7 Fix ProgressBar rendering following STEP reader enhancement 2017-02-18 10:08:48 +01:00
Mateusz Skowroński
7e42975556 Fix more GCC warnings. 2017-02-18 09:35:31 +01:00
wwmayer
52f420d848 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
49a8705b1d 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
ec0089395f Merge pull request #519 from f3nix/qt5-warnings-1
Fix some Qt5 build warnings
2017-02-12 19:01:27 +01:00
wmayer
6d6fbdcd8d implement correct way to query VBO status of viewer from SoBRepFaceSet node 2017-02-12 14:41:55 +01:00
wmayer
8612c4f99f write custom action class to notify shape node about vbo changes 2017-02-12 14:41:55 +01:00
wmayer
56ff88ea46 cleanup experimental code, improve whitespaces 2017-02-12 14:41:55 +01:00
Jean-Marie Verdun
8383f7222f 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
d7541bcd28 QStyleOptionViewItemV4 is deprecated in Qt5. Replace it with QStyleOptionViewItem. 2017-02-12 05:46:07 +01:00
Kurt Kremitzki
04071b4481 Update view mappings to sensible defaults 2017-02-11 02:22:33 -06:00
Yorik van Havre
ebb3c84bcb Gave keyboard shortcuts (V,1 -> V,5) to Draw Styles 2017-02-10 20:15:58 -02:00
wwmayer
43a54839de 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
6c2a7b479f issue #0002891: Sketching impossible, Type.Error Exception 2017-02-09 12:46:58 +01:00
Kunda
364f53aa89 Replace new Short URLs with old wiki URLs pt2
Continuing to replace URLS
2017-02-08 23:38:54 -05:00