Files
create/src/Mod
Abdullah Tahiri 0635822415 Sketcher: Polyline snap arc to 45 degrees bug fix
=================================================

fixes #3974

Snapping to 45 degrees during arc creation (hold ctrl during an arc within a polyline), resulted in
reduced precision, because Gui::Command::doCommand %f defaults only to six decimal positions, which is
a poor representation in radians of, for example, 90 degrees.

A work-around could have been to hardcode a higher number of decimals, as in %0.Xf. However, I do not like
such magic numbers.

The solution chosen is to use an App.Quantity object using as units degrees, which leads to no loss of precision.
2019-06-22 17:22:40 +02:00
..
2019-06-17 20:06:59 -03:00
2019-06-17 20:06:59 -03:00
2019-06-17 20:06:59 -03:00
2019-05-03 18:20:36 +02:00
2019-06-17 20:06:59 -03:00
2019-06-17 20:06:59 -03:00
2019-06-17 20:06:59 -03:00
2019-06-20 14:41:50 +02:00
2019-03-06 21:50:08 -03:00
2019-06-17 20:06:59 -03:00
2019-06-17 20:06:59 -03:00
2019-06-17 20:06:59 -03:00
2019-02-13 10:42:46 -02:00
2019-06-17 20:06:59 -03:00
2019-06-21 16:23:55 +02:00