Commit graph

405 commits

Author SHA1 Message Date
manongjohn
290f2aa809 Revert Style Picker and Type Tool changes. 2019-02-09 09:51:19 -05:00
manongjohn
f3163f8dfc Corrected logic for empty cells 2019-02-09 09:50:12 -05:00
manongjohn
8a942e24e6 Account for Level Editor in toolbar logic 2019-02-09 09:50:12 -05:00
manongjohn
b30686264d Use tool isEnabled() for hiding 2019-02-09 09:50:11 -05:00
manongjohn
5f9599ca57 Fix improperly disabled tools on secondary level frame (#2487)
* Fix improperly disabled tools on secondary level frame
2019-01-23 13:04:20 +09:00
manongjohn
8f8437e2d4 Fix style picker and type tools invalid status (#2483)
* Fix style picker and type tools invalid status
2019-01-23 12:26:10 +09:00
manongjohn
482ab465ec Prevent crash on deactivation on empty cell 2019-01-19 16:10:05 -05:00
manongjohn
2d59e66990 Merge remote-tracking branch 'origin/master' into schematic_gesture_control 2019-01-09 01:18:26 -05:00
manongjohn
7b95436a93 Fix eraser mode switch crash (#2396) 2018-12-26 11:03:58 +09:00
manongjohn
1e1817d96a Fix restoring erase tool crash (#2389) 2018-12-25 12:13:47 +09:00
manongjohn
648efa7db5 Fix raster crash after unhiding column (#2369) 2018-12-20 10:52:15 +09:00
manongjohn
6dad4e96f4 Fix raster paste crash (#2364)
* Fix raster paste crash
2018-12-20 10:36:48 +09:00
otakuto
1b4b54589b fix small memory leak (#2279) 2018-12-17 12:48:49 +09:00
otakuto
e28b5ed088 use std::unique_ptr instead of tcg::unique_ptr (#2277) 2018-12-14 18:15:03 +09:00
shun-iwasawa
e93284d9ca fix toonz raster brush crash (#2381) 2018-11-16 16:57:04 +09:00
Jeremy Bullock
0aebf86bcd Made small pump tool sizes actually do something. (#2340)
* Made small pump tool sizes actually do something.
2018-11-12 00:16:21 +09:00
manongjohn
5ed36240b5 Fix restoring raster tool crash (#2362) 2018-11-04 22:37:27 -07:00
shun-iwasawa
102e065515 fix tapetool crash (#2352) 2018-11-04 22:37:12 -07:00
otakuto
6985407a96 remove duplicate include (#2271) 2018-10-31 12:00:01 +09:00
shun-iwasawa
f20cae58d5 fix mesh visibility (#2333) 2018-10-18 14:34:20 +09:00
shun-iwasawa
0568f423b5 fix toonzraster mypaint line with mouse (#2332) 2018-10-18 14:18:23 +09:00
otakuto
fb35734678 use nullptr instead of Q_NULLPTR (#2246) 2018-10-12 16:05:14 +09:00
shun-iwasawa
98926de9b6 mypaint brush for toonz raster levels (#2257) 2018-09-12 10:37:07 +09:00
shun-iwasawa
1d5937a1fe shift and trace improvement (#2240) 2018-09-11 14:35:02 +09:00
otakuto
ed7dcd5873 using std::swap instead of tswap (#2195) 2018-08-30 17:18:43 +09:00
shun-iwasawa
3563f7ae9f fix type tool crash (#2222) 2018-08-10 15:52:26 +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
otakuto
a18e658d3e use bool instead of macro bool (#2165) 2018-08-07 14:41:42 +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
5cedd8c678 fix display of motion path stroke (#2188) 2018-08-01 14:59:26 +09:00
manongjohn
da05a053d1 Change pointer cursor icon per navigation mode 2018-07-25 09:58:49 -04:00
shun-iwasawa
03b775c3c8 fix frame range crash (#2151) 2018-07-12 15:33:31 +09:00
shun-iwasawa
1fde39813a fix vector brush display bugs (#2133) 2018-07-12 15:18:08 +09:00
shun-iwasawa
25d3db05fd fix selection tool option (#2102) 2018-06-26 14:47:11 +09:00
shun-iwasawa
85f3fb9083 fix viewer update again (#2097) 2018-06-22 17:06:18 +09:00
shun-iwasawa
cd7d6a5be1 Fix Brush Artifacts on Viewer (#2071)
* fix more and more viewer update

* fix short stroke drawn with soft brush

* fix crash
2018-06-18 13:01:39 +09:00
shun-iwasawa
78454d7e08 fix tracker tool gadget (#2077) 2018-06-15 17:06:44 +09:00
shun-iwasawa
d8eb6b766f fix pinch tool crash (#2069) 2018-06-15 16:54:05 +09:00
shun-iwasawa
3c83df63eb Fix Viewer Update Problems (#2049)
* fix more viewer update

* simplify
2018-06-11 17:02:35 +09:00
shun-iwasawa
86dc52b291 more and more translatable texts (#2045) 2018-06-08 15:10:34 +09:00
shun-iwasawa
5e26e06b91 fix plastic bone crash (#2041) 2018-06-08 14:31:04 +09:00
shun-iwasawa
e87e0815f7 Make More UI Texts Translatable (#2026)
* make ui texts translatable

* add more translatable texts

* load translate file for default commands
2018-06-04 12:18:43 +09:00
shun-iwasawa
48ed93c368 fix tooloption state update (#2024) 2018-05-31 14:18:15 +09:00
manongjohn
ff6f0e1b89 Fix brush using wrong initial thickness value (#2005)
* Wrong initial thickness value fix
2018-05-28 14:21:06 +09:00
Jeremy Bullock
75c9c58524 Improvements to Vector Snap (#1906)
* Improvements to Vector Snap
2018-05-25 16:21:25 +09:00
shun-iwasawa
7b497a5d5c fix viewer refreshing with raster brush (#1989) 2018-05-21 15:33:03 +09:00
shun-iwasawa
97f86c58c7 fix brush tip display (#1953) 2018-05-21 14:16:57 +09:00
shun-iwasawa
b4a8f73c50 fix slot disconnection (#1971) 2018-05-18 16:00:42 +09:00
manongjohn
75da26b560 Cursor preferences (#1960)
close #1857
2018-05-17 15:03:05 +09:00
Jeremy Bullock
6c7e544772 Fix slow Toonz Raster brush on High DPI (#1904) 2018-05-07 15:29:17 +09:00
shun-iwasawa
28a2a8fa0e fix tool option combobox (#1942) 2018-05-07 11:09:06 +09:00
Jeremy Bullock
63e8da9d53 Fix scale of animate tool in all mode on high dpi monitors (#1900)
close #1886
2018-04-27 16:28:12 +09:00
shun-iwasawa
df7bb0e418
EnumProperty: translation and icon by podsvirov (modified) (#1863)
* EnumProperty: translation and icon

Add support to translate EnumProperty items and
show icon.
2018-04-26 18:24:25 +09:00
manongjohn
29ce0b3da6 Disable Auto-Stretch Frame (#1707)
Added option to enable / disable Auto-Stretch Frame
2018-03-27 19:26:37 +09:00
shun-iwasawa
d6e7990556 brush enhancement (#1877) 2018-03-22 21:44:45 -06:00
shun-iwasawa
59484bd446 edit all (#1870) 2018-03-21 17:23:25 -06:00
shun-iwasawa
975eb1fa6f New option for Toonz Raster Brush Tool : Draw Order - Palette Order (#1849)
* style order option for toonz raster brush

* change text to "draw order"
2018-03-14 17:33:59 +09:00
shun-iwasawa
388550d11d fix 3dlut crash (#1865)
close #1862
2018-03-14 15:32:28 +09:00
shun-iwasawa
6e8ca56b8c enable vector selection commands (#1851) 2018-03-14 14:58:33 +09:00
shun-iwasawa
67f18257d2 fix raster eraser crash (#1823)
close #1821
2018-03-14 11:42:03 +09:00
Jeremy Bullock
e122a937ef Fill Tool: Allow Fillable Gap Size Change in Vector Images (#1317)
close #1093 

* CAUTION *
Changing the "Maximum Gap" from the default value (1.15) will lose backward compatibility of PLI file.
2018-03-07 15:09:17 +09:00
Jeremy Bullock
3b34666c9d Disable Tools for Hidden Columns (#1643)
close #1559
2018-02-20 19:41:52 +09: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
dfea21b893 Fix Warnings on Launch (#1745)
* fix warnings on launch

* optimize png files
2018-02-19 15:03:32 +09:00
shun-iwasawa
93b2f83609 fix vector eraser (#1760) 2018-02-19 14:34:27 +09:00
shun-iwasawa
ad7711e42d color calibration with 3d lut (#1793) 2018-02-19 12:06:07 +09:00
Jeremy Bullock
129805fb68 Fix frame range undo (#1759)
* Fix frame range undo

close #1758
2018-01-26 19:56:51 +09:00
shun_iwasawa
bc352cf106 precise pen position 2018-01-19 18:29:42 +09:00
shun_iwasawa
68d38f99cf fix crash on launching with vector fill 2018-01-18 11:20:06 +09:00
shun-iwasawa
074b3ed36a fix tablet behavior on osx 2017-12-07 15:44:19 +09:00
shun_iwasawa
3aecdd1e29 fix raster selection 2017-12-06 12:44:40 +09:00
Jeremy Bullock
91231b122e
Merge pull request #1652 from shun-iwasawa/fix_crash_on_changing_scene
Fix Crash on Closing Scene with Floating Selection Remained
2017-12-05 10:20:01 -06:00
shun_iwasawa
0788f1f198 fix crash on closing scene with floating selection 2017-12-05 16:57:53 +09:00
shun_iwasawa
0231580ff0 fix animate tool 2017-12-05 15:45:51 +09:00
Jeremy Bullock
34b28698cd
Merge pull request #1605 from manongjohn/fill_tool_crash_fix
Tool Option crash fixes
2017-11-26 14:37:39 -06:00
manongjohn
e7b1cd6600 Vector fill tool crash fix 2017-11-26 02:52:29 -05:00
shun_iwasawa
23727d2b13 fix select all on only the first click 2017-11-24 21:13:52 +09:00
shun-iwasawa
5a2ff6d279 Add add_dependencies Command to CMake for OSX (#1587)
* fix cmake for osx

* try using make -j 2 for osx travis

* obtain qt5.9.2 from the previous homebrew
2017-11-24 13:10:45 +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
Jeremy Bullock
f9b89b9c75
Merge pull request #1558 from shun-iwasawa/autopaint_autoapply_undo
Enable Undo for Editing Styles
2017-11-14 08:24:25 -07:00
shun-iwasawa
c189d1a1bc
fix freehand line (#1545)
close #1544
2017-11-14 12:38:01 +09:00
Jeremy Bullock
3a06bdc569 Allow Shortcut to Cycle Dropdown Options (#1420) 2017-11-09 23:15:46 +09:00
shun_iwasawa
9a458198b4 Merge remote-tracking branch 'origin/master' into autopaint_autoapply_undo 2017-11-09 15:27:53 +09:00
shun_iwasawa
d518217e82 shortcut override for tool-specific keys 2017-11-09 12:08:56 +09:00
shun_iwasawa
a39cc71201 fix tooloption checkbox 2017-11-08 13:21:55 +09:00
Jeremy Bullock
491fd3a3d9
Merge pull request #1541 from shun-iwasawa/cursor_customize
Customize Tool Cursors
2017-11-07 14:34:15 -07:00
Jeremy Bullock
963e9f6f25
Merge pull request #1542 from shun-iwasawa/fix_boolean_tooloption
Fix Boolean Tool Options Behavior with Shortcuts
2017-11-07 13:52:46 -07:00
shun_iwasawa
e553fc7d27 undo for autoapply 2017-11-07 16:24:20 +09:00
shun_iwasawa
b366ef2b24 fix boolean tool options 2017-10-26 16:55:46 +09:00
shun_iwasawa
009457074f cursor customize 2017-10-26 15:17:19 +09:00
Ivan Mahonin
572ed1c8ce #mypaint: eraser and lock-alpha modifiers 2017-10-26 00:20:53 +07:00
Yu Chen
da5534a8f7 More translatable UI strings (#1486) 2017-09-27 16:03:29 +09:00
manongjohn
fb17cf8366 fix_raster_selection_crash 2017-09-13 23:12:24 -04:00
Jeremy Bullock
e84aac97a9 Fix for Broken Brush Presets (#1447)
close #1438
2017-09-11 17:03:53 +09:00
Jeremy Bullock
a80c9b9011 Fix for Missing Hook Display on Hook Tool. (#1466)
close #1385
2017-09-11 17:01:13 +09:00
Jeremy Bullock
0b92f5893e Fix for scrubbing shortcuts (#1378)
* new shortcuts are;
ctrl + shift + drag = next/prev frames
ctrl + shift + scroll = next/prev frames
alt + shift + scroll = next/prev drawings
ctrl + shift + alt = next/prev step
2017-09-07 16:13:47 +09:00
Jeremy Bullock
c6d53ac2fe Fix for Preset Crash (#1440)
close #1438
2017-08-28 14:55:11 +09:00
shun-iwasawa
031c3b0ca7 japanese translations update (#1431) 2017-08-25 18:18:46 +09:00
Jeremy Bullock
78b876c7f8 fix arrows on brush tool (#1429) 2017-08-24 18:42:32 +09:00
shun_iwasawa
6c274854e3 font position and size fix 2017-08-23 15:05:52 +09:00
Jeremy Bullock
da1fe046a8 Merge pull request #1294 from shun-iwasawa/typetool_using_qt
Enable Type Tool in OSX
2017-08-22 23:17:35 -06: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
Jeremy Bullock
7f20440e9d Show 0 Thick Line During Drawing and Shift Draw on Vector to Make Straight Line (#1307) 2017-08-10 15:31:01 +09:00
Ivan Mahonin
bf1d82af08 MyPaint brushes for OpenToonz raster levels (#1124)
close #417
2017-08-04 12:31:50 +09:00
Jeremy Bullock
2bac7da823 Allow enter to end polyline (#1250) 2017-07-25 18:28:13 +09:00
shun_iwasawa
4a5f426fc0 konero svg icons part 1 2017-07-03 12:33:11 +09:00
shun_iwasawa
df21fa034b type tool using qt 2017-06-22 21:06:57 +09:00
shun-iwasawa
5b7b9fb309 V1.1.3 (#1255) 2017-06-06 21:19:00 +09:00
Jeremy Bullock
f880392f33 Merge pull request #1206 from shun-iwasawa/fix_high_dpi
Fix GUI glitches with high dpi monitors
2017-06-01 23:48:45 -06:00
Jeremy Bullock
60023a892f Fix crash on arrows using eraser (#1221)
* Stop erase on imagechanged
close #1209
2017-06-01 14:31:11 +09:00
Jeremy Bullock
5af997ddc6 Fix for Raster Level Tool Switch Crash (#1228)
* Fix for Raster Level Tool Switch Crash
 close #860
2017-05-31 19:53:58 +09:00
Jeremy Bullock
7c1edcc841 Merge pull request #1229 from shun-iwasawa/fix_plastic_tooloptions
Fix crash on using the "skeleton mode" shortcut with the plastic tool
2017-05-26 08:14:33 -06:00
Jeremy Bullock
d33b097d01 Fix for movement during screen pick (#1225) 2017-05-26 22:05:14 +09:00
shun_iwasawa
eaa9f3875f fix plastictool tooloption crash 2017-05-26 20:06:19 +09:00
Jeremy Bullock
fa8f3e3640 Fix crash on camera scale 0 (#1219)
close #1178
2017-05-26 17:00:32 +09:00
Ivan Mahonin
429ee8c8e4 Allow to cross compile for Windows with Linux/Mingw (part 3 of 3, cmake) (#1150)
* #mingw #cmake: rules for native and cross compilation

* #mingw #cmake: fix CMakeLists.txt for using with MinGW under Windows

* #mingw #cmake: fix typo (BUILD_ENV_WIN -> BUILD_ENV_MSVC)
2017-05-26 15:00:05 +09:00
shun_iwasawa
1fbdc97128 fix viewer gadgets 2017-05-18 19:45:18 +09:00
Campbell Barton
54b714a0b6 Resolve #1046, profile errors flooding stdout 2017-03-24 09:51:25 +11:00
shun_iwasawa
597034da8d fix vector fill 2017-03-03 17:38:46 +09:00
Jeremy Bullock
f7993abac4 Made rounded join the default (#1010) 2017-01-31 20:27:42 +09:00
Jeremy Bullock
01e454e092 Brush Size Shortcuts Change (#685)
* Changed brush size shortcut to Ctrl + Alt ( in considering ui consistency )
close #477
2017-01-19 20:46:50 +09:00
shun_iwasawa
e3df22b49e fix style switch on raster 2016-11-24 16:02:18 +09:00
Xenobus
9d7eaade5d Fixes crash on editing curve with control point tool
OpenToonz crashes when directly manipulating curves via the lines
themselves, unless the curve was initialized as a straight line.

Depending on the build environment, a calculation interprets doubles
as ints, resulting in a divison by zero.

 -Explicitly specifies the use of floating point abs() - fabs()

Resolves: #858, #919
2016-11-17 19:40:33 +02:00
shun_iwasawa
7292b3f0dc Merge remote-tracking branch 'origin/master' into numpad_for_palette_shortcut 2016-10-31 19:57:30 +09:00
Campbell Barton
6f12250419 CMake: minor cleanup 2016-10-28 19:09:35 +11:00
shun_iwasawa
53bef61327 Merge remote-tracking branch 'origin/master' into numpad_for_palette_shortcut 2016-10-26 20:54:28 +09:00
Jeremy Bullock
9ec2d133f1 rounded brush cap default (#872)
* Changed default vector brush cap to "rounded"

close #766
2016-10-26 18:37:43 +09:00
Jeremy Bullock
63610baef4 Merge pull request #764 from shun-iwasawa/organize_palette
"Organize palette" and "Update colors by using picked position" features for the workflow using raster level as a color model
2016-10-02 22:33:36 -06:00
shun_iwasawa
4635d82930 numpad for palette shortcut 2016-09-12 19:51:52 +09:00
MCCCS
a0ce326e1b 🐛 Fix spelling mistakes 2016-09-07 16:28:50 +03:00
shun_iwasawa
e897af4ff2 organize palette 3 2016-08-18 20:25:44 +09:00
shun_iwasawa
4b846056c9 Merge remote-tracking branch 'origin/master' into organize_palette 2016-08-16 18:41:23 +09:00
shun-iwasawa
27b0cfd38c clang formatting (#703) 2016-08-04 16:23:36 +09:00
shun_iwasawa
ff185f4824 Merge remote-tracking branch 'origin/master' into organize_palette 2016-07-29 17:25:00 +09:00
Campbell Barton
9ece9c0c92 Cleanup: CMake style
Use parens on newline, avoids diff-noise when adding values.
2016-07-23 04:59:47 +10:00
Campbell Barton
8c6c57f1b4 Enable missing-declarations warning (#643)
Finish ensuring symbols use headers correctly
2016-07-22 13:38:33 +09:00
Shinya Kitaoka
2a7129aa92 use std::unique_ptr<> instead of std::auto_ptr<> (#601) 2016-07-20 21:49:32 +09:00
shun_iwasawa
c382b8addd Merge remote-tracking branch 'origin/master' into organize_palette 2016-07-20 12:47:43 +09:00
Xelloss
6a7ff2ca42 Fix some can't translate strings on UI (#515)
* Add & to "Scan & Cleanup" menu item

Missing a ‘&’ punctuation on this menu item.

* fix can't translation strings on Cleanup Setting

* fix can't translation strings on Combo Viewer

* fix can't translation strings on Main Windows

* fix can't translation strings on Preference

* fix can't translation strings on Context Menu

* fix can't translation strings on Style Picker tool

* fix can't translation strings on Watercolor FX

* fix can't translation strings on Tape Tool

* fix can't translation strings on Rotate Tool

* fix can't translation strings on FileBroswer

* fix can't translation strings on FileBroswer

* fix can't translation strings on FileBroswer

* Add new source strings and translate in Chinese

* Add new source strings and translate in Chinese

* Add new source strings and translate in Chinese

* Add new source strings for french

* Add new source strings for german

* Add new source strings for italian

* Add new source strings for japanese

* Add new source strings for spanish

* Add new source strings for spanish

* Add new source strings for japanese

* Add new source strings for italian

* Add new source strings for german

* Add new source strings for french

* Add new source strings for spanish

* Add new source strings for japanese

* Add new source strings for italian

* Add new source strings for german

* Add new source strings for french

* include Qt translation support

* include Qt translation support

* Update stylepickertool.cpp

* Update viewtools.cpp

* remove modifications

Check failed

* remove modifications

Check failed

* Update stylepickertool.cpp

* Fix more can't translate strings on UI

* translation support for Pick Style Tool and Rotate Tool

* Add more source strings in all language TS files

* update qm files of chinese

* Remove modifications of Style Picker tool & Rotate Tool again...
2016-07-14 17:00:28 +09:00
shun-iwasawa
535d3f26d8 Merge pull request #400 from turtletooth/pixels
Add pixels - Finished.
2016-07-14 12:40:30 +09:00
Jeremy Bullock
59dbbf498a Clang formatting applied 2016-07-12 21:09:46 -06:00
shun_iwasawa
06bcc2ea0a organize palette 1 2016-07-11 18:55:17 +09:00
Campbell Barton
9b2bfdae51 Fix uninitialized variable use (#613) 2016-07-11 15:22:56 +09:00
Campbell Barton
a9c3dad75a CMake: differentiate system includes (#604) 2016-07-09 00:47:11 +09:00
Shinya Kitaoka
7abdb2380a Merge pull request #547 from ideasman42/warn-undefined-pr
Quiet -Wundef warning
2016-07-06 20:42:14 +09:00
Shinya Kitaoka
c08330d1ae Merge pull request #567 from opentoonz/cmake-cleanup-defines-pr
CMake: use multi-line defines
2016-07-06 13:56:49 +09:00
shun_iwasawa
c7aa6fbfb0 fix brush undo crash 2016-07-05 14:24:07 +09:00
Campbell Barton
f2d492861f CMake: use multi-line defines
Easier to read and avoids merge conflicts
2016-07-02 22:23:18 +10:00
Jeremy Bullock
5e3b5e8cc3 Merge branch 'master' into pixels 2016-06-30 20:57:15 -06:00
Campbell Barton
d869b5f8e6 Quiet -Wundef warning
Exposes accidental typos when checking exact values of a define.
2016-06-30 12:28:26 +10:00
Campbell Barton
f493896cc0 Cleanup: typo (sensibility) 2016-06-29 20:49:17 +10:00
Shinya Kitaoka
d1f6c4e95b REFACTORING: Add final specifiers (#537)
* add final specifiers

* apply clang-format

* fix for macOS
2016-06-29 15:17:12 +09:00
shun-iwasawa
c86c5d6189 Organizing the Tool option bar layout (#443)
* edit tool, selection tool, brush tool

* other tools

* include cmath
2016-06-27 15:22:54 +09:00
shun_iwasawa
d2802fdfc2 fix brush size shortcut 2016-06-24 18:38:47 +09:00
tomosu
965183e43c Merge pull request #475 from skitaoka/refactoring/add-override
REFACTORING: add override specifiers
2016-06-23 17:03:53 +09:00
Shinya Kitaoka
5cdb310089 Merge pull request #479 from shun-iwasawa/fix_rgbpicker
Fix RGB picker tool
2016-06-23 17:03:43 +09:00
shun_iwasawa
ca787917e0 fix rgb picker tool 2016-06-20 20:17:05 +09:00
Shinya Kitaoka
38fd868138 apply clang-format 2016-06-20 11:34:17 +09:00
Shinya Kitaoka
473e70432a add override specifier 2016-06-20 11:34:15 +09:00
Jeremy Bullock
29a430ce11 Updated for 1.0.3 2016-06-16 21:41:54 -06:00
walkerka
22f456eed6 apply clang-format. 2016-06-16 20:29:56 +08:00
walkerka
bb91cdfce5 Merge branch 'master' of https://github.com/opentoonz/opentoonz
# Conflicts:
#	toonz/sources/tnztools/brushtool.cpp
#	toonz/sources/tnztools/brushtool.h
2016-06-15 23:27:23 +08:00
Shinya Kitaoka
120a6e041c apply clang-format 2016-06-15 15:43:10 +09:00
Shinya Kitaoka
ee259ffaf7 remove duplicated constants (#296) 2016-06-13 21:37:09 +09:00
walkerka
bb2a4209f5 change max smooth value to 50 for better control. 2016-06-11 21:26:50 +08:00
walkerka
611fd32a6f added stroke stabilizer for toonz raster level. 2016-06-11 18:16:00 +08:00
walkerka
2e244a2acf added UI for stroke smooth value. 2016-06-11 10:33:39 +08:00
walkerka
54ae3222f2 Merge branch 'master' of https://github.com/opentoonz/opentoonz 2016-06-09 23:49:43 +08:00
walkerka
57fb3c27b9 WIP semi-realtime vector stroke smoothing. 2016-06-09 23:43:25 +08:00
Shinya Kitaoka
9eb50de5fe Use std functions (#297)
* use std functions

* replace toInt        to std::stoi
* replace toDouble     to std::stod
* replace toString     to std::to_string
* replace toWideString to std::to_wstring

* fix for MacOS

* cosmetic change
2016-06-07 16:06:00 +09:00
Jeremy Bullock
d0657441de Level settings now support pixels 2016-06-04 14:19:27 -06:00
Jeremy Bullock
99ca93cb90 Ruler tool now working too 2016-06-04 01:01:44 -06:00
Shinya Kitaoka
210a8af034 Use QGLWidget instead of QOpenGLWidget (#337)
* use QGLWidget instead of QOpenGLWidget for PlaneView

* fix ImageViewer and HexagonalColorWhell
2016-05-25 18:19:38 +09:00
Banbury
d26accb4e8 Added checkbox 'Global Key' to edit tool. (#300) (#308)
* Added checkbox 'Global Key' to edit tool. (#300)

The code for the global key option was still in place. The only thing missing
was the checkbox in the tool options.
2016-05-24 20:29:28 +09:00
Shinya Kitaoka
3fa3e1e9b8 Use "range-based for" instead of iterators (#339)
* use "range-based for" instead of iterators

* fix assertions
2016-05-23 17:40:49 +09:00
Shinya Kitaoka
12c444ee0d use std::min and std::max (#318) 2016-05-18 13:03:37 +09:00
Shinya Kitaoka
8105532604 add #pragma once (#303) 2016-05-17 00:04:11 +09:00
Shinya Kitaoka
1660e0d627 Fix conflicts (Remove license and edition defines and code) (#291)
* Remove license support, and old editions

Previously, old code to support various editions of Toonz, as well as
license activiation code, was cluttering the repository.
Support for LINETEST is retained.

* fix conflicts
2016-05-16 20:45:31 +09:00
Shinya Kitaoka
d4642c34e8 Remove macros: CASE, __OR, and DEFAULT (#286)
* remove syntax macros: CASE, __OR, and DEFAULT

* define VC_EXTRALEAN

* remove meaningless comments
2016-05-13 19:49:17 +09:00
Campbell Barton
f08982dd33 CMake: cleanup indentation, remove redundant endif args 2016-04-27 21:48:12 +10:00
shun_iwasawa
091edd3f55 fix pinch tool crash 2016-04-26 15:45:22 +09:00
Shinya Kitaoka
8016de0b54 add std:: 2016-04-21 17:52:56 +09:00
Keisuke Ogaki
322ff72902 Merge pull request #193 from shun-iwasawa/fix_brush_tool_crash
Fix brush tool crash
2016-04-21 16:50:56 +09:00
Shinya Kitaoka
3bfa549e8b remove "using"
- using std::string;
- using std::wstring;
- using std::ostream;
- using std::istream;
- using std::iostream;
- using std::ostrstream;
- using std::istrstream;
- using std::fstream;
2016-04-21 16:23:15 +09:00
Shinya Kitaoka
c12eacf2f3 remove #define NOMINMAX 2016-04-20 10:24:50 +09:00
Shinya Kitaoka
bb1d046db8 remove using namespace DVGui; from headers 2016-04-20 10:24:49 +09:00
Shinya Kitaoka
2148c874dd remove using namespace std; from headers 2016-04-20 10:24:48 +09:00
Shinya Kitaoka
9f5a1bd760 use _WIN32 instead of WIN32 2016-04-20 10:24:44 +09:00
shun_iwasawa
b5d548dbf0 fix showing preset name 2016-04-19 18:14:52 +09:00
shun_iwasawa
a508475413 fix brush tool crash 2016-04-18 20:24:03 +09:00
Campbell Barton
40cabe2c56 Include memory, needed for auto_ptr references 2016-04-17 15:56:16 +10:00
Shinya Kitaoka
06e491a6f7 Merge pull request #62 from ideasman42/linux-header-case-fix
Linux: Use correct upper/lower case for includes
2016-04-15 13:42:35 +09:00
Shinya Kitaoka
9c6c0f1688 Merge pull request #132 from janisozaur/parentheses
Encapsulate expressions in parentheses
2016-04-13 14:14:19 +09:00
Shinya Kitaoka
bbf7b2dac8 Merge pull request #120 from ideasman42/linux-preproc-error-fix
Use #error directive instead of explicit syntax error
2016-04-13 14:12:16 +09:00
Campbell Barton
d0e335dfee Fix include case 2016-04-12 02:58:51 +10:00
Michał Janiszewski
b1cc3ceeac Encapsulate expressions in parentheses
Some expressions appear to be confusing, adding parentheses removes
doubt in those cases.
2016-04-03 02:24:43 +02:00
Campbell Barton
42d601e918 Use #error preprocessor
We had a report (that I can't confirm), that this caused errors.
Best to use `error` here.
2016-04-01 05:19:41 +11:00
Campbell Barton
3dcf6bfa09 CMake: use tab indentation & whitespace edits 2016-03-27 14:44:29 +11:00
Arseniy Shestakov
5e9e969bb2 Fix letter case in CMakeLists.txt 2016-03-26 06:16:40 +03:00
Toshihiro Shimizu
890dddabbd first commit 2016-03-19 02:57:51 +09:00