Skip to content

Fix/qt5 fix3d - #2895

Merged
timosachsenberg merged 7 commits into
OpenMS:feature/qt5from
hroest:fix/qt5_fix3d
Dec 13, 2017
Merged

timosachsenberg merged 7 commits into
OpenMS:feature/qt5from
hroest:fix/qt5_fix3d

Conversation

@hroest

@hroest hroest commented Sep 6, 2017 •

Copy link
Copy Markdown
Contributor

fixes some issues on Linux with 3D rendering

  • removes flicker
  • fixes the positioning of the 3D object

@hroest

hroest commented Sep 6, 2017

Copy link
Copy Markdown
Contributor Author

for Linux, this is a marked improvement :-)

before:

3dview_1

after:

paint3d_after

@hroest

hroest commented Sep 6, 2017

Copy link
Copy Markdown
Contributor Author

In my testing, QPainter::beginNativePainting() was responsible for the behavior above where nothing would get painted // all painting would be in the upper right corner

Regarding begin/end I dont think we need them and they only create warning output on the CLI. see also the docu: http://doc.qt.io/qt-5/qpainter.html#begin

  • Note that most of the time, you can use one of the constructors instead of begin(), and that end() is automatically done at destruction.

@hroest

hroest commented Sep 11, 2017

Copy link
Copy Markdown
Contributor Author

@jpfeuffer @timosachsenberg can you also have a look here?

1 similar comment
@hroest

hroest commented Nov 9, 2017

Copy link
Copy Markdown
Contributor Author

@jpfeuffer @timosachsenberg can you also have a look here?

@hroest

hroest commented Dec 12, 2017

Copy link
Copy Markdown
Contributor Author

@jpfeuffer @timosachsenberg can you also have a look here? merge?

@timosachsenberg

Copy link
Copy Markdown
Contributor

I think this is good to merge. Can't confirm on mac right now.

@timosachsenberg
timosachsenberg merged commit b9b3562 into OpenMS:feature/qt5 Dec 13, 2017
@hroest
hroest deleted the fix/qt5_fix3d branch December 13, 2017 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants