Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
OpenFlipper
Commits
a7adee03
Commit
a7adee03
authored
Dec 21, 2017
by
hliu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add const MaterialNode getter
parent
b7e3cc68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
common/BaseObjectData.cc
common/BaseObjectData.cc
+4
-0
common/BaseObjectData.hh
common/BaseObjectData.hh
+3
-1
No files found.
common/BaseObjectData.cc
View file @
a7adee03
...
...
@@ -270,6 +270,10 @@ MaterialNode* BaseObjectData::materialNode() {
return
materialNode_
;
}
const
MaterialNode
*
BaseObjectData
::
materialNode
()
const
{
return
materialNode_
;
}
BoundingBoxNode
*
BaseObjectData
::
boundingBoxNode
()
{
return
boundingBoxNode_
;
}
...
...
common/BaseObjectData.hh
View file @
a7adee03
...
...
@@ -193,7 +193,9 @@ class DLLEXPORT BaseObjectData : public BaseObject
/// get a pointer to the materialnode
MaterialNode
*
materialNode
();
const
MaterialNode
*
BaseObjectData
::
materialNode
()
const
;
/// get a pointer to the bounding box node
BoundingBoxNode
*
boundingBoxNode
();
...
...
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