Comments (4)
Thanks for reporting this. I can reproduce it on Linux, though it seems to work fine on Mac.
Revising the if
statement as follows seems to fix it:
void KeyF7Pressed(GLenum state)
{
if (state & ShiftMask)
{
// Shift + F7 code
}
else
{
// F7 code
}
}
@v-dobrev -- what do you think?
from glvis.
Sounds good to me - make the change.
from glvis.
@najlkin, can you confirm that #84 works for you?
from glvis.
Yes, it works perfectly for me 😉 The issue was hardware specific maybe. I have tried master branch at a different computer with nearly the same OS and there were no problems at all. It seems that certain piece of hardware in combination with certain OS sets some extra stuff in the state variable, but there is no need to test all bits anyway.
from glvis.
Related Issues (20)
- Optional build dependencies incomplete HOT 5
- Visualize actual domain boundary of parallel meshes HOT 4
- Can't build on M1 Apple Silicon version! HOT 6
- glvis and mingw(msys2) HOT 10
- glvis support for windows HOT 4
- Movies HOT 3
- CMake tries to install GLVis, although it build glvis HOT 4
- Significant increase in memory usage HOT 3
- build with intel fails HOT 14
- Update CI to test installation with both GNU make and CMake
- Failed to initialize SDL: No available video device HOT 4
- Scalar fields with MapType INTEGRAL do not display properly HOT 1
- make install is broken on 4.2? "not a member of mfem::Geometry" HOT 1
- Screenshot does not behaves reliably in glvs script HOT 2
- glvis over x2go connection to remote sever results in FATAL: window and/or OpenGL context creation failed. HOT 4
- Fail to display Hex mesh of GMSH format HOT 2
- Change colorbar number format HOT 4
- Wrong vertex ids with ncmesh HOT 3
- Space mouse support HOT 1
- Build GLVis using gcc under MacOS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glvis.