-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rotopaint overlay #982
Conversation
Bountysource appears to be dead, so it should be removed
Minor readme fixes
Debug build fix
CMake: Debug build type fix
Msys2 updated gcc in the last few days which has caused the package repo build to fail. Here are some minor fixes to make the build work again. - Add fmt to openimageio's dependency list since the version included with the openimageio source now appears to cause an internal compiler error. - Added an include for math.h to in a libsox test file to make the compiler stop generating an error about fabs() not being defined. - Fix type mismatch and missing declaration errors in ImageMagick. - Updated mingw-w64-dump_syms gitcommit to point to a version that fixes a missing header build error.
Msys2's libcurl package was recently updated to enable HTTP/3 support which means it now also depends on libnghttp3. genDllVersions.sh was updated to include this new dependency. The Windows installer build action was also changed to upload its build artifacts before it tests to make sure the plugins load. This makes it possible to look at the generated artifacts for missing dependencies if the plugin load verification fails.
- Force Shiboken to use detected python libraries instead of using its own library detection logic. - Specify -O compiler option for debug builds like the qmake build. - Remove unconditional NDEBUG define added by the Shiboken cmake helper so that asserts work correctly on debug builds.
This fixes asserts in debug builds where Qt's GL context is set when a ScopedGLContext is created. This can happen when we have a project open and the user tries to open another project. When the event callback is dispatched, the Qt GL context is still set. The fix justs removes the assert and adds logic to save and restore any existing GL context that is set.
I'm assuming that the last commit is the only thing you are actually trying to change. I suspect you may need to do something like "git rebase --onto RB-2.6 08b1c1a" and then force push to get this PR to only contain that last commit. The changes in that last commit look ok to me. I'm not very familiar with this code, but I'm wondering if the redraw assignment around line 2770 should be modified from "redraw = " to "redraw |=" so that it doesn't accidentally cancel the value you set in your new logic. |
Can confirm that 08b1c1a fixes the broken overlay, thanks 👍 |
done in latest commit (I prefered explicitly setting redrew = true if necessary, for readability) |
mmoving to a PR on RB-2.5 |
Thanks for submitting a pull request! Please provide enough information so that others can review your pull request. Additionally, make sure you've done all of these things:
PR Description
What type of PR is this? (Check one of the boxes below)
What does this pull request do?
With many overlay tools, the tool cursor is par of the overlay, so the overlay should always be refreshed on pen motion with these tools.