|
| cleanUpManipulating (self, selectedNPs) |
| reply = wx.MessageBox("Do you want to delete selected?", "Delete?", wx.YES_NO | wx.ICON_QUESTION) if reply == wx.YES: base.direct.removeAllSelected() else:
|
|
| convertFromMaya (self, modelname, callBack) |
|
| convertMaya (self, modelname, callBack, obj=None, isAnim=False) |
|
| deselectAll (self, np=None) |
|
| deselectAllCB (self, dnp=None) |
|
| exportToMaya (self, mayaFileName) |
|
| exportToMayaCB (self, mayaFileName, exportRootNP) |
|
| load (self, fileName) |
|
| loadSettings (self) |
|
| propMeetsReq (self, typeName, parentNP) |
|
| reset (self) |
|
| resetOrthoCam (self, view) |
|
| save (self) |
|
| saveAs (self, fileName) |
|
| saveSettings (self) |
|
| select (self, nodePath, fMultiSelect=0, fSelectTag=1, fResetAncestry=1, fLEPane=0, fUndo=1) |
|
| selectedNodePathHook (self, nodePath, fMultiSelect=0, fSelectTag=1, fLEPane=0) |
|
| updateStatusReadout (self, status, color=None) |
|
| updateStatusReadoutTimeouts (self, task=None) |
|
Base class for Level Editor
You should write your own LevelEditor class inheriting this.
Refer LevelEditor.py for example.
cleanUpManipulating |
( |
| self, |
|
|
| selectedNPs ) |
reply = wx.MessageBox("Do you want to delete selected?", "Delete?", wx.YES_NO | wx.ICON_QUESTION) if reply == wx.YES: base.direct.removeAllSelected() else:
need to reset COA
dnp = base.direct.selected.last
Update camera controls coa to this point
Coa2Camera = Coa2Dnp * Dnp2Camera
mCoa2Camera = dnp.mCoa2Dnp * dnp.getMat(base.direct.camera) row = mCoa2Camera.getRow(3) coa = Vec3(row[0], row[1], row[2]) base.direct.cameraControl.updateCoa(coa)