Commit graph

541 commits

Author SHA1 Message Date
manongjohn
563c022795 Move TVL Savebox Limit Preference to toolbar option 2021-08-03 00:29:24 -04:00
manongjohn
1dee0aff94 Fix Shift+Frame Range movement from timeline/xsheet 2021-07-31 15:53:16 -04:00
manongjohn
c256bc87ef Fix fill referenced issues 2021-07-31 10:46:50 -04:00
manongjohn
6cb74cdf5a Add referenced fills - Raster 2021-07-29 08:09:41 -04:00
manongjohn
fa3d9e0e4a Add referenced fills - Smart Raster 2021-07-29 07:57:29 -04:00
manongjohn
6de061c06b
Merge pull request #717 from jeremybullock/raylitfx
3905 from OpenToonz: raylitfx enahancement: radius parameter and gadget
2021-06-24 08:25:24 -04:00
manongjohn
ac5bf1d8c4
Merge pull request #714 from jeremybullock/brush_smoothing
Fix Brush Smoothing by Shun Iwasawa (OpenToonz 3895)
2021-06-23 11:03:21 -04:00
manongjohn
b3a3993514
Merge pull request #713 from jeremybullock/geometric_rotate
Add rotate option to geometry tool by Pojienie (OpenToonz 3846)
2021-06-20 07:18:59 -04:00
shun-iwasawa
5f34302010 raylitfx enahancement: radius parameter and gadget 2021-06-13 21:59:34 -06:00
Jeremy Bullock
ab2cdd789e Fix Brush Smoothing
Co-authored-by: shun-iwasawa shun-iwasawa@users.noreply.github.com
2021-06-13 21:51:38 -06:00
Jeremy Bullock
9a720b9e10 Add rotate option to geometry tool by Pojienie
Co-authored-by: pojienie pojienie@users.noreply.github.com
2021-06-13 21:48:03 -06:00
manongjohn
992756a2f3 Fix Paintbrush Style selector leaving marks 2021-06-11 08:21:59 -04:00
manongjohn
54677b190c Fix CTRL paintbrush crash 2021-06-11 08:17:54 -04:00
manongjohn
c12a6ce373 Fix conflicts with Paint Brush Tool enhancements 2021-06-09 08:35:12 -04:00
manongjohn
c83b80c11d Add Lock Alpha to Raster - Standard brush 2021-06-03 21:20:36 -04:00
manongjohn
efd5279c5c Add Lock Alpha to Smart Raster - MyPaint brush 2021-06-03 18:18:35 -04:00
manongjohn
42d0abf085 Add Lock Alpha to Smart Raster - Standard brush (blurred) 2021-06-03 18:18:07 -04:00
manongjohn
d9ca25d58e Add Lock Alpha to Smart Raster - Standard brush 2021-06-03 18:17:41 -04:00
manongjohn
36c1db068c Add Lock Alpha to Paint Brush Tool 2021-06-03 09:36:17 -04:00
manongjohn
eacc4d412e Select style using Shift key 2021-06-02 16:23:14 -04:00
manongjohn
80ebe0defa Replicate Finger Tool using Ctrl + Paint Brush Tool 2021-06-02 15:42:54 -04:00
manongjohn
2d59a69622 Add paint brush pressure sensitivity 2021-06-01 21:36:13 -04:00
shun-iwasawa
abf861c0c6 fix tool options shortcut 2021-05-02 23:44:33 -04:00
manongjohn
39aa593c13 Support MOV formats through ffmpeg 2021-04-21 08:55:55 -04:00
shun-iwasawa
b8b432234d fix shift and trace scaling 2021-04-15 07:55:34 -04:00
manongjohn
7312812d83 Fix OT patch 3828 (geometric tool offset) 2021-03-28 22:11:27 -04:00
shun-iwasawa
79b261ac7a fix arc/multiarc start point offset and undo 2021-03-28 21:57:14 -04:00
shun-iwasawa
8358fc99ce fix geometric tool / type tool offset 2021-03-28 21:57:14 -04:00
shun-iwasawa
909c04ab5b fix color model pick mode 2021-03-28 17:37:11 -04:00
shun-iwasawa
9413771ac6 fix opengl line smoothing 2021-03-28 17:37:09 -04:00
shun-iwasawa
745db64038 fix raster brush refresh viewer 2021-03-28 17:37:07 -04:00
manongjohn
c9ade85c0f Block new frames in Single Frame levels 2021-03-11 11:22:23 -05:00
manongjohn
2c668c85ec
Merge pull request #594 from manongjohn/breakout_autocreation_options
Breakout frame creation options from Autocreate preference
2021-02-24 14:27:52 -05:00
manongjohn
5cc5b0b7e3
Merge pull request #592 from manongjohn/statusbar_enhancements
Statusbar enhancements
2021-02-24 14:26:41 -05:00
manongjohn
b93dbcedca Add Geometric shape-specific status/hint 2021-02-17 02:01:28 -05:00
manongjohn
77c9ef559e Breakout frame creation options from Autocreate preference 2021-02-16 12:52:16 -05:00
manongjohn
062c7d5f3d Add temp tool switch time as preference 2021-02-12 14:34:23 -05:00
manongjohn
5a5bfa8679
Merge pull request #567 from manongjohn/ot_patches_20210126
OpenToonz changes thru 2/11/2021
2021-02-11 10:13:09 -05:00
manongjohn
236e00c2ee Hide global set keys when no skeleton created 2021-02-05 16:33:07 -05:00
shun-iwasawa
6c76dd8d1e fix vector picker range and onion skin fill 2021-01-24 19:06:20 -05:00
manongjohn
58fd6d5706
Snap Center Point to Motion Path (#523)
* Snap Center Point to Motion Path

* Fix moving centerpoint while on motion path

Co-authored-by: manongjohn <manongjohn@users.noreply.github.com>
2020-11-30 12:58:57 -07:00
Jeremy Bullock
52dd1a1ce7
Segment Eraser for Smart Raster Levels (#518)
* Segment Eraser for Smart Raster Levels

* Reduce eroding strokes

* Adjust tool option visibility
2020-11-20 09:01:21 -07:00
Jeremy Bullock
efbe7ba7cb
Fix vector skeleton picking (#511) 2020-11-16 20:20:16 -07:00
Jeremy Bullock
5ca6de7e04
Fix motion path issues (#505) 2020-11-16 09:13:09 -07: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
51daab8588
OpenToonz changes as of 11-11-20 (#489)
* removed unused tcleanuppreprocessor.cpp and .h

Signed-off-by: Jeremy Bullock <jcbullock@gmail.com>

* removed unused directory lzodriver

Signed-off-by: Jeremy Bullock <jcbullock@gmail.com>

* OpenToonz changes as of 11-11-20

Co-authored-by: Sean Kuehl <teddscottfelt@gmail.com>
2020-11-12 14:40:58 -07:00
Jeremy Bullock
49d34403ac
Fill with gaps on Smart Raster levels. (#338)
* Start of Smart Raster gap filling

* Ready for testing

* More Tweaks

* Improve polyline and freehand stuff

* Remove unneeded line.

* Hide on lines
2020-11-11 20:36:21 -07:00
manongjohn
5a70813ce6
Fix loading brush presets or last brush used (#451)
* Fix loading brush presets or last brush used

* Fix  tracking property changes

* Correct vector brush property change logic

Co-authored-by: manongjohn <manongjohn@users.noreply.github.com>
2020-11-04 11:12:33 -07:00
Jeremy Bullock
82324fdcb5
Allow panning with space on function sheet (#409) 2020-10-23 23:18:38 -06:00
manongjohn
d055d38243
Fix create blank frame not using user default palette (#405) 2020-10-23 21:09:45 -06:00
manongjohn
3d8adee139
Fix current brush preset tracking (#401) 2020-10-22 11:03:17 -06:00
Jeremy Bullock
c57e297804
Fix audio memory leak and fix windows distortion (#402)
* Fix audio memory leak and fix windows distortion

* Fix play button resetting
2020-10-22 10:43:35 -06:00
manongjohn
64f86e6392
Centralize user preference and configuration files (#394) 2020-10-21 08:59:24 -06:00
Jeremy Bullock
842b867286
Bring in OpenToonz updates as of 10-19-20 (#391)
* xdts frame number with suffix

Signed-off-by: Jeremy Bullock <jcbullock@gmail.com>

* ease regulations for the use of Animate tool

Signed-off-by: Jeremy Bullock <jcbullock@gmail.com>

* fix crash on drawing absent level

Signed-off-by: Jeremy Bullock <jcbullock@gmail.com>

* Get rid of useless tio.cpp

Signed-off-by: Jeremy Bullock <jcbullock@gmail.com>

* fix repeat fx command to work in non-english ui

Signed-off-by: Jeremy Bullock <jcbullock@gmail.com>

Co-authored-by: shun-iwasawa <shun.iwasawa@ghibli.jp>
Co-authored-by: Sean Kuehl <teddscottfelt@gmail.com>
2020-10-20 13:45:06 -06:00
Jeremy Bullock
16cd69f0dd
Bring in OpenToonz updates as of 10-11-2020 (#349)
* implement selective option for segment eraser

Signed-off-by: Jeremy Bullock <jcbullock@gmail.com>

* pojienie - fix undo data #3392

* shun fix pasting freehand #3518

* 3D Lut on the Fly by Shun-Iwasawa #3513

Co-authored-by: pojienie <pojienie@gmail.com>
2020-10-12 20:26:35 -06:00
Jeremy Bullock
3476ff7622
Fix colors on various checks. (#327)
* Fix colors on various checks.

* 2504
2020-10-09 08:35:34 -06:00
Jeremy Bullock
16f7db11e0
All ctrl + shift to toggle snapping on the geometry tool (#299) 2020-10-05 08:11:08 -06:00
Jeremy Bullock
583dd5fae9
Fix for deleting control point while moving it. (#283) 2020-10-03 21:01:51 -06:00
Jeremy Bullock
05591fd52a
Fix missing shortcuts (#282) 2020-10-02 20:40:57 -06:00
Jeremy Bullock
b5582c8ede
More changes (#269) 2020-10-01 22:30:20 -06:00
Jeremy Bullock
6125029b08
Clarify some endblock undo info (#260) 2020-09-30 22:51:23 -06:00
Jeremy Bullock
dff5b5fdcb
More paste improvements (#248)
* Some fixes

* more little fixes

* Make vector selections work too
2020-09-28 21:28:52 -06:00
Jeremy Bullock
52a6dbf0e5
Make vanishing points easier to click when removing. (#241) 2020-09-27 16:19:47 -06:00
Jeremy Bullock
09a71164c0
Fix RGB picker offset (#226)
* Fix RGB picker offset

* removed unneeded lines
2020-09-26 21:23:00 -06:00
Jeremy Bullock
8309e625a9
Fix crashes when pasting an outside image on a non-raster level (#227) 2020-09-26 08:36:42 -06:00
Jeremy Bullock
80fcee15eb
Auto close and auto fill options for vector brush (#197)
* Auto close and auto fill for vector brush

* Fix undo

* Make frame range work

* Fix visual glitch

* Fix crash

* Add auto group to vector brush
2020-09-25 22:55:33 -06:00
Jeremy Bullock
f90b1577b8
Paste clipboard images (from outside Tahoma) into Tahoma (#202)
* Paste images

* more tweaks

* Paste to selection tool if available.

* Fix viewer overlays

* More fixes

* Cleanup and Comment

* Add to filmstrip

* Find an empty column
2020-09-25 22:55:16 -06:00
Jeremy Bullock
8ca782f7c4
Fix Geometry Tool Autofill if Draw Behind (#196) 2020-09-22 22:51:41 -06:00
Jeremy Bullock
6356c6f7c3
Allow drawing behind vector lines on brush and geometry tools. (#188)
* Allow drawing behind vector lines with Alt + Shift

* Add caps control for windows.

* Add geometry tool too.

* Remove lost comment
2020-09-22 21:04:03 -06:00
Jeremy Bullock
28366ac752
Add perspective grids to vanishing points (#185)
* Add perspective grids to vanishing points

* Limit tools
2020-09-19 22:06:44 -06:00
artisteacher
d8e36aaf45
Fix override warnings (#164)
There are 100+ warnings due to ______ overriding a member function without being marked override. This adds override in those cases to silence the warnings.
2020-09-15 15:49:57 -06:00
Jeremy Bullock
09be93c837
Toggle Vector Snapping with Control + Shift (#176) 2020-09-15 14:27:43 -06:00
Jeremy Bullock
e14e03a025
Add Vanshing Points and Control Snapping to Vector Brush (#160)
* Add additional drawing options for vector brush

* finished adding vector vanishing points
2020-09-13 12:43:02 -06:00
Jeremy Bullock
74e0fbad65
Snap Smart Raster and Raster brushes to 15 degrees (#154) 2020-09-13 12:42:34 -06:00
Jeremy Bullock
dc7abf6de4
Fix crash on "no level" selected in level strip. (#149)
* Fix crash on no level selected in level strip.

* test triggering builds

* trigger again

* and again
2020-09-10 11:38:41 -06:00
Jeremy Bullock
af90cdedbe
UI update and Icons from Konero (#126)
* 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 travis-install (#3389)

* Fix assert debug crash in flipconsole.cpp

Fix crash when using the viewer controls in the console (debug)

* Redraw Audio Waveform

Fills the waveform rather than outlines it.

* Update .gitignore

* fix undo data when drawing arc and mutliarc

* fix overwriting raster drawing palette (#3387)

* mode sensitive fx settings

* Create New Style Command Button (#3394)

* Create New Style Command Button

This PR creates a new button in the pallette editor that creates a new style.  Button is large and easy access for a faster and easier workflow.  Original code developed by Turtletooth for Tahoma.  Given permission to develop within Openoonz.

Co-Authored-By: Jeremy Bullock <turtletooth@users.noreply.github.com>

* Update paletteviewergui.cpp

Made changes to the PR per request by Shun.

* Fixed a space within the code that wasn't suppose to be there.

Co-authored-by: Jeremy Bullock <turtletooth@users.noreply.github.com>

* tahoma license (#3396)

* new style button optional

* fix loading pegbars (removing updateKeyframes)

* periodic random expression

* add fx in linear color space
this commit is based on source for the ComposeAdd plugin fx by DWANGO Co., Ltd.
in dwango_opentoonz_plugins and opentoonz_plugin_utility repositories.

* fractal noise iwa fx

* skip unnecessary icon invalidation

* fix frame range fill with tablet

* stop function editor to open by dbl clicking key

* Expanding the radius of the rotation handle.

This just changes when the cursor transforms into the rotation tool.

(cherry picked from commit 7722ae989bbdc6aa5cb48df7a4c08bae1fe6ea39)

* fix vector img patern stroke style

* Update Stylesheets

- Support the new icon sizes
- XSheet and Timeline significantly redesigned
- Lots of margin fixes and refactoring
- Remove deprecated icons, as some icons are moved into binary
- New Light theme

* New Icons

- Redesigns almost every icon as symbolic
- Adds icons for most commands

* Add Option for Icon Themes

- Adds option for icon themes
- Removes useless label from Preferences category list

* Update Icon Functions

- Adds themePath() boolean
- Adds function for recoloring black pixels in pixmaps to any color
- Rebuilds createQIcon to use fromTheme() and recolorPixmap()
- Removes createQIconOnOff as it seemed to be a rarely used duplicate of createQIcon
- Removes a grey horizontal line drawn above the console play bar in the viewer

* Set Default Icon Theme and Paths

- Sets search paths for icons for use with QIcon::fromTheme()
- Sets default start icon theme on first install
- Sets flag for displaying icons in menus, so we can selectively hide them

* Set Icons for Commands

- Sets icons for the commands
- Hides icons being displayed in menus as most icons are 20x20, they will look blurry when shrunk to 16x16
- Selectively allows icons to display for Tools in menus

* Change Icon Sizes, General Fixes and Stylesheet Additions

- Change icon sizes to new size
- Remove margin around FX Editor window
- Remove white line under color sliders in Style Editor
- Make keyframe icons uniform and color stylable in the stylesheets
- Removes deprecated stylesheet strings
- Redesign GUI for palette list view
- Make tree list header sort row stylable
- Remove black lines from scrollbars in New Project window
- Remove margin around combobox in Level Strip
- Alter how some lines are drawn in the Timeline to fix some alpha issues
- Make conditional fixed onion skin and normal onion skin dots contrast more against a light background area to make sure they have good visibility
- Make text always viewable in the FPS field in console bar
- Increase size of radio buttons in Cleanup Settings
- Increase size of switches in motion path nodes
- Remove unessesary "Layer" label in Timeline and other rects
- Various colors made stylable in the stylesheets; palette numpad and selection frame, cleanup settings border, scene cast folder path, schematic lines, ruler, xsheet lines, keyframes, cell input box and more
- Moves some external stylesheet icons into binary

* Make TPanelTitleBar Icon States Stylable

- Makes icon states for TPanelTitleBar buttons stylable in stylesheets

* Travis Fixes

* Swap Startup Popup Logos

They were in the wrong folders

* Revert "Swap Startup Popup Logos"

This reverts commit 815908a9f3e725f48507dab8a2270bdfa045649d.

* Fix Startup Popup Logo

It wasn't switching

* Feedback Changes

- Change render visualization to clapboard
- Fix text contrast on levels in XSheet

* Make Cell Selection More Clear

* Darken Light Theme and Tint Empty Cell Selection

* Fix missing icons

* Fix memo button

* Bring back colors

* Hide Motion Tab

* Fix Play Range Area (Light)

Make play range area more visible

* Vector Column Color

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>
Co-authored-by: shun-iwasawa <shun-iwasawa@users.noreply.github.com>
Co-authored-by: Kite <konero@users.noreply.github.com>
Co-authored-by: Jeremy Bullock <turtletooth@users.noreply.github.com>
Co-authored-by: DoctorRyan <doctorryan1969.gmail.com>
2020-08-31 12:51:22 -06:00
Jeremy Bullock
dd1976c5d8
Update with Current OpenToonz changes as of 8-12-20 (#119)
* 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 travis-install (#3389)

* Fix assert debug crash in flipconsole.cpp

Fix crash when using the viewer controls in the console (debug)

* Redraw Audio Waveform

Fills the waveform rather than outlines it.

* fix undo data when drawing arc and mutliarc

* fix overwriting raster drawing palette (#3387)

* mode sensitive fx settings

* Create New Style Command Button (#3394)

* Create New Style Command Button

This PR creates a new button in the pallette editor that creates a new style.  Button is large and easy access for a faster and easier workflow.  Original code developed by Turtletooth for Tahoma.  Given permission to develop within Openoonz.

Co-Authored-By: Jeremy Bullock <turtletooth@users.noreply.github.com>

* Update paletteviewergui.cpp

Made changes to the PR per request by Shun.

* Fixed a space within the code that wasn't suppose to be there.

Co-authored-by: Jeremy Bullock <turtletooth@users.noreply.github.com>

* tahoma license (#3396)

* new style button optional

* fix loading pegbars (removing updateKeyframes)

* periodic random expression

* add fx in linear color space
this commit is based on source for the ComposeAdd plugin fx by DWANGO Co., Ltd.
in dwango_opentoonz_plugins and opentoonz_plugin_utility repositories.

* fractal noise iwa fx

* skip unnecessary icon invalidation

* fix frame range fill with tablet

* stop function editor to open by dbl clicking key

* Expanding the radius of the rotation handle.

This just changes when the cursor transforms into the rotation tool.

(cherry picked from commit 7722ae989bbdc6aa5cb48df7a4c08bae1fe6ea39)

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>
Co-authored-by: shun-iwasawa <shun-iwasawa@users.noreply.github.com>
Co-authored-by: Kite <konero@users.noreply.github.com>
Co-authored-by: Jeremy Bullock <turtletooth@users.noreply.github.com>
Co-authored-by: DoctorRyan <doctorryan1969.gmail.com>
2020-08-17 13:38:24 -06:00
Jeremy Bullock
feb9c4f48f
Merge OT changes as of 8-6 (#116) 2020-08-07 00:11:19 -06:00
manongjohn
0331c721e6
Fix undo guided strokes clearing frames (#109) 2020-08-02 22:24:56 -06:00
artisteacher
4871443ae5
Fix unused command line arguments (#99)
This uses some of PR opentoonz/opentoonz#3031 by Otakuto with some small additions so that command line arguments can function.
2020-07-25 22:53:56 -06:00
manongjohn
08655aa21f
Display Default Palette (#95)
* Default Palettes

* Fix level detection at frame 1

* Add default/personal palettes location

* Add Personal Palettes category to Studio Palette Window

* Fix default palette comments

* Fix save default palette warning message
2020-07-25 22:51:26 -06:00
Jeremy Bullock
05958a4a7b
OT changes as of 7-11 (#82)
* 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 travis-install (#3389)

* Fix assert debug crash in flipconsole.cpp

Fix crash when using the viewer controls in the console (debug)

* Redraw Audio Waveform

Fills the waveform rather than outlines it.

* fix undo data when drawing arc and mutliarc

* fix overwriting raster drawing palette (#3387)

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>
Co-authored-by: shun-iwasawa <shun-iwasawa@users.noreply.github.com>
Co-authored-by: Kite <konero@users.noreply.github.com>
2020-07-11 21:03:15 -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
Jeremy Bullock
0e717f4ad5
Fixes (#76)
* Fix function editor colors, ruler status bar. . .

* Fix stop motion bugs
2020-07-06 22:49:36 -06:00
Jeremy Bullock
d9a5c16baa
Merge shuns pr from 7-5-20 (#74)
* 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

* 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 compilation error

* fix a bug where multiArc might generate bugged stroke

* Remove ICONV dep (#3304)

* fix crash on saving studio palette

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

* fix geometric tool multiarc smooth option

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>
2020-07-06 00:23:39 -06:00
Jeremy Bullock
133c867d93
Merge with core OpenToonz as of 7-5 (#73)
* 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

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>
2020-07-05 23:32:52 -06:00
Jeremy Bullock
5850554b2d
More ui tweaks (#70) 2020-07-03 17:45:44 -06:00
Jeremy Bullock
3605260cbd
Ot master (#58)
* prevent unintentional frameworks use and fix typos

* Fix build with Clang 10

* System depend code deduplication

* Improve multi-layer style picker.

Allows clicking anywhere on a stroke in another layer to pick it -
not just the center.

Fixes #2843.

* Get actual pixel size instead of hard-coding to 1.0.

* Rehide features

* fix pegbar restoring

* fix crash on converting single image

* Fix wrong path to FXs

* fix expression reference in sub xsheet

* Fix build with GCC 10.

The default option was fixed in the latest Twain releases
but Opentoonz includes Twain 2.1.

* Fix build with Qt 5.15.

QPainterPath is no longer included indirectly.

* fix pegbar lost on exploding subxsheet

* fix fxs missing on explode

* Adobe Animate keyboard shortcuts but now with better shapes

* fix a bug where level in xsheet gets replaced when cancelling saving

* add include intersection option in selection tool

Co-authored-by: artisteacher <thingymadingy@yahoo.com>
Co-authored-by: Rodney <rodney.baker@gmail.com>
Co-authored-by: Rozhuk Ivan <rozhuk.im@gmail.com>
Co-authored-by: Martin van Zijl <martin.vanzijl@gmail.com>
Co-authored-by: shun-iwasawa <shun.iwasawa@ghibli.jp>
Co-authored-by: Konstantin Dmitriev <ksee.zelgadis@gmail.com>
Co-authored-by: Christophe Giboudeaux <christophe@krop.fr>
Co-authored-by: MrBlockCat <37186692+MrBlockCat@users.noreply.github.com>
Co-authored-by: pojienie <pojienie@gmail.com>
2020-06-28 21:05:10 -06:00
Jeremy Bullock
8e0cc7af42
Fix line visibility on straight lines with MyPaint styles (#56)
* Fix assistant pressure

* Fix pressure on mypaint straight lines
2020-06-20 22:58:33 -06:00
Jeremy Bullock
a970d34579
Misc fixes (#52) 2020-06-17 21:05:36 -06:00
Jeremy Bullock
1d7b13f4d8
Perspective Assistant for Smart Raster and Raster levels (#51)
* It's working

* Raster brush too

* Added saving and toggling points
2020-06-16 23:06:09 -06:00
Jeremy Bullock
7faa31f359
misc fixes (#49) 2020-06-12 02:33:50 -06:00
Jeremy Bullock
bc9b68e15e
Straight line tool on raster brush tool (#44) 2020-06-04 20:50:21 -06:00
Jeremy Bullock
6247863442 Fix mac performance on straight lines 2020-06-04 12:15:46 -06:00
Jeremy Bullock
7a22a827d0
Allow Straight Lines on Shift plus more. . . (#39)
* Toonz Raster Straight Lines

* Lock to vertical diagonal or horizontal on ctrl
2020-06-03 23:09:51 -06:00
Jeremy Bullock
e239e2633c
Fix brush tool on rasters with different sizes (#38) 2020-06-03 12:19:53 -06:00
Jeremy Bullock
4b19ca95f2
Put back scan and cleanup (#13) 2020-05-27 00:38:36 -06:00
Jeremy Bullock
606afc272f
Function Editor Overhaul (#5) 2020-05-22 15:31:30 -06:00
Jeremy Bullock
50d82d74ab
Rip it out (#2)
* Part 1

* Part 1

* Part 2
2020-05-18 18:34:29 -06:00
Rodney
b57b764782
Merge pull request #3275 from turtletooth/ik
Remove Changing Pins on IK
2020-05-16 17:02:15 -05:00
Jeremy Bullock
ed38886df9 Fix Scrollable Plastic Options 2020-05-14 14:10:41 -06:00
Rodney
ef35521592
Merge pull request #3276 from turtletooth/brush_icon
Fix toonz raster brush and eraser cursor offset
2020-05-12 16:52:13 -05:00
Jeremy Bullock
195eae456d Fix widths 2020-05-12 00:54:11 -06:00
Jeremy Bullock
22d9f96232 Add scroll to tool options 2020-05-12 00:27:39 -06:00
Jeremy Bullock
6d77d97692 Fix toonz raster brush and eraser cursor offset 2020-05-11 23:16:59 -06:00
Jeremy Bullock
66c84468f3 Remove changing pins on IK 2020-05-11 02:30:29 -06:00
pojienie
74b1dd9b46 add locking stroke functionality in pump tool 2020-04-29 11:39:22 +00:00
pojienie
86e7f36817 add locking stroke functionality in cutter tool 2020-04-29 11:31:50 +00:00
Rodney
26b3167ad0
Merge pull request #3226 from rozhuk-im/master
Fix multiple warnings
2020-04-19 01:14:05 -05:00
Rozhuk Ivan
823a31f62c Fix multiple clang warnings 2020-04-13 22:21:56 +03:00
pojienie
ab83fce620 fix hook problem with brush tool 2020-04-13 08:40:19 +08:00
Rodney
05af46c4fd
Merge pull request #3219 from pojienie/add-freehand-mode-to-control-point-editor-tool
add freehand mode to control point editor tool
2020-04-10 17:22:18 -05:00
pojienie
286724e284 add freehand mode to control point editor tool 2020-04-08 12:10:51 +00:00
pojienie
4998cfd782 add interpolation in eraser tool 2020-04-07 11:25:45 +00:00
pojienie
7933abf6fd implement frame range for segment mode 2020-03-31 11:14:39 +00:00
pojienie
31955ed017 add segment mode in eraser tool 2020-03-30 11:35:56 +08:00
pojienie
b9b166433b fix tape tool not connecting not grouped strokes 2020-03-24 11:03:12 +00:00
Martin van Zijl
a10e2f0af9 Add option to disable use of ctrl+alt for changing brush size.
For #2864.
2020-03-23 07:11:38 +13:00
Martin van Zijl
dbf19d51c5 Fix vector brush drawing issue using alt key.
Fixes #2131.
2020-03-21 08:10:03 +13:00
Rodney
8e8bdecda7
Merge pull request #3138 from pojienie/add-snap-at-intersection-in-cutter-tool
Add snap at intersection in cutter tool
2020-03-06 20:25:18 -06:00
Rodney
1504675c25
Merge pull request #3129 from martinvanzijl/issue-2190-tape-tool-fix
Fix issue with tape tool not drawing after switching via shortcut
2020-03-06 09:10:21 -06:00
pojienie
75ef2ccf10 implement snap at intersection option in cutter tool 2020-03-05 22:49:12 +00:00
pojienie
0149f49ce8 add snap at intersection UI mock up in cutter tool 2020-03-05 21:35:26 +00:00
Martin van Zijl
f087241d3e Fix issue with tape tool not drawing after switching via shortcut.
Fixes #2190.
2020-03-04 06:20:01 +13:00
Martin van Zijl
18c2b4206a Fix crash with Eraser Tool in ranged mode in XSheet.
Fixes #2538.
2020-02-28 13:39:00 +13:00
Rodney
b5e86469bd
Merge pull request #3079 from pojienie/add-snap-option-to-control-point-editor-tool
Add snap option to control point editor tool
2020-02-17 18:09:45 -07:00
Tact Yoshida
47eaf794ad Use std::unordered_set 2020-02-04 05:13:21 +09:00
Tact Yoshida
1c2b20d028 Use std::unordered_map 2020-02-04 05:13:15 +09:00
Tact Yoshida
fd62558d54 Use std::copy_if 2020-02-04 05:12:52 +09: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
Rodney
a2795f2a3b
Merge pull request #3073 from manongjohn/fix_guided_drawing_issues
Fix guided drawing issues
2020-01-28 20:10:03 -07:00
manongjohn
4fae98b672 Fix guided undo removing frames 2020-01-28 19:22:35 -05:00
shun-iwasawa
085210630b fix toonz vector brush translation 2020-01-27 12:09:44 +09:00
manongjohn
bf1e217f1e Flag level changed on guide stroke direction change 2020-01-23 00:58:10 -05:00
manongjohn
233fcf81e3 Add Guided Drawing Controls Pane (#2992)
* guided drawings menu fix

* Add Guided Drawing Controls Pane

* Fix Guided Drawing Panel not opening

* Add Flip Guide Stroke Direction commands

* Restore Off to Guide Frame selection

Co-authored-by: shun-iwasawa <shun-iwasawa@users.noreply.github.com>
2020-01-14 17:01:17 +09:00
Martin van Zijl
bf25486844 Disable keyboard shortcuts while dragging vector line (#2914)
fix #2148
2020-01-08 11:32:25 +09:00
otakuto
91a93e2575 Remove tcg_function_types.h (#2772) 2020-01-08 10:49:48 +09:00
shun-iwasawa
5360253c32
Modify Autocreation Feature (#2943)
* modify autocreation mode
2019-12-26 12:14:50 +09: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
caryoscelus
fb92fd2ade SelectTool minor code improvements (#2932)
* SelectionTool: code improvement: use strongly-typed enum

* SelectionTool minor code improvement: use unique_ptr

* SelectionTool minor code improvement: formating / warnings

* SelectionTool: generalize code
2019-12-23 20:03:57 +09:00
manongjohn
f7197ed042 Swtich Auto-Inbetween Easing logic (#2930) 2019-12-10 09:11:09 -07:00
manongjohn
28129111a1 Fix tool crashes on Palette and Zerary column 2019-12-02 18:49:46 -05:00
Rodney
6b47a7627a
Merge pull request #2903 from manongjohn/allow_selection_tool_when_not_editable
Allow Selection Tool copy when level is not editable
2019-11-27 10:22:24 -06:00
manongjohn
b96cef30fa Ignore OT's paste shortcut in TypeTool box 2019-11-26 15:01:55 -05:00