Commit graph

303 commits

Author SHA1 Message Date
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
Jeremy Bullock
6954f4d14c
Bring in OpenToonz updates as of 10/20 (#400)
* fix saving fx ports

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

* fix palette gizmo target

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

* export subxsheet column to xdts

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

* fix particles fx with sub xsheet control

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

* fix crash on reverting scene

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

* Fix crash on closing Tahoma with a floating level strip.

Co-authored-by: shun-iwasawa <shun.iwasawa@ghibli.jp>
2020-10-21 15:00:03 -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
69acc777c2
Bring in OpenToonz updates as of 10-17-20 (#371)
* palette filter no gap enhancement

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

* selectable param name label

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

Co-authored-by: shun-iwasawa <shun.iwasawa@ghibli.jp>
2020-10-18 17:34:17 -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
manongjohn
4e5957b267
Fix running through Linux shortcut (#342)
* Fix running through Linux shortcut

* Fix ffmpeg detection through working directory
2020-10-10 12:06:49 -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
c45605618b
Clarify the render process. . . (#311)
* Demystifying Rendering

* More info
2020-10-07 15:27:55 -06:00
Jeremy Bullock
d0f1813309 Rename to Tahoma2D 2020-10-02 00:20:33 -06:00
Jeremy Bullock
d2a6a32213
More fixes. (#265)
* Some fixes

* fix fractalnoisefx

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

* gui modifications

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

* Finish to style update patch

* OpenToonz #3510
Co-authored-by: shun-iwasawa shun-iwasawa@users.noreply.github.com

Co-authored-by: shun-iwasawa <shun.iwasawa@ghibli.jp>
2020-10-01 12:19:00 -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
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
9d1557c868
Render bug (#173)
* Make viewer transparency respond faster and add to combo viewer

* Fix one cause of render crashes
2020-09-15 00:07:58 -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
7ce531ac30
OT Changes as of 7-26 (#104) 2020-07-27 21:16:51 -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
manongjohn
44afc3df8a
Fix incorrectly using None interpolation type (#85) 2020-07-12 22:57:03 -06:00
Jeremy Bullock
5957d4d678
Remove Scan Stuff (#79)
* Remove Scan Stuff

* Fix Travis?

* Travis 2
2020-07-08 00:31:12 -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
34cf4cc79f
Status Bar (#50)
* Status bar

* Status Bar Working
2020-06-15 02:27:26 -06:00
Jeremy Bullock
7faa31f359
misc fixes (#49) 2020-06-12 02:33:50 -06:00
Jeremy Bullock
c04aa72cd3
Project Management Overhaul (#47)
* Redo Project Management  - Part 1

* Part 2

* Fix build

* Cleanup
2020-06-08 22:42:51 -06:00
Jeremy Bullock
432c865cf5 Hide some export types (#14) 2020-05-27 00:55:27 -06:00
Jeremy Bullock
4b19ca95f2
Put back scan and cleanup (#13) 2020-05-27 00:38:36 -06:00
Jeremy Bullock
1d8faddcc0
Tahoma Branding (#6) 2020-05-22 22:20:51 -06:00
Jeremy Bullock
50d82d74ab
Rip it out (#2)
* Part 1

* Part 1

* Part 2
2020-05-18 18:34:29 -06:00
Jeremy Bullock
29ea8148b6 remove screensaver 2020-05-07 23:04:12 -06:00
Jeremy Bullock
852210666e beautification 2020-05-07 22:16:54 -06:00
Jeremy Bullock
175c6b7122 Clear out references to flash and linetest 2020-05-07 22:13:53 -06:00
Rodney
26b3167ad0
Merge pull request #3226 from rozhuk-im/master
Fix multiple warnings
2020-04-19 01:14:05 -05:00
Martin van Zijl
63e956981a Disable deleting on external drives in Linux.
Still need to implement this to correct standard.
2020-04-16 08:34:59 +12:00
Martin van Zijl
3d473ace6c Allow deleting files in File Browser on Linux.
This sends them to the recycle bin in the user's home directory.
2020-04-16 08:05:27 +12:00
Rozhuk Ivan
823a31f62c Fix multiple clang warnings 2020-04-13 22:21:56 +03:00
pojienie
ab0188ea0f move interpolation calculation to TInbetween 2020-04-07 11:15:00 +00:00
otakuto
e7dd1492d7
Remove unused TIdentifiable (#3080) 2020-04-07 18:36:30 +09:00
Jeremy Bullock
08ca86e8b2 fix build on vs 2019 2020-04-03 17:55:58 -06:00
Rodney
83e2a21487
Merge pull request #3200 from martinvanzijl/issue-2945-allow-load-levels-with-numeric-name
Allow loading levels/images with numeric names
2020-04-01 21:39:00 -05:00
Martin van Zijl
4e3671fd46 Use npos instead of -1. Remove second comment. 2020-04-01 22:15:11 +13:00
Martin van Zijl
2ffeac34fa Allow loading levels/images with numeric names.
Fixes #2945.
2020-04-01 22:11:25 +13:00
Martin van Zijl
5b558720b6 Enable Ink #1 Check for vector levels in the viewer. 2020-03-27 06:36:45 +13:00
shun-iwasawa
0ed559b3ac curvesfx enhancement 2020-03-19 02:34:54 +09:00
otakuto
6b6f0ae65f
Remove tgraphicss.cpp (#3002) 2020-03-13 00:54:09 +09:00
Rodney
125d235b37
Merge pull request #2658 from blackwarthog/feature06_mingw_win32
Allow to compile OpenToonz for windows 32bit (via mingw)
2020-02-03 19:45:43 -07:00
shun-iwasawa
9bcc696689 fix vector tape tool for points at the same pos 2020-01-30 12:46:54 +09:00
Tact Yoshida
6b39c3e7d5 Use std::isnan instead of _isnan 2020-01-09 22:19:35 +09:00
Tact Yoshida
bf36c70d1e Remove unused TTimer 2020-01-09 04:05:40 +09:00
otakuto
91a93e2575 Remove tcg_function_types.h (#2772) 2020-01-08 10:49:48 +09:00