mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:53:53 +00:00
Add model and script information to BetaComment
This commit is contained in:
parent
ea8f617508
commit
4fd3a994e9
1 changed files with 3 additions and 0 deletions
|
@ -964,6 +964,9 @@ namespace MWScript
|
||||||
msg << "Grid: " << cell->getCell()->getGridX() << " " << cell->getCell()->getGridY() << std::endl;
|
msg << "Grid: " << cell->getCell()->getGridX() << " " << cell->getCell()->getGridY() << std::endl;
|
||||||
Ogre::Vector3 pos (ptr.getRefData().getPosition().pos);
|
Ogre::Vector3 pos (ptr.getRefData().getPosition().pos);
|
||||||
msg << "Coordinates: " << pos << std::endl;
|
msg << "Coordinates: " << pos << std::endl;
|
||||||
|
msg << "Model: " << ptr.getClass().getModel(ptr) << std::endl;
|
||||||
|
if (!ptr.getClass().getScript(ptr).empty())
|
||||||
|
msg << "Script: " << ptr.getClass().getScript(ptr) << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string notes = runtime.getStringLiteral (runtime[0].mInteger);
|
std::string notes = runtime.getStringLiteral (runtime[0].mInteger);
|
||||||
|
|
Loading…
Reference in a new issue