Stack overflow in SceneManager::destroySceneNode

Description

Original author: noorus

Using an external scene manager, at least PCZSM, calling PCZSceneManager::destroySceneNode will lead to an infinite loop where the following happens:
-> PCZSceneManager::destroySceneNode(const String &name)
-> PCZSceneManager::destroySceneNode(SceneNode* sn)
-> SceneManager::destroySceneNode(SceneNode* sn)
-> PCZSceneManager::destroySceneNode(const String &name)...

Which will pretty quickly lead to a stack overflow.
Trivial patch is included.

Original Mantis Ticket: http://www.ogre3d.org/mantis/view.php?id=584

Environment

None

Assignee

Murat Sari

Reporter

Philip Allgaier

Labels

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure