summaryrefslogtreecommitdiff
path: root/src/wieldmesh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wieldmesh.h')
-rw-r--r--src/wieldmesh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wieldmesh.h b/src/wieldmesh.h
index 933b53763..3f4f4fc04 100644
--- a/src/wieldmesh.h
+++ b/src/wieldmesh.h
@@ -48,6 +48,9 @@ public:
// Must only be used if the constructor was called with lighting = false
void setColor(video::SColor color);
+ scene::IMesh *getMesh()
+ { return m_meshnode->getMesh(); }
+
virtual void render();
virtual const core::aabbox3d<f32>& getBoundingBox() const