Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
1738d431
Commit
1738d431
authored
Jan 27, 2011
by
Mathias Goldau
Browse files
[CHANGE] Made the getTexture2() member function const.
parent
d846424c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
src/dataHandler/WDataSet.cpp
src/dataHandler/WDataSet.cpp
+1
-1
src/dataHandler/WDataSet.h
src/dataHandler/WDataSet.h
+1
-1
src/dataHandler/WDataSetSingle.cpp
src/dataHandler/WDataSetSingle.cpp
+1
-1
src/dataHandler/WDataSetSingle.h
src/dataHandler/WDataSetSingle.h
+1
-1
No files found.
src/dataHandler/WDataSet.cpp
View file @
1738d431
...
...
@@ -66,7 +66,7 @@ boost::shared_ptr< WDataTexture3D > WDataSet::getTexture()
throw
WDHException
(
std
::
string
(
"This dataset does not provide a texture."
)
);
}
osg
::
ref_ptr
<
WDataTexture3D_2
>
WDataSet
::
getTexture2
()
osg
::
ref_ptr
<
WDataTexture3D_2
>
WDataSet
::
getTexture2
()
const
{
throw
WDHException
(
std
::
string
(
"This dataset does not provide a texture."
)
);
}
...
...
src/dataHandler/WDataSet.h
View file @
1738d431
...
...
@@ -103,7 +103,7 @@ public:
*
* \return The texture.
*/
virtual
osg
::
ref_ptr
<
WDataTexture3D_2
>
getTexture2
();
virtual
osg
::
ref_ptr
<
WDataTexture3D_2
>
getTexture2
()
const
;
/**
* Gets the name of this prototype.
...
...
src/dataHandler/WDataSetSingle.cpp
View file @
1738d431
...
...
@@ -98,7 +98,7 @@ boost::shared_ptr< WDataTexture3D > WDataSetSingle::getTexture()
return
m_texture3D
;
}
osg
::
ref_ptr
<
WDataTexture3D_2
>
WDataSetSingle
::
getTexture2
()
osg
::
ref_ptr
<
WDataTexture3D_2
>
WDataSetSingle
::
getTexture2
()
const
{
return
m_texture
;
}
...
...
src/dataHandler/WDataSetSingle.h
View file @
1738d431
...
...
@@ -114,7 +114,7 @@ public:
*
* \return the texture.
*/
virtual
osg
::
ref_ptr
<
WDataTexture3D_2
>
getTexture2
();
virtual
osg
::
ref_ptr
<
WDataTexture3D_2
>
getTexture2
()
const
;
/**
* Gets the name of this prototype.
...
...
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