diff --git a/contrib/src/sceneeditor/seCameraControl.py b/contrib/src/sceneeditor/seCameraControl.py index 17bcedaf36..df49f7453c 100644 --- a/contrib/src/sceneeditor/seCameraControl.py +++ b/contrib/src/sceneeditor/seCameraControl.py @@ -281,10 +281,7 @@ class DirectCameraControl(DirectObject): angle = getCrankAngle(state.coaCenter) deltaAngle = angle - state.lastAngle state.lastAngle = angle - if base.config.GetBool('temp-hpr-fix',0): - self.camManipRef.setHpr(self.camManipRef, 0, 0, deltaAngle) - else: - self.camManipRef.setHpr(self.camManipRef, 0, 0, -deltaAngle) + self.camManipRef.setHpr(self.camManipRef, 0, 0, deltaAngle) SEditor.camera.setTransform(self.camManipRef, wrt) return Task.cont diff --git a/contrib/src/sceneeditor/seManipulation.py b/contrib/src/sceneeditor/seManipulation.py index a20a323749..c801ec66e5 100644 --- a/contrib/src/sceneeditor/seManipulation.py +++ b/contrib/src/sceneeditor/seManipulation.py @@ -324,10 +324,7 @@ class DirectManipulationControl(DirectObject): if self.rotateAxis == 'x': SEditor.widget.setP(SEditor.widget, deltaAngle) elif self.rotateAxis == 'y': - if base.config.GetBool('temp-hpr-fix',0): - SEditor.widget.setR(SEditor.widget, deltaAngle) - else: - SEditor.widget.setR(SEditor.widget, -deltaAngle) + SEditor.widget.setR(SEditor.widget, deltaAngle) elif self.rotateAxis == 'z': SEditor.widget.setH(SEditor.widget, deltaAngle) # Record crank angle for next time around @@ -456,10 +453,7 @@ class DirectManipulationControl(DirectObject): deltaAngle = angle - state.lastAngle state.lastAngle = angle # Mouse motion edge to edge of display region results in one full turn - if base.config.GetBool('temp-hpr-fix',0): - relHpr(SEditor.widget, SEditor.camera, 0, 0, -deltaAngle) - else: - relHpr(SEditor.widget, SEditor.camera, 0, 0, deltaAngle) + relHpr(SEditor.widget, SEditor.camera, 0, 0, -deltaAngle) def scale3D(self, state): # Scale the selected node based upon up down mouse motion