diff options
| author | RealBadAngel <maciej.kasatkin@o2.pl> | 2014-10-21 05:12:15 +0200 |
|---|---|---|
| committer | RealBadAngel <maciej.kasatkin@o2.pl> | 2014-10-21 18:43:29 +0200 |
| commit | d221917170c2bb43c66e5e09f2a43350cf28d71b (patch) | |
| tree | b76f4ef279a5139756787413a423102b3dd20a68 /src/client.cpp | |
| parent | 9029a34cc6a3b19c1a431fe3ba069c30a13321fc (diff) | |
| download | minetest-d221917170c2bb43c66e5e09f2a43350cf28d71b.tar.xz | |
Recalculate normals for cached meshes.
Check if mesh is here before adding to meshcollector.
Fix deleting the meshes.
Diffstat (limited to 'src/client.cpp')
| -rw-r--r-- | src/client.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 7e74cf36b..c6319d584 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2781,6 +2781,10 @@ IShaderSource* Client::getShaderSource() { return m_shsrc; } +scene::ISceneManager* Client::getSceneManager() +{ + return m_device->getSceneManager(); +} u16 Client::allocateUnknownNodeId(const std::string &name) { errorstream<<"Client::allocateUnknownNodeId(): " |
