Updated viewport dimensions to reflect users unit schema

Merged, abandoned or rejected pull requests are moved here to clear the main Pull Requests forum.
Post Reply
hokieengr
Posts: 62
Joined: Sat Dec 31, 2016 5:09 pm

Updated viewport dimensions to reflect users unit schema

Post by hokieengr »

First pull request so bear with me...

https://github.com/FreeCAD/FreeCAD/pull/416

The previous code assumed the user's unit system was MKS. The updated code uses schemaTranslate() to convert from screen units to the user's chosen system and supports all schemas.
Post Reply