Commit graph

5 commits

Author SHA1 Message Date
Xenobus
9d7eaade5d Fixes crash on editing curve with control point tool
OpenToonz crashes when directly manipulating curves via the lines
themselves, unless the curve was initialized as a straight line.

Depending on the build environment, a calculation interprets doubles
as ints, resulting in a divison by zero.

 -Explicitly specifies the use of floating point abs() - fabs()

Resolves: #858, #919
2016-11-17 19:40:33 +02:00
Shinya Kitaoka
120a6e041c apply clang-format 2016-06-15 15:43:10 +09:00
Shinya Kitaoka
12c444ee0d use std::min and std::max (#318) 2016-05-18 13:03:37 +09:00
Shinya Kitaoka
3bfa549e8b remove "using"
- using std::string;
- using std::wstring;
- using std::ostream;
- using std::istream;
- using std::iostream;
- using std::ostrstream;
- using std::istrstream;
- using std::fstream;
2016-04-21 16:23:15 +09:00
Toshihiro Shimizu
890dddabbd first commit 2016-03-19 02:57:51 +09:00