()
| 1495 | smp.Render() |
| 1496 | |
| 1497 | def toggleProjectionType(): |
| 1498 | |
| 1499 | view = app.mainView |
| 1500 | |
| 1501 | view.CameraParallelProjection = not view.CameraParallelProjection |
| 1502 | if app.actions['actionMeasure'].isChecked(): |
| 1503 | app.actions['actionMeasure'].trigger() |
| 1504 | app.actions['actionMeasure'].toggle() |
| 1505 | |
| 1506 | app.actions['actionMeasure'].setEnabled(view.CameraParallelProjection) |
| 1507 | if not view.CameraParallelProjection: |
| 1508 | app.actions['actionMeasure'].setChecked(False) |
| 1509 | |
| 1510 | smp.Render(app.mainView) |
| 1511 | |
| 1512 | def toggleRPM(): |
| 1513 | rpm = smp.FindSource("RPM") |
nothing calls this directly
no outgoing calls
no test coverage detected