Commit graph

22 commits

Author SHA1 Message Date
shun-iwasawa
6c76dd8d1e fix vector picker range and onion skin fill 2021-01-24 19:06:20 -05:00
Jeremy Bullock
6d14cee40e
Motion Path Panel (#420)
* It's a start

* Going a different route

* Some progress

* More stuff

* Lines work

* Some cleanup

* Panel starts working

* Remove some code

* More stuff

* Graph Starting to Work

* Interpolation working

* Move graph to its own file.

* Change to new graph

* Graph Scaling

* More tweaks

* Delete spline button

* more tweaks

* More

* clang

* Small fixes

* playback

* Play test

* Rename Paths

* Update other locations when name changed

* geometry tool types

* small stuff

* Fix trying to capture and geometry options

* Fix crash

* Don't show pegbar 10000 in the function viewer.  It's a secret.

* Fix loading and saving paths
2020-11-12 17:47:07 -07:00
Jeremy Bullock
583dd5fae9
Fix for deleting control point while moving it. (#283) 2020-10-03 21:01:51 -06:00
Jeremy Bullock
83c0cff6dc
Merge changes from OpenToonz as of 7-7 (#77)
* add multi arc mockup

* implement mutli arc

* add join and smooth option

* reset multiarc and arc when deactivated

* create self loop if the last point is the same as the first

* make join option in multiarc consistent with tape tool

* fix a bug where thickness don't affect mutliarc in vector level

* remove join option in geometric tool

* stop mutliarc after closing shape

* double click can also end multi arc

* fix a bug where multiArc will produce buggy stroke

* fix a bug where geometric tools is not deactivated

* add multiArc shortcut

* rewrite multiArc

* revert changes to tvectorimage

* add undo data for multiArc

* Paste as Copy Command for XSheet

* Remove unneeded code

* Bug fix

* prevent guide lines from jumping around in MultiArc

* make stroke color consistent in MultiArc

* remove color in MultiArc's undo data

* make color consistent in MultiArc with previous version

* Fix single image raster levels

* fix compilation error

* fix a bug where multiArc might generate bugged stroke

* Remove ICONV dep (#3304)

* fix crash on saving studio palette

* Move to Paste Special Menu

* Don't Set Fixed Width if Docking a Floating Panel

* Update how_to_build_win.md

New draft of pr for requested changes to windows build instructions.

* fix geometric tool multiarc smooth option

* fix level saving failure

* fix wrong warning after saving palette

* fix a bug where moving a control point while holding alt has unintended result

* fix overwriting raster drawing palette

* Hide color swatch on color 0

Co-authored-by: pojienie <pojienie@gmail.com>
Co-authored-by: rim <11380091+rozhuk-im@users.noreply.github.com>
Co-authored-by: shun-iwasawa <shun.iwasawa@ghibli.jp>
Co-authored-by: Rodney <rodney.baker@gmail.com>
Co-authored-by: DoctorRyan <65507211+DoctorRyan@users.noreply.github.com>
2020-07-07 11:06:59 -06:00
pojienie
286724e284 add freehand mode to control point editor tool 2020-04-08 12:10:51 +00:00
pojienie
3379cf3f47 disable snap option when no control point is last selected 2020-02-02 06:34:33 +00:00
pojienie
028bea049d fix style problem using clang-format 2020-01-31 13:57:23 +00:00
pojienie
59b772abea implement snap option for control point editor tool 2020-01-31 13:46:23 +00:00
pojienie
c6cb309936 set min distance for snap in control point editor tool 2020-01-31 12:15:04 +00:00
pojienie
2979a2e4d8 save snap options in control point editor tool 2020-01-31 12:13:19 +00:00
pojienie
c7106f8565 add snap sensitivity UI mock up 2020-01-31 12:12:01 +00:00
pojienie
64f16da722 add snap UI mock up 2020-01-31 12:10:24 +00:00
manongjohn
40a40ea47c Add Vector Guided Drawing Auto-Inbetween option (#2931)
* Add Vector Guided Drawing Auto-Inbetween option

* Enable Guided Drawing for Front Onion Skins

* Allow forward Guided Inbetweening

* Add Select Guide Stroke commands

* Add Tween Guide Strokes commands

* Add additional guide stroke selection optins

* Fix break setting issues with guided tweening

* Enable Guided Tweening for Geometric Tool

* Remove unnecessary tool switching for tweening

* Fix closest tweening using wrong strokes

* Disable Guided Tweening when onionskin is disabled
2019-12-25 13:04:57 +09:00
Martin van Zijl
a07bd0d87b Make control points easier to click (#1722) 2019-09-12 08:50:32 +12:00
otakuto
ed7dcd5873 using std::swap instead of tswap (#2195) 2018-08-30 17:18:43 +09:00
shun-iwasawa
7f1e30e1f6 fix vector selection move (#1776) 2018-02-19 15:34:13 +09:00
shun_iwasawa
d518217e82 shortcut override for tool-specific keys 2017-11-09 12:08:56 +09:00
Shinya Kitaoka
d1f6c4e95b REFACTORING: Add final specifiers (#537)
* add final specifiers

* apply clang-format

* fix for macOS
2016-06-29 15:17:12 +09:00
Shinya Kitaoka
473e70432a add override specifier 2016-06-20 11:34:15 +09:00
Shinya Kitaoka
120a6e041c apply clang-format 2016-06-15 15:43:10 +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