Commit Graph

25 Commits (a41c8716ec28a8be2d6f02adbd536b81b4338781)

Author SHA1 Message Date
Marius Kintel 966add80a8 Run fixed bug test cases as part of the normal regression tests 2015-01-05 21:43:17 -05:00
Torsten Paul 3c337449e9 Unify zoom handling for perspective and orthogonal mode. 2015-01-05 18:34:08 +01:00
Torsten Paul 8d401d3534 Use viewport height as "distance" for the status text in orthogonal mode.
While this is not strictly correct as the actual distance has no effect
in orthogonal mode, it's giving the user an indication of the zoom factor.
2015-01-04 17:09:27 +01:00
Torsten Paul a7e3c8639c Fix compile problem on MinGW and force UTF-8 as encoding. 2014-10-19 01:25:23 +02:00
Torsten Paul 17244af2f9 Add more gettext calls. 2014-10-19 01:25:23 +02:00
Oskar Linde b257891391 Camera handling: Double click on a point of an object to set the camera center 2014-07-06 07:40:46 +02:00
Marius Kintel 4bed4902e9 Bugfix: Zoom was broken for orthographic cameras. Fixes #853 2014-06-26 15:34:15 -04:00
Marius Kintel d066648390 Added View->View All menu entry 2014-06-21 16:12:55 -04:00
Marius Kintel 49ff368c78 #840 Adjust default camera distance after changing FOV to 45 degrees 2014-06-21 14:12:52 -04:00
Marius Kintel 458d60faa6 Refactored the camera handling a bit, added --viewall cmd-line parameter 2014-06-19 17:47:38 -04:00
Sławomir Demeszko ff555d760b Preventing loosing keyboard focus by editor.
When you write your code in editor sometimes you want to rotate or move object
on 3D view, but due stealing focus by this widget it is quite tedious.
You need additional mouse click to return focus to editor and search line where
you last edited. This behavior is not neccessary as we can interpret keyboard
events globally (in MainWindow) and send commands to 3D view.

Console window need ClickFocus to show context menu.

Zoom In/Out 3D view is assigned to CTRL+[ and CTRL+]. Adding also additional
shortcut to zoom in editor font CTRL+= (with CTRL++ SHIFT is necessary).
2014-04-11 01:18:08 +02:00
Marius Kintel 0f3de6ca8a Qt5: Ported Q_WS usage to Q_OS 2014-02-05 00:27:05 -05:00
Marius Kintel 77829d0a3a Merge pull request #529 from t-paul/issue434
Add menu entry "Reset View" to reset viewport to initial settings
2013-11-04 14:32:24 -08:00
Torsten Paul be4c72d9e9 Add menu entry "Reset View" to reset viewport to initial settings (fixes Issue #434). 2013-10-31 22:56:31 +01:00
Henner Zeller 3e15f42113 o Key-press event in the QGLView were ignored, as it never got the
focus. Fix: Gain focus on mouse-click inside that view.
o QGLView: make zoom-in as well possible on '=' key. On American
  keyboards, the '=' key is right next to the '-' (Minus) key, while
  '+' (plus) requires Shift-equals.
o Provide a useful 'c' key-binding for 'center'. Very useful after
  getting lost in panning.
2013-10-24 22:56:55 -07:00
Don Bright ea92d9ce19 fix issue #430 2013-09-11 19:52:31 -05:00
don bright 94d4acf765 cleanup tab spacing 2013-03-03 20:23:03 -06:00
don bright 2b2dc7a078 make Camera into single class, simplify code 2013-03-03 10:52:25 -06:00
don bright 06fd9e2798 cleanup commented-out 2013-02-27 00:50:33 -06:00
don bright 13b0fe4b3f rework Camera using boost::variant. first working --gimbalcam version 2013-02-27 00:37:37 -06:00
don bright 50489c4287 begin to implement --viewport option, by adding Camera class + children 2013-02-25 22:32:57 -06:00
don bright 8738cdc034 split out axes functions. begin to split out opencsg pre-rendering 2013-02-24 19:04:50 -06:00
don bright eb2c0d38f2 unify intializeGL(), remove duplicate code 2013-02-24 14:31:03 -06:00
don bright 76c5d5b55c merge enable_opencsg_shaders into GLView, remove duplicate code
from QGLView and OffscreenView
2013-02-24 12:33:11 -06:00
don bright 707118ce94 move enable_opencsg_shaders, fix indenting, split out display_opencsg_warning
also update docs, and try to make enable_opencsg_shaders the same between
qgl and offscreengl
2013-02-24 11:21:45 -06:00