mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-05 12:45:33 +00:00
Minor cleanup.
This commit is contained in:
parent
0b63ba5727
commit
c2c33eac0f
1 changed files with 0 additions and 2 deletions
|
@ -608,8 +608,6 @@ void CSVRender::PagedWorldspaceWidget::debugMousePicking(float mouseX, float mou
|
|||
CSMSettings::UserSettings &userSettings = CSMSettings::UserSettings::instance();
|
||||
bool debug = userSettings.setting ("debug/mouse-picking", QString("false")) == "true" ? true : false;
|
||||
|
||||
// Need to set scene manager each time in case there are multiple subviews
|
||||
CSVWorld::PhysicsSystem::instance()->setSceneManager(getSceneManager());
|
||||
std::pair<std::string, Ogre::Vector3> result = CSVWorld::PhysicsSystem::instance()->castRay(
|
||||
mouseX, mouseY, NULL, NULL, getCamera());
|
||||
if(debug && result.first != "")
|
||||
|
|
Loading…
Reference in a new issue