mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes
This commit is contained in:
parent
e90941a8b3
commit
34deb6e7b1
17 changed files with 246 additions and 9 deletions
|
@ -312,6 +312,8 @@ namespace Compiler
|
|||
extensions.registerInstruction ("betacomment", "/S", opcodeBetaComment, opcodeBetaCommentExplicit);
|
||||
extensions.registerInstruction ("bc", "/S", opcodeBetaComment, opcodeBetaCommentExplicit);
|
||||
extensions.registerInstruction ("ori", "/S", opcodeBetaComment, opcodeBetaCommentExplicit); // 'ori' stands for 'ObjectReferenceInfo'
|
||||
extensions.registerInstruction ("showscenegraph", "/l", opcodeShowSceneGraph, opcodeShowSceneGraphExplicit);
|
||||
extensions.registerInstruction ("ssg", "/l", opcodeShowSceneGraph, opcodeShowSceneGraphExplicit);
|
||||
extensions.registerInstruction ("addtolevcreature", "ccl", opcodeAddToLevCreature);
|
||||
extensions.registerInstruction ("removefromlevcreature", "ccl", opcodeRemoveFromLevCreature);
|
||||
extensions.registerInstruction ("addtolevitem", "ccl", opcodeAddToLevItem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue