Commit Graph

29 Commits (master)

Author SHA1 Message Date
Evil Eye 9214ffb50b Replace some empty constructors and destructors with default 2 years ago
jvoisin 1a326294c0 Run IWYU on the opencs 2 years ago
jvoisin cd29c181cf Another pass with IWYU 2 years ago
clang-format-bot ddb0522bbf
Apply clang-format to code base 2 years ago
Andrei Kortunov 8ca3c3b123 Mark overrided methods by override keyword 4 years ago
Miloslav Číž d85f8deaa3 CS: Add fixed roll setting, plus ortho fix 7 years ago
Rob Cutmore 0ff56677f6 Remove unused code 8 years ago
Rob Cutmore 84bad9316d Editor: flag orbit camera for re-initialization
After swapping cells the orbit cam controller needs to be
re-initialized to properly center on the new cell.
8 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 455d227f3c Changed shortcut design to allow a configurable second output. Also
re-added shift for temporarily changing camera speed.
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 e07687ee01 Add button for camera mouse inversion in user preferences, and separate the
sensitivity settings for orbit and free cameras.
9 years ago
Aesylwinn 0ef7c778e0 Cleanup, isModified was a remnant of an old design and is only used in the first person camera mode. 9 years ago
Aesylwinn 4ef9981544 Add ability to set orbit camera center outside of class. 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 a0fb242bf8 Slight improvement to camera placement. 9 years ago
Aesylwinn 3c83128abc Add more customization. 9 years ago
Aesylwinn 3a676fc456 Revert "Create a visual representation of the center of the orbit camera."
This reverts commit 2c894acd98.

# Conflicts:
#	apps/opencs/view/render/cameracontroller.cpp
#	apps/opencs/view/render/cameracontroller.hpp
9 years ago
Aesylwinn 342d31de76 More fixes to the orbit manipulator 9 years ago
Aesylwinn 2c894acd98 Create a visual representation of the center of the orbit camera.
For debugging purposes.
9 years ago
Aesylwinn 999869da24 Position camera above, near, and looking at the scene. 9 years ago
Aesylwinn fcccacc0fa Define a constant for the World Up vector 9 years ago
Aesylwinn 08fe914ba1 Preliminary editor camera 9 years ago