Commit Graph

171 Commits (master)

Author SHA1 Message Date
jvoisin 06ae26037f Remove some superfluous includes in the opencs 4 years ago
Andrei Kortunov 2d869ca9ff Fix node masks signed/unsigned mismatch 4 years ago
Coleman Smith 3b9db41346 removing unneeded variable 4 years ago
Coleman Smith 842ea9d6ed simplifying a bit
- attaching gradient camera directly to the main camera
- using Vec4ub
4 years ago
Andrei Kortunov 8084a336b5 Replace zeroes and nulls by nullptrs 4 years ago
elsid 40ad87bc4d
Replace OpenThreads by std types 5 years ago
Andrei Kortunov c8d5d421d9 Do not use deprecated mouse wheel movement angle 5 years ago
Bret Curtis 61a5c6125d #5480: Drop Qt4 support and require Qt 5.12 or later. 5 years ago
Bret Curtis 68549828b4 create static functions to set/get hidden node mask; compromise on magic numbers to make things easier to understand 5 years ago
Bret Curtis 8a8107e837 as it says; revert vismask and uncomplicate openmw 5 years ago
Andrei Kortunov 84979fa8b7 Move VisMask to components 5 years ago
AnyOldName3 73722eedf3 Add default font releaseGLObjects workaround for OSG <3.65
This resolves https://gitlab.com/OpenMW/openmw/issues/4704

I've not compiled this or anything and I'm going off my memory from
around ten or eleven months ago, so if this fails CI or causes more
problems, that's why. The most likely issue is that we'll need to make
the context current before releasing the program.
5 years ago
Andrei Kortunov 9e4a339ad3 Daytime node switch support (feature #4836) 6 years ago
Andrei Kortunov 4ee15ddcb9 Fix many Coverity Scan warnings 6 years ago
Andrei Kortunov e06f0b797a Replace all NULLs to nullptr 6 years ago
Andrei Kortunov f4330cf057 Editor: limit FPS in 3D preview windows (feature #3641) 7 years ago
Miloslav Číž 1f5feeddb9 CS: Change camera parameter types to int 7 years ago
Miloslav Číž e309dfd234 CS: Rename variables (AppVeyor fix) 7 years ago
Miloslav Číž d85f8deaa3 CS: Add fixed roll setting, plus ortho fix 7 years ago
Miloslav Číž 1b77e3ed62 CS: Add ortho camera setting 7 years ago
Miloslav Číž cfdc6c788e CS: Make camera FOV change dynamically 7 years ago
Miloslav Číž 360d786ff2 CS: Add rendering prefs and camera FOV 7 years ago
scrawl 4fba157d3b Implement releaseGLObjects for cached resources 7 years ago
Kyle Cooley 249c1ae95a Fix orbit camera jumping back to old position 8 years ago
Bret Curtis 39185e6f8c purge the rest of boost::shared and any other boost related things that no longer are required
put boost system back in, clean others up

revert Qt

add back boost fstream
8 years ago
scrawl 625c5040ce Fix build 8 years ago
scrawl 960d4a96c3 Reduce the number of osg::Material state by setting the default state on the graph root 8 years ago
Leon Krieg c7b4b2cdd7 Fixed multiple spelling mistakes 8 years ago
scrawl 95a67bf0c2 Disable OSG 3.5.5 thread affinity setting in the scenewidget due to the interference with QT threads
Reference: http://forum.openscenegraph.org/viewtopic.php?t=16158
8 years ago
LohikaarmeHAV 19c74a4d6e Part two 9 years ago
LohikaarmeHAV 7309be8592 First part 9 years ago
lohikaarme 48bcde8cc9 ... 9 years ago
LohikaarmeHav b0cf276cfc hups 9 years ago
LohikaarmeHav 7cd991107c Nah
Preview seem to not like removing mCamPositionSet and I have do other things.
9 years ago
LohikaarmeHav c6bc30d6a8 Forgot to remove line and add comment. 9 years ago
LohikaarmeHav c6ec473280 Camera reset now every time cell object->view is pressed. 9 years ago
Aesylwinn 3edc77a32b Remove QShortcut usage,
Add a lot of shortcuts,
Remove debug messages
9 years ago
Aesylwinn f251c3867d Redesigned shortcut handler to be capable of dealing with child and
parent widgets. This should be the final design change. Also, some
various bug fixes.
9 years ago
Aesylwinn 1b5273f2b7 Finally re-added rendering stats, refactored some functions
to better fit new input structure, removed unneeded shortcut
declarations in headers, and changed the cell marker
interaction to use primary/secondary select instead of
shift + primary/secondary edit.
9 years ago
Aesylwinn faa84e0a35 - Further extended usage of new shortcut class
- Refactored camera classes to take advantage of Qt's reference counting
- Removed some of the old implementation
9 years ago
Aesylwinn e8626e588a Changes in shortcut design.
- Handle input in centralized class for potential conflict resolution.
- Remove wrapper class for QShortcut; it should be unnecessary.
- Added customizable shortcut usage to orbit camera mode.
9 years ago
Aesylwinn 40297701d0 Base key config/shortcut implementation 9 years ago
Aesylwinn 2f39a6e20d Fix camera input not being reset when focus for widget is lost. 9 years ago
Aesylwinn 7657684dad Fix mouse tracking to fix tooltip behavior. Also hide tooltips
when the mouse is moved.
9 years ago
Aesylwinn e07687ee01 Add button for camera mouse inversion in user preferences, and separate the
sensitivity settings for orbit and free cameras.
9 years ago
Aesylwinn e127c691e2 Cleanup, remove some unused includes 9 years ago
Aesylwinn 99e9017242 Cleanup, externalize mask used to pick center 9 years ago
Aesylwinn a4cc891383 Cleanup, move setup to CameraController class 9 years ago
Aesylwinn efa2ec21ff Cleanup, no need to inherit and override osg::ComputeBoundsVisitor 9 years ago
Aesylwinn 1e30891891 Broaden selection mask for getting scene bounds if nothing is found. 9 years ago