Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
205111a6
Commit
205111a6
authored
Aug 22, 2017
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX
#413
] fixed fall through statements
parent
8caa9740
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
src/core/graphicsEngine/WGEViewer.cpp
src/core/graphicsEngine/WGEViewer.cpp
+1
-0
src/core/graphicsEngine/WPickHandler.cpp
src/core/graphicsEngine/WPickHandler.cpp
+1
-0
src/modules/data/io/WReaderVTK.cpp
src/modules/data/io/WReaderVTK.cpp
+1
-0
No files found.
src/core/graphicsEngine/WGEViewer.cpp
View file @
205111a6
...
...
@@ -93,6 +93,7 @@ WGEViewer::WGEViewer( std::string name, osg::ref_ptr<osg::Referenced> wdata, int
m_View
->
addEventHandler
(
m_pickHandler
);
if
(
name
!=
std
::
string
(
"Main View"
)
)
break
;
/* FALLTHRU */
case
(
WGECamera
::
PERSPECTIVE
):
// camera manipulator
m_View
->
setCameraManipulator
(
new
WGEZoomTrackballManipulator
()
);
...
...
src/core/graphicsEngine/WPickHandler.cpp
View file @
205111a6
...
...
@@ -118,6 +118,7 @@ bool WPickHandler::handle( const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAda
break
;
case
osgGA
::
GUIEventAdapter
::
SCROLL_DOWN
:
m_scrollWheel
--
;
break
;
case
osgGA
::
GUIEventAdapter
::
SCROLL_2D
:
// FIXME: the osg doc tells us nothing about this value, but is seems to be always 120 or -120
if
(
ea
.
getScrollingDeltaY
()
>
0
)
...
...
src/modules/data/io/WReaderVTK.cpp
View file @
205111a6
...
...
@@ -112,6 +112,7 @@ boost::shared_ptr< WDataSet > WReaderVTK::read()
break
;
case
TENSORS
:
ds
=
boost
::
shared_ptr
<
WDataSet
>
(
new
WDataSetDTI
(
values
,
grid
)
);
break
;
case
ARRAYS
:
if
(
values
->
dimension
()
>
6
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment