Commit graph

409 commits

Author SHA1 Message Date
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