Commit graph

613 commits

Author SHA1 Message Date
shun-iwasawa
144f54c241 show pinned center keys on xsheet (#369) 2016-06-14 17:15:54 +09:00
JosefMeixner
e932c2e9b3 Handle more then 3 peg holes (#314)
* When there are more then 3 peg holes create additional holes.

* When a hole touches the boundary it should still be considered a hole.

* Do not compare dot size against fixed size. Will not work in some scan resolutions. Used the same value (PERCENT * max dot size) as later in the code in compare_dots.

* When there are more than three peg holes the code looked for the best fit and used that. The problem was, that the middle hole was used as center for auto center. For three peg holes that is correct, but does not work for more than three. Now the best fit is calculated and from there the offset of the middle of the three best fit holes is calculated and applied.

* Changed the type of a variable, missed that when I changed the usage of the variable.
2016-06-14 16:18:10 +09:00
tomosu
eea0acf6fa Use stringstream instead of strstream (#431)
* replace strstream with string stream

* all change

Signed-off-by: tomosu <tomosu@users.noreply.github.com>

* small changes
2016-06-13 21:50:05 +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
48c885e1f1 update translation of Chinese & Japanese. 2016-06-11 20:12:39 +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
Jeremy Bullock
c3ae24862e Right Click menu action 2016-06-09 22:04:22 -06:00
Jeremy Bullock
eccbe0c583 Toggle Shortcut 2016-06-09 22:02:48 -06: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
tomosu
5162807399 use stringstream instead og strstream (#398) 2016-06-09 12:45:20 +09:00
turtletooth
52e40735cb Fixed project chooser not working and added default folders (#394) 2016-06-08 23:19:52 +09:00
shun-iwasawa
99b9e225b0 enable debug build (#421) 2016-06-08 17:51:40 +09:00
shun-iwasawa
6b7c9c5724 New option to retain original styles when loading color model's palette (#407)
* make "append default palette" to be optional

* new option for loading raster img to color model

* remove unused sources

* add japanese translations
2016-06-07 18:43:49 +09:00
turtletooth
eea771b641 Fixed farm room not showing up in default rooms (#399) 2016-06-07 18:00:04 +09:00
turtletooth
1526ec939f Changed default resolution to 1920 x 1080 (#385)
* Changed default resolution

* Resizes view to fit the window on the first time it is shown only.  Otherwise new resolution may seem too big.
2016-06-07 17:46:11 +09:00
Banbury
09a48e32a3 Fix: Allow negative frame id in scene.setCell (scripting). (#345)
This fix is necessary for creating animations in Javascript from raster images
with only one frame. For this Opentoonz expects a frame id of -2.
A frame id of -1 is an empty frame.
The original implementation onyl allows positive numbers.
2016-06-07 17:19:18 +09: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
9230b7edb9 Fixed bug where unmaximizing sometimes made other panels appear blank 2016-06-06 00:16:21 -06:00
Jeremy Bullock
9a725975de Maximize an entire room works now too. 2016-06-05 15:11:18 -06:00
Jeremy Bullock
d07b20fdf6 Maximize Pane where mouse is with ` 2016-06-05 00:31:00 -06:00
Jeremy Bullock
d0657441de Level settings now support pixels 2016-06-04 14:19:27 -06:00
Xelloss
e8f2ba66f1 Update toonzqt.ts 2016-06-05 00:16:34 +08:00
Xelloss
6b544330b9 Update colorfx.ts 2016-06-04 23:41:16 +08:00
Jeremy Bullock
99ca93cb90 Ruler tool now working too 2016-06-04 01:01:44 -06:00
Jeremy Bullock
96eb784d28 Adds pixels as an option to the preferences. 2016-06-03 23:06:56 -06:00
Jeremy Bullock
b37830bb62 Toonz Palettes folder now working and has 3 starter palettes 2016-06-02 20:51:51 -06:00
shun-iwasawa
5b3c7c4325 Refresh the current folder items of the File Browser automatically (#376)
* refresh file browser items automatically

* monitor directory tree

* remove refresh button

* add a new folder to monitored paths
2016-06-02 20:55:00 +09:00
tomosu
e5f7d89527 Keep the consistency of mesh image addr, after save operation (#380)
* change MESH_XSHLEVEL to be isImageCompatible true

* add comment and split comparison operator return into true and false
2016-06-02 20:37:45 +09:00
turtletooth
8d9ba3307e Rooms Selection (#378)
* Start of room choice in preferences

* Menu almost working

* Rooms Selection Working

* Removed unneeded preferences file

* Default Name for Rooms

* Rename Default room folder

* Fixed Reset to Default Rooms to reset current Roomset
2016-06-02 20:36:29 +09:00
shun-iwasawa
28b077c7c6 Merge pull request #390 from kogaki/fix/less_32bit_dependencies
Fix not to crash on 32bit modules because of lack of dependencies
2016-06-02 20:31:36 +09:00
Keisuke Ogaki
e6172ddf26 x64 or LP64 2016-06-02 19:28:29 +09:00
Keisuke Ogaki
876ca8276d fit to enable to compile 32bit modules 2016-06-02 16:13:45 +09:00
Keisuke Ogaki
8324720308 bugfix: less 32bit dependencies 2016-06-02 15:20:56 +09:00
Gabriel Gazzán
4544a4f679 Spanish translation - [100%] 2016-06-01 00:46:28 -03:00
shun-iwasawa
5df182a862 fix memo's text color (#371) 2016-05-27 14:49:51 +09:00
Shinya Kitaoka
822411ba0e Support German translation (#363)
German translations

* Added files via upload

First translation draft. Corrections need to be made with actual in hand program

* Added files via upload

* Japanese characters

正方ピクセルを保持 -> Force Squared Pixel translated as "Quadratische Pixel erzwingen"

* Small spelling error

Blur value ->Weichheitsgrad

* add loc/german/*.qm

* modify loc dir names to their local script

* fixup! update loc/*/*.qm

* fix "Sensitivity"
2016-05-27 14:27:54 +09:00
Banbury
62cd4e872c Fix: level strip width is wrong when you start open toonz (#334) (#357)
On the creation the docking panel of the level strip was assigned a minimum
width. This has no effect, but making the docking panel too big, because the
size of the underlying controls hasn't been calculated at this point.
Removing the line fixes the issue with the level strip size, without affecting
the docking window otherwise.
2016-05-26 13:58:23 +09: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
turtletooth
9781a83614 Translation Correction (#347) 2016-05-25 18:03:16 +09:00
JosefMeixner
8990b29cb4 Do not attempt to clone a palette when it is NULL. (#354)
When a scanned strip was cleaned up and then without storing the scene cleaned up again and the query to overwrite the old files was answered with overwrite all, the program crashed.
2016-05-25 18:01:58 +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
shun-iwasawa
57d083b710 Merge pull request #355 from kogaki/fix/layer_name_encoding
Fix to load .psd layers encoded in various codings
2016-05-24 17:20:25 +09:00
Keisuke Ogaki
5ff9a72ca5 get layer name encoding from preference 2016-05-24 16:26:30 +09:00
Keisuke Ogaki
8b06ffc4e3 💄 force encoding in SJIS for psd layer name 2016-05-24 15:11:55 +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
ba547e17d0 Reduce crashes on start-up (#340)
* reduce startup-crush problems

* fix error codes

* fixup! fix error codes
2016-05-23 16:46:06 +09:00
turtletooth
bc1f437e8a Added a desktop icon to the file browser (#348)
* Added Desktop to file browser dialog

* fixed desktop icon not appearing
2016-05-23 16:44:39 +09:00