Commit graph

8 commits

Author SHA1 Message Date
Jeremy Bullock
583dd5fae9
Fix for deleting control point while moving it. (#283) 2020-10-03 21:01:51 -06:00
otakuto
ed7dcd5873 using std::swap instead of tswap (#2195) 2018-08-30 17:18:43 +09:00
Jeremy Bullock
75c9c58524 Improvements to Vector Snap (#1906)
* Improvements to Vector Snap
2018-05-25 16:21:25 +09:00
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