Commit graph

67 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
ed38886df9 Fix Scrollable Plastic Options 2020-05-14 14:10:41 -06:00
Jeremy Bullock
22d9f96232 Add scroll to tool options 2020-05-12 00:27:39 -06: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
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
manongjohn
6939a3e658 Allow Selection Tool copy when level is not editable 2019-11-24 19:22:20 -05:00
Rodney
38f43a17b7
Merge pull request #2087 from manongjohn/hide_tools
Disable or Hide unusable tools
2019-11-07 07:12:43 -07:00
shun-iwasawa
bce58dc69f animate tool : precise control with pressing Alt 2019-10-25 11:28:37 +09:00
shun-iwasawa
d02ca13b93 pencilmode for t.raster eraser freehand polyline 2019-10-15 15:46:57 +09:00
manongjohn
d4ec2ab252 Show pointing finger cursor over selection pivot 2019-09-23 21:56:24 -04:00
manongjohn
df7b097208 Merged in opentoonz master with conflicts resolved 2019-09-14 16:58:07 -04:00
shun-iwasawa
21c135a2fc fix histogram with 3dlut 2019-08-30 17:17:23 +09:00
Martin van Zijl
d1006d8551 Added "Select All" function for vector images (#1042) 2019-07-14 11:22:25 +12:00
shun-iwasawa
14c78752d6 Fill Tool for Raster Level (#2646)
* filltool for raster level

* fill depth behavior fix
2019-06-22 10:13:38 -06:00
manongjohn
4f0f61174e Viewer context menu additions (#2501) 2019-05-29 16:26:30 +09:00
manongjohn
b30686264d Use tool isEnabled() for hiding 2019-02-09 09:50:11 -05:00
shun-iwasawa
763ff111fa forbidden cursor for CURSOR_NO (#2489) 2019-01-23 13:30:45 +09:00
shun-iwasawa
1d5937a1fe shift and trace improvement (#2240) 2018-09-11 14:35:02 +09:00
shun-iwasawa
2b24e83965 Enhancement of the Shift and Trace Feature (#2212)
* shift and trace enhancement

* override shortcuts
2018-08-07 16:22:49 +09:00
manongjohn
b66bc4e313 Show actual fonts in font dropdowns (#2080)
* Show actual fonts in font dropwdowns
2018-08-06 15:46:52 +09:00
shun-iwasawa
25d3db05fd fix selection tool option (#2102) 2018-06-26 14:47:11 +09:00
shun-iwasawa
48ed93c368 fix tooloption state update (#2024) 2018-05-31 14:18:15 +09:00
manongjohn
75da26b560 Cursor preferences (#1960)
close #1857
2018-05-17 15:03:05 +09:00
shun-iwasawa
59484bd446 edit all (#1870) 2018-03-21 17:23:25 -06:00
shun-iwasawa
600da68f50 Fix Interrupted Brush Stroke When Using Tablet (#1753)
* modify tablet behavior

* set toolIsBusy with tablet
2018-02-19 15:55:29 +09:00
shun-iwasawa
7f1e30e1f6 fix vector selection move (#1776) 2018-02-19 15:34:13 +09:00
shun-iwasawa
ad7711e42d color calibration with 3d lut (#1793) 2018-02-19 12:06:07 +09:00
shun_iwasawa
bc352cf106 precise pen position 2018-01-19 18:29:42 +09:00
shun-iwasawa
43640b7624 make autopaint lines optional (#1564) 2017-11-22 12:52:08 +09:00
Jeremy Bullock
7712907c92 Middle Mouse Drag to Edit Values (#1362)
* Middle mouse drag to edit numeric values
* The function editor spreadsheet values can be ctrl + dragged to change their value. Alt + click on a key will clear it.
2017-11-20 16:28:59 +09:00
Jeremy Bullock
62833782ee Added Commands to Flip Viewer Horizontally and/or Vertically (#1356)
* Added Commands to Flip Viewer Horizontally and/or Vertically
2017-11-20 15:55:27 +09:00
Jeremy Bullock
eb5f881693
Merge pull request #1568 from shun-iwasawa/tool_keys_override
Shortcut Override for Tool-Specific Keys
2017-11-16 16:29:01 -07:00
shun-iwasawa
c189d1a1bc
fix freehand line (#1545)
close #1544
2017-11-14 12:38:01 +09:00
shun_iwasawa
d518217e82 shortcut override for tool-specific keys 2017-11-09 12:08:56 +09:00
shun_iwasawa
009457074f cursor customize 2017-10-26 15:17:19 +09:00
Jeremy Bullock
977232b53c Geometry Tool Vector Snapping for All Tools (#1328)
* Geometry Tool Vector Snapping
2017-08-22 21:11:38 +09:00
Jeremy Bullock
cd00fd74d3 Snapping and Frame Range for Vector Brush (#1319)
* Frame Range for Vector Brush
* Brush Snapping
2017-08-14 19:59:51 +09:00
shun_iwasawa
b0e644d779 Merge remote-tracking branch 'origin/master' into turtletooth-mac_tablet 2017-08-04 16:57:18 +09:00
Ivan Mahonin
bf1d82af08 MyPaint brushes for OpenToonz raster levels (#1124)
close #417
2017-08-04 12:31:50 +09:00