Skip to content

Commit

Permalink
Corrected the angle bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
sanguinariojoe authored and wwmayer committed Jul 13, 2014
1 parent 9a12a16 commit 1ab919e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Ship/shipAreasCurve/TaskPanel.py
Expand Up @@ -283,8 +283,8 @@ def onData(self, value):
draft_max = bbox.ZMax / Units.Metre.Value
draft = self.clampLength(form.draft, draft_min, draft_max, draft)

trim_min = -90.0
trim_max = 90.0
trim_min = -180.0
trim_max = 180.0
trim = self.clampAngle(form.trim, trim_min, trim_max, trim)

self.onUpdate()
Expand Down

0 comments on commit 1ab919e

Please sign in to comment.