Commit graph

376 commits

Author SHA1 Message Date
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
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
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
Keisuke Ogaki
0c8292e173 Revert "Use QOpenGLWidget instead of QGLWidget" (#350) 2016-05-23 16:19:32 +09:00
shun-iwasawa
0a9e80ffa1 Fix crash on exploding sub-xsheet (#305)
* fix crash on exploding sub xsheet

* call onselectionchanged in mousepressevent
2016-05-20 18:20:30 +09:00
Campbell Barton
5ea53c8c6b Quiet GCC -Wparentheses warning with assignment (#310) 2016-05-20 17:37:59 +09:00
Keisuke Ogaki
cd46cc8362 Fix to stop creating zero-size image (#333)
* 🐛 systemvar path should not contain revision number

* 🐛 Don't forget break after case

* 🐛 avoid creating zero size image

* 🔥 remove duplicated assertion
2016-05-20 16:42:36 +09:00
tomosu
953a4a705d Use std::unique_ptr instead of UniquePtr in plasticdeformer.cpp (#332)
* replace UniquePtr with std::unique_ptr
2016-05-20 16:18:26 +09:00
Shinya Kitaoka
dd27936d94 Use QOpenGLWidget instead of QGLWidget (#315)
* use QOpenGLWidget instead of QGLWidget for ImageViewer

* use update() instead of updateGL()

* fix doSwapBuffers

* fix HexagonalColorWheel

* fix Viewer

* support AA_ShareOpenGLContexts & AA_EnableHighDpiScaling

* check Qt version
2016-05-19 19:44:34 +09:00
shun-iwasawa
5ddd75cc52 fix magnet tool crash (#324) 2016-05-18 20:45:12 +09:00
shun-iwasawa
fc0e222c4a fix minimize raster memory fragmentation option (#322) 2016-05-18 14:37:27 +09:00
Shinya Kitaoka
12c444ee0d use std::min and std::max (#318) 2016-05-18 13:03:37 +09:00
Keisuke Ogaki
b592dbfa79 Fix creating empty level fails (#317)
* 🐛 Don't forget break after case
2016-05-18 00:51:00 +09:00
Keisuke Ogaki
71a0aa4bb0 🐛 systemvar path should not contain revision number (#316) 2016-05-17 21:38:09 +09:00
shun-iwasawa
c6c5ac3d45 Added menu item 'Toggle Edit in Place' (with small modification) (#306)
* Added menu item 'Toggle Edit in Place'.

This readds the ability to edit Sub-XSheets in place. The menu item has to be
added to the menu of a room, before it can be used.

* small modification
2016-05-17 17:46:32 +09:00
Campbell Barton
14c02ece7f Fix incorrect assignments in if statements (#311) 2016-05-17 14:28:51 +09:00
Shinya Kitaoka
8105532604 add #pragma once (#303) 2016-05-17 00:04:11 +09:00
Keisuke Ogaki
7cacbab09c Thirdpirty binaries should be ignored by git (#185)
* thirdpirty binaries are ignored by git

* 💄 fullpath for .gitignore
2016-05-16 20:56:21 +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
7be7e612c4 Fix a version text (Rewrite update check) (#290)
* Rewrite update check

Before release, the update URL will need to be changed to an official
one.

* remove syntax macros: CASE, __OR, and DEFAULT

* define VC_EXTRALEAN

* modify the URL of opentoonz-version.txt

* fix a type of updateUrl

* remove meanless comments
2016-05-16 14:16:01 +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
Keisuke Ogaki
3c21d0ab9c Cmake should be able to be run in other directories (#233)
* enable to run cmake from every directory

* enable to run cmake from every directory
2016-05-13 18:22:50 +09:00
tomosu
b5810ffd5e delete assert(is3DView()) (#289) 2016-05-12 14:45:33 +09:00
shun-iwasawa
0c0a0a798f revert onionskin on xsheet (#280) 2016-05-11 17:43:59 +09:00
tomosu
302138d7c6 add fake mouseReleaseEvent in contextMenuEvent (#285) 2016-05-11 16:45:27 +09:00
Shinya Kitaoka
42c736d27d Merge pull request #260 from ideasman42/cleanup-cmake
CMake: cleanup indentation, remove redundant endif args
2016-05-11 15:25:35 +09:00
Shinya Kitaoka
74a1b285db Merge pull request #278 from jcome/chinese
Chinese (Simplified) UI translation
2016-05-11 15:24:49 +09:00
Shinya Kitaoka
a7259791fb Merge pull request #281 from shun-iwasawa/fix_level_settings_crash
Fix crash when setting "Level Subsampling" to 0
2016-05-11 12:03:28 +09:00
Yu Chen
ac10ccfce2 Add chinese/*.qm to stuff/config/loc 2016-05-10 22:35:33 +08:00
Yu Chen
1f519fed0b Rename translation folder to chinese 2016-05-10 22:25:10 +08:00
Yu Chen
953f29211b Add chinese to build targets 2016-05-10 22:23:42 +08:00
shun_iwasawa
a81a8b2bce fix level settings crash 2016-05-10 19:24:33 +09:00