Showing with 3,310 additions and 2,618 deletions.
  1. +1 −1 appveyor.yml
  2. BIN stuff/config/loc/Español/colorfx.qm
  3. BIN stuff/config/loc/Español/image.qm
  4. BIN stuff/config/loc/Español/tnzcore.qm
  5. BIN stuff/config/loc/Español/tnztools.qm
  6. BIN stuff/config/loc/Español/toonz.qm
  7. BIN stuff/config/loc/Español/toonzlib.qm
  8. BIN stuff/config/loc/Español/toonzqt.qm
  9. BIN stuff/config/loc/中文/image.qm
  10. BIN stuff/config/loc/中文/tnzcore.qm
  11. BIN stuff/config/loc/中文/tnztools.qm
  12. BIN stuff/config/loc/中文/toonz.qm
  13. BIN stuff/config/loc/中文/toonzlib.qm
  14. BIN stuff/config/loc/中文/toonzqt.qm
  15. BIN stuff/config/loc/日本語/image.qm
  16. BIN stuff/config/loc/日本語/tnztools.qm
  17. BIN stuff/config/loc/日本語/toonz.qm
  18. BIN stuff/config/loc/日本語/toonzlib.qm
  19. BIN stuff/config/loc/日本語/toonzqt.qm
  20. BIN stuff/config/loc/한국어/colorfx.qm
  21. BIN stuff/config/loc/한국어/image.qm
  22. BIN stuff/config/loc/한국어/tnzcore.qm
  23. BIN stuff/config/loc/한국어/tnztools.qm
  24. BIN stuff/config/loc/한국어/toonz.qm
  25. BIN stuff/config/loc/한국어/toonzlib.qm
  26. BIN stuff/config/loc/한국어/toonzqt.qm
  27. +2 −0 stuff/config/qss/Blue/Blue.qss
  28. +2 −0 stuff/config/qss/Dark/Dark.qss
  29. +2 −0 stuff/config/qss/Default/Default.qss
  30. +2 −0 stuff/config/qss/Default/less/Default.less
  31. +2 −0 stuff/config/qss/Default/less/layouts/xsheet.less
  32. +8 −2 stuff/config/qss/Default/less/themes/Light.less
  33. +2 −0 stuff/config/qss/Default/less/themes/Neutral.less
  34. +6 −4 stuff/config/qss/Light/Light.qss
  35. +2 −0 stuff/config/qss/Neutral/Neutral.qss
  36. +8 −7 stuff/profiles/layouts/rooms/Default/room1.ini
  37. +9 −7 stuff/profiles/layouts/rooms/Default/room3.ini
  38. +7 −6 stuff/profiles/layouts/rooms/Default/room4.ini
  39. +8 −7 stuff/profiles/layouts/rooms/Default/room5.ini
  40. +6 −5 stuff/profiles/layouts/rooms/Default/room6.ini
  41. +4 −3 stuff/profiles/layouts/rooms/Default/room7.ini
  42. +1 −1 stuff/profiles/layouts/rooms/Default/room8.ini
  43. +2 −2 stuff/profiles/layouts/rooms/Default/room9.ini
  44. +2 −2 toonz/cmake/BundleInfo.plist.in
  45. +12 −13 toonz/sources/common/psdlib/psd.cpp
  46. +16 −34 toonz/sources/common/tfx/ttzpimagefx.cpp
  47. +29 −5 toonz/sources/common/tvrender/tsimplecolorstyles.cpp
  48. +4 −1 toonz/sources/common/tvrender/tstrokeprop.cpp
  49. +6 −3 toonz/sources/include/tools/stylepicker.h
  50. +4 −1 toonz/sources/include/tools/tool.h
  51. +3 −0 toonz/sources/include/toonz/preferences.h
  52. +1 −0 toonz/sources/include/toonz/preferencesitemids.h
  53. +3 −0 toonz/sources/include/toonz/sceneproperties.h
  54. +1 −0 toonz/sources/include/toonzqt/glwidget_for_highdpi.h
  55. +1 −1 toonz/sources/include/toonzqt/gutil.h
  56. +2 −0 toonz/sources/include/toonzqt/swatchviewer.h
  57. +16 −1 toonz/sources/include/tsimplecolorstyles.h
  58. +1 −1 toonz/sources/include/tversion.h
  59. +8 −0 toonz/sources/stdfx/artcontourfx.cpp
  60. +7 −0 toonz/sources/stdfx/iwa_tilefx.cpp
  61. +12 −9 toonz/sources/stdfx/particlesengine.cpp
  62. +1 −1 toonz/sources/stdfx/rgbkeyfx.cpp
  63. +8 −1 toonz/sources/stdfx/tilefx.cpp
  64. +5 −2 toonz/sources/tnzbase/trasterfx.cpp
  65. +1 −1 toonz/sources/tnztools/edittool.cpp
  66. +9 −9 toonz/sources/tnztools/edittoolgadgets.cpp
  67. +2 −0 toonz/sources/tnztools/edittoolgadgets.h
  68. +1 −1 toonz/sources/tnztools/filltool.cpp
  69. +1 −1 toonz/sources/tnztools/fingertool.cpp
  70. +1 −1 toonz/sources/tnztools/hookselection.cpp
  71. +4 −4 toonz/sources/tnztools/rgbpickertool.cpp
  72. +5 −1 toonz/sources/tnztools/shifttracetool.cpp
  73. +6 −5 toonz/sources/tnztools/stylepicker.cpp
  74. +3 −3 toonz/sources/tnztools/stylepickertool.cpp
  75. +6 −5 toonz/sources/tnztools/toolutils.cpp
  76. +1 −1 toonz/sources/toonz/CMakeLists.txt
  77. +1 −1 toonz/sources/toonz/cameracapturelevelcontrol.cpp
  78. +1 −1 toonz/sources/toonz/cameracapturelevelcontrol_qt.cpp
  79. +3 −3 toonz/sources/toonz/canvassizepopup.cpp
  80. +1 −1 toonz/sources/toonz/cleanuppopup.cpp
  81. +5 −3 toonz/sources/toonz/colormodelviewer.cpp
  82. +9 −12 toonz/sources/toonz/comboviewerpane.cpp
  83. +5 −4 toonz/sources/toonz/filebrowsermodel.cpp
  84. +2 −2 toonz/sources/toonz/flipbook.cpp
  85. +2 −2 toonz/sources/toonz/imageviewer.cpp
  86. +9 −1 toonz/sources/toonz/iocommand.cpp
  87. +5 −3 toonz/sources/toonz/main.cpp
  88. +3 −3 toonz/sources/toonz/mainwindow.cpp
  89. +8 −1 toonz/sources/toonz/preferencespopup.cpp
  90. +8 −8 toonz/sources/toonz/ruler.cpp
  91. +12 −1 toonz/sources/toonz/sceneviewer.cpp
  92. +8 −0 toonz/sources/toonz/sceneviewerevents.cpp
  93. +4 −4 toonz/sources/toonz/subcameramanager.cpp
  94. +240 −140 toonz/sources/toonz/xshcolumnviewer.cpp
  95. +12 −4 toonz/sources/toonz/xshcolumnviewer.h
  96. +7 −1 toonz/sources/toonz/xsheetviewer.cpp
  97. +13 −0 toonz/sources/toonz/xsheetviewer.h
  98. +15 −14 toonz/sources/toonzfarm/tfarmcontroller/tfarmcontroller.cpp
  99. +1 −1 toonz/sources/toonzlib/plasticdeformerfx.cpp
  100. +2 −0 toonz/sources/toonzlib/preferences.cpp
  101. +17 −21 toonz/sources/toonzlib/sceneproperties.cpp
  102. +4 −0 toonz/sources/toonzlib/tcolumnfx.cpp
  103. +7 −6 toonz/sources/toonzqt/addfxcontextmenu.cpp
  104. +0 −5 toonz/sources/toonzqt/functionpanel.cpp
  105. +34 −22 toonz/sources/toonzqt/fxschematicnode.cpp
  106. +43 −5 toonz/sources/toonzqt/gutil.cpp
  107. +32 −35 toonz/sources/toonzqt/schematicnode.cpp
  108. +15 −14 toonz/sources/toonzqt/schematicviewer.cpp
  109. +13 −18 toonz/sources/toonzqt/stageschematicnode.cpp
  110. +32 −23 toonz/sources/toonzqt/swatchviewer.cpp
  111. +48 −48 toonz/sources/translations/chinese/image.ts
  112. +6 −6 toonz/sources/translations/chinese/tnztools.ts
  113. +431 −382 toonz/sources/translations/chinese/toonz.ts
  114. +11 −11 toonz/sources/translations/chinese/toonzlib.ts
  115. +85 −61 toonz/sources/translations/chinese/toonzqt.ts
  116. +17 −17 toonz/sources/translations/czech/image.ts
  117. +6 −6 toonz/sources/translations/czech/tnzcore.ts
  118. +1 −1 toonz/sources/translations/czech/tnztools.ts
  119. +11 −0 toonz/sources/translations/czech/toonz.ts
  120. +12 −12 toonz/sources/translations/czech/toonzlib.ts
  121. +123 −95 toonz/sources/translations/czech/toonzqt.ts
  122. +7 −0 toonz/sources/translations/french/toonz.ts
  123. +17 −17 toonz/sources/translations/german/image.ts
  124. +12 −1 toonz/sources/translations/german/toonz.ts
  125. +23 −0 toonz/sources/translations/german/toonzqt.ts
  126. +17 −17 toonz/sources/translations/italian/image.ts
  127. +12 −1 toonz/sources/translations/italian/toonz.ts
  128. +23 −0 toonz/sources/translations/italian/toonzqt.ts
  129. +45 −45 toonz/sources/translations/japanese/image.ts
  130. +3 −3 toonz/sources/translations/japanese/tnztools.ts
  131. +213 −169 toonz/sources/translations/japanese/toonz.ts
  132. +9 −9 toonz/sources/translations/japanese/toonzlib.ts
  133. +62 −39 toonz/sources/translations/japanese/toonzqt.ts
  134. +34 −34 toonz/sources/translations/korean/image.ts
  135. +3 −3 toonz/sources/translations/korean/tnztools.ts
  136. +237 −232 toonz/sources/translations/korean/toonz.ts
  137. +11 −11 toonz/sources/translations/korean/toonzlib.ts
  138. +68 −66 toonz/sources/translations/korean/toonzqt.ts
  139. +17 −17 toonz/sources/translations/russian/image.ts
  140. +6 −6 toonz/sources/translations/russian/tnzcore.ts
  141. +1 −1 toonz/sources/translations/russian/tnztools.ts
  142. +323 −310 toonz/sources/translations/russian/toonz.ts
  143. +12 −12 toonz/sources/translations/russian/toonzlib.ts
  144. +123 −95 toonz/sources/translations/russian/toonzqt.ts
  145. +46 −45 toonz/sources/translations/spanish/image.ts
  146. +4 −4 toonz/sources/translations/spanish/tnztools.ts
  147. +315 −267 toonz/sources/translations/spanish/toonz.ts
  148. +13 −13 toonz/sources/translations/spanish/toonzlib.ts
  149. +73 −50 toonz/sources/translations/spanish/toonzqt.ts
  150. +1 −1 toonz/sources/xdg-data/io.github.OpenToonz.appdata.xml
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1.5.0.{build}
version: 1.6.0.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
Expand Down
Binary file modified stuff/config/loc/Español/colorfx.qm
Binary file not shown.
Binary file modified stuff/config/loc/Español/image.qm
Binary file not shown.
Binary file modified stuff/config/loc/Español/tnzcore.qm
Binary file not shown.
Binary file modified stuff/config/loc/Español/tnztools.qm
Binary file not shown.
Binary file modified stuff/config/loc/Español/toonz.qm
Binary file not shown.
Binary file modified stuff/config/loc/Español/toonzlib.qm
Binary file not shown.
Binary file modified stuff/config/loc/Español/toonzqt.qm
Binary file not shown.
Binary file modified stuff/config/loc/中文/image.qm
Binary file not shown.
Binary file modified stuff/config/loc/中文/tnzcore.qm
Binary file not shown.
Binary file modified stuff/config/loc/中文/tnztools.qm
Binary file not shown.
Binary file modified stuff/config/loc/中文/toonz.qm
Binary file not shown.
Binary file modified stuff/config/loc/中文/toonzlib.qm
Binary file not shown.
Binary file modified stuff/config/loc/中文/toonzqt.qm
Binary file not shown.
Binary file modified stuff/config/loc/日本語/image.qm
Binary file not shown.
Binary file modified stuff/config/loc/日本語/tnztools.qm
Binary file not shown.
Binary file modified stuff/config/loc/日本語/toonz.qm
Binary file not shown.
Binary file modified stuff/config/loc/日本語/toonzlib.qm
Binary file not shown.
Binary file modified stuff/config/loc/日本語/toonzqt.qm
Binary file not shown.
Binary file modified stuff/config/loc/한국어/colorfx.qm
Binary file not shown.
Binary file modified stuff/config/loc/한국어/image.qm
Binary file not shown.
Binary file modified stuff/config/loc/한국어/tnzcore.qm
Binary file not shown.
Binary file modified stuff/config/loc/한국어/tnztools.qm
Binary file not shown.
Binary file modified stuff/config/loc/한국어/toonz.qm
Binary file not shown.
Binary file modified stuff/config/loc/한국어/toonzlib.qm
Binary file not shown.
Binary file modified stuff/config/loc/한국어/toonzqt.qm
Binary file not shown.
2 changes: 2 additions & 0 deletions stuff/config/qss/Blue/Blue.qss
Original file line number Diff line number Diff line change
Expand Up @@ -2309,6 +2309,8 @@ XsheetViewer {
qproperty-LightBGColor: #eaebec;
qproperty-DarkBGColor: #dbdcdd;
qproperty-DarkLineColor: #8e9194;
qproperty-TableColor: #62628c;
qproperty-PegColor: #9f6e3c;
qproperty-TimelineIconLineColor: rgba(0, 0, 0, 0.3);
qproperty-XsheetColumnNameBgColor: rgba(0, 0, 0, 0);
qproperty-XsheetDragBarHighlightColor: rgba(255, 255, 255, 0.15);
Expand Down
2 changes: 2 additions & 0 deletions stuff/config/qss/Dark/Dark.qss
Original file line number Diff line number Diff line change
Expand Up @@ -2309,6 +2309,8 @@ XsheetViewer {
qproperty-LightBGColor: #d8d8d8;
qproperty-DarkBGColor: #c9c9c9;
qproperty-DarkLineColor: #7e7e7e;
qproperty-TableColor: #62628c;
qproperty-PegColor: #9f6e3c;
qproperty-TimelineIconLineColor: rgba(0, 0, 0, 0.4);
qproperty-XsheetColumnNameBgColor: rgba(0, 0, 0, 0);
qproperty-XsheetDragBarHighlightColor: rgba(255, 255, 255, 0.15);
Expand Down
2 changes: 2 additions & 0 deletions stuff/config/qss/Default/Default.qss
Original file line number Diff line number Diff line change
Expand Up @@ -2309,6 +2309,8 @@ XsheetViewer {
qproperty-LightBGColor: #f0f0f0;
qproperty-DarkBGColor: #e1e1e1;
qproperty-DarkLineColor: #969696;
qproperty-TableColor: #62628c;
qproperty-PegColor: #9f6e3c;
qproperty-TimelineIconLineColor: rgba(0, 0, 0, 0.3);
qproperty-XsheetColumnNameBgColor: rgba(0, 0, 0, 0);
qproperty-XsheetDragBarHighlightColor: rgba(255, 255, 255, 0.15);
Expand Down
2 changes: 2 additions & 0 deletions stuff/config/qss/Default/less/Default.less
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@
@xsheet-SoundPreviewTool-color: darken(@xsheet-SoundColumnTrack-color, 20);
@xsheet-ActiveCamera-color: #4073a3;
@xsheet-OtherCamera-color: #5e9aa3;
@xsheet-Table-color: #62628c;
@xsheet-Peg-color: #9f6e3c;

// Orientation: XSheet
@xsheet-ColumnNameBg-color: rgba(0, 0, 0, 0);
Expand Down
2 changes: 2 additions & 0 deletions stuff/config/qss/Default/less/layouts/xsheet.less
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ XsheetViewer {
qproperty-DarkBGColor: @xsheet-DarkBG-color;
qproperty-DarkLineColor: @xsheet-DarkLine-color;

qproperty-TableColor: @xsheet-Table-color;
qproperty-PegColor: @xsheet-Peg-color;
// Column Header: Vertical
qproperty-TimelineIconLineColor: @timeline-IconLine-color;
qproperty-XsheetColumnNameBgColor: @xsheet-ColumnNameBg-color;
Expand Down
10 changes: 8 additions & 2 deletions stuff/config/qss/Default/less/themes/Light.less
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,10 @@
@xsheet-MeshColumn-color: #b8a2cf;
@xsheet-SoundColumn-color: #aad6d6;
@xsheet-SoundTextColumn-color: #c2c2c2;
@xsheet-ActiveCamera-color: #79b5ee;
@xsheet-OtherCamera-color: #6eb7c2;
@xsheet-ActiveCamera-color: #b7dbfc;
@xsheet-OtherCamera-color: #9ad9e2;
@xsheet-Table-color: #cbcbe4;
@xsheet-Peg-color: #dfb081;

// Orientation: Timeline
@timeline-IconLine-color: rgba(0, 0, 0, 0.144);
Expand All @@ -222,6 +224,10 @@

// Node Viewer
@schematic-viewer-bg-color: rgb(128, 128, 128);
@schematic-ActiveCameraColor: #79b5ee;
@schematic-OtherCameraColor: #6eb7c2;
@schematic-ActiveOutputcolor: @schematic-ActiveCameraColor;
@schematic-OtherOutputcolor: @schematic-OtherCameraColor;

// Node Type Colors Adjustment
@nodeLightness: 15;
Expand Down
2 changes: 2 additions & 0 deletions stuff/config/qss/Default/less/themes/Neutral.less
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@
@xsheet-SoundColumnTrack-color: rgba(0,0,0,0.8);
@xsheet-ActiveCamera-color: rgb(100, 145, 190);
@xsheet-OtherCamera-color: rgb(143, 156, 158);
@xsheet-Table-color: #a4a4bf;
@xsheet-Peg-color: #be8a56;

// Timeline
@timeline-FrameRangeMarkerLine-color: darken(@bg, 15);
Expand Down
10 changes: 6 additions & 4 deletions stuff/config/qss/Light/Light.qss
Original file line number Diff line number Diff line change
Expand Up @@ -2301,14 +2301,16 @@ XsheetViewer {
qproperty-SelectedSoundColumnColor: #9bc1c7;
qproperty-SoundColumnHlColor: #f5ffe6;
qproperty-SoundColumnTrackColor: rgba(0, 0, 0, 0.8);
qproperty-ActiveCameraColor: #79b5ee;
qproperty-SelectedActiveCameraColor: #79aad8;
qproperty-OtherCameraColor: #6eb7c2;
qproperty-SelectedOtherCameraColor: #71abb9;
qproperty-ActiveCameraColor: #b7dbfc;
qproperty-SelectedActiveCameraColor: #a4c4e1;
qproperty-OtherCameraColor: #9ad9e2;
qproperty-SelectedOtherCameraColor: #90c3cf;
qproperty-LightLightBGColor: #c2c2c2;
qproperty-LightBGColor: #ffffff;
qproperty-DarkBGColor: #ffffff;
qproperty-DarkLineColor: #ffffff;
qproperty-TableColor: #cbcbe4;
qproperty-PegColor: #dfb081;
qproperty-TimelineIconLineColor: rgba(0, 0, 0, 0.144);
qproperty-XsheetColumnNameBgColor: rgba(0, 0, 0, 0);
qproperty-XsheetDragBarHighlightColor: rgba(255, 255, 255, 0.15);
Expand Down
2 changes: 2 additions & 0 deletions stuff/config/qss/Neutral/Neutral.qss
Original file line number Diff line number Diff line change
Expand Up @@ -2309,6 +2309,8 @@ XsheetViewer {
qproperty-LightBGColor: #ffffff;
qproperty-DarkBGColor: #ffffff;
qproperty-DarkLineColor: #cecece;
qproperty-TableColor: #a4a4bf;
qproperty-PegColor: #be8a56;
qproperty-TimelineIconLineColor: rgba(0, 0, 0, 0.3);
qproperty-XsheetColumnNameBgColor: rgba(0, 0, 0, 0);
qproperty-XsheetDragBarHighlightColor: rgba(255, 255, 255, 0.15);
Expand Down
15 changes: 8 additions & 7 deletions stuff/profiles/layouts/rooms/Default/room1.ini
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
[room]
pane_0\name=ToolBar
pane_0\geometry=@Rect(0 30 34 668)
pane_0\geometry=@Rect(0 30 34 965)
pane_1\name=FilmStrip
pane_1\geometry=@Rect(1156 30 124 510)
pane_1\geometry=@Rect(1796 30 124 720)
pane_1\vertical=1
pane_1\showCombo=1
pane_1\navigator=1
pane_2\name=ToolOptions
pane_2\geometry=@Rect(0 0 1280 26)
pane_2\geometry=@Rect(0 0 1920 26)
pane_3\name=LevelPalette
pane_3\geometry=@Rect(790 377 362 163)
pane_3\geometry=@Rect(1452 482 340 268)
pane_3\toolbarOnTop=0
pane_3\viewtype=0
pane_4\name=StyleEditor
pane_4\geometry=@Rect(790 30 362 343)
pane_4\geometry=@Rect(1452 30 340 448)
pane_4\isVertical=true
pane_4\visibleParts=7
pane_4\splitterState=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1]\0\0\0\x62\x1\xff\xff\xff\xff\x1\0\0\0\x2\0)
pane_5\name=Timeline
pane_5\geometry=@Rect(38 544 1242 154)
pane_5\geometry=@Rect(38 754 1882 241)
pane_5\orientation=LeftToRight
pane_5\frameZoomFactor=60
pane_6\name=SceneViewer
pane_6\geometry=@Rect(38 30 748 510)
pane_6\geometry=@Rect(38 30 1410 720)
pane_6\visibleParts=5
hierarchy="-1 1 [ 2 [ 0 [ [ 6 [ 4 3 ] 1 ] 5 ] ] ] "
name=Drawing
16 changes: 9 additions & 7 deletions stuff/profiles/layouts/rooms/Default/room3.ini
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
[room]
pane_0\name=ToolBar
pane_0\geometry=@Rect(0 30 34 668)
pane_0\geometry=@Rect(0 30 34 965)
pane_1\name=ToolOptions
pane_1\geometry=@Rect(0 0 1280 26)
pane_1\geometry=@Rect(0 0 1920 26)
pane_2\name=Xsheet
pane_2\geometry=@Rect(334 479 734 219)
pane_2\geometry=@Rect(547 628 948 367)
pane_2\orientation=TopToBottom
pane_2\frameZoomFactor=100
pane_3\name=LevelPalette
pane_3\geometry=@Rect(38 479 292 219)
pane_3\geometry=@Rect(38 628 505 367)
pane_3\toolbarOnTop=0
pane_3\viewtype=2
pane_4\name=StyleEditor
pane_4\geometry=@Rect(38 30 611 445)
pane_4\geometry=@Rect(38 30 312 594)
pane_4\isVertical=true
pane_4\visibleParts=15
pane_4\splitterState=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xf4\0\0\0\xf5\x1\xff\xff\xff\xff\x1\0\0\0\x2\0)
pane_5\name=StudioPalette
pane_5\geometry=@Rect(1072 479 208 219)
pane_5\geometry=@Rect(1499 628 421 367)
pane_5\toolbarOnTop=0
pane_5\viewtype=1
pane_6\name=SceneViewer
pane_6\geometry=@Rect(653 30 627 445)
pane_6\geometry=@Rect(354 30 1566 594)
pane_6\visibleParts=5
hierarchy="-1 1 [ 1 [ 0 [ [ 4 6 ] [ 3 2 5 ] ] ] ] "
name=Palette
13 changes: 7 additions & 6 deletions stuff/profiles/layouts/rooms/Default/room4.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
[room]
pane_0\name=FilmStrip
pane_0\geometry=@Rect(1156 30 124 668)
pane_0\geometry=@Rect(1797 30 123 965)
pane_0\vertical=1
pane_0\showCombo=1
pane_0\navigator=1
pane_1\name=LevelPalette
pane_1\geometry=@Rect(927 470 225 228)
pane_1\geometry=@Rect(1489 619 304 376)
pane_1\toolbarOnTop=0
pane_1\viewtype=1
pane_2\name=ToolBar
pane_2\geometry=@Rect(0 30 34 668)
pane_2\geometry=@Rect(0 30 34 965)
pane_3\name=ToolOptions
pane_3\geometry=@Rect(0 0 1280 26)
pane_3\geometry=@Rect(0 0 1920 26)
pane_4\name=ColorModel
pane_4\geometry=@Rect(927 30 225 436)
pane_4\geometry=@Rect(1489 30 304 585)
pane_5\name=SceneViewer
pane_5\geometry=@Rect(38 30 885 668)
pane_5\geometry=@Rect(38 30 1447 965)
pane_5\visibleParts=5
hierarchy="-1 1 [ 3 [ 2 5 [ 4 1 ] 0 ] ] "
name=InknPaint
15 changes: 8 additions & 7 deletions stuff/profiles/layouts/rooms/Default/room5.ini
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
[room]
pane_0\name=Xsheet
pane_0\geometry=@Rect(801 30 351 402)
pane_0\geometry=@Rect(1121 30 681 551)
pane_0\orientation=TopToBottom
pane_0\frameZoomFactor=100
pane_1\name=ToolBar
pane_1\geometry=@Rect(0 30 34 668)
pane_1\geometry=@Rect(0 30 34 965)
pane_2\name=ToolOptions
pane_2\geometry=@Rect(0 0 1280 26)
pane_2\geometry=@Rect(0 0 1920 26)
pane_3\name=Schematic
pane_3\geometry=@Rect(801 436 479 262)
pane_3\geometry=@Rect(1121 585 799 410)
pane_3\viewtype=1
pane_4\name=FunctionEditor
pane_4\geometry=@Rect(38 435 759 263)
pane_4\geometry=@Rect(38 584 1079 411)
pane_4\toggleStatus=0
pane_4\showIbtwnValuesInSheet=true
pane_4\syncSize=true
pane_5\name=FilmStrip
pane_5\geometry=@Rect(1156 30 124 402)
pane_5\geometry=@Rect(1806 30 114 551)
pane_5\vertical=1
pane_5\showCombo=1
pane_5\navigator=1
pane_6\name=SceneViewer
pane_6\geometry=@Rect(38 30 759 401)
pane_6\geometry=@Rect(38 30 1079 550)
pane_6\visibleParts=5
hierarchy="-1 1 [ 2 [ 1 [ 6 4 ] [ [ 0 5 ] 3 ] ] ] "
name=Animation
11 changes: 6 additions & 5 deletions stuff/profiles/layouts/rooms/Default/room6.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
[room]
pane_0\name=ToolOptions
pane_0\geometry=@Rect(0 0 1280 26)
pane_0\geometry=@Rect(0 0 1920 26)
pane_1\name=FunctionEditor
pane_1\geometry=@Rect(859 30 421 668)
pane_1\geometry=@Rect(1180 30 740 965)
pane_1\toggleStatus=0
pane_1\showIbtwnValuesInSheet=true
pane_1\syncSize=true
pane_2\name=Schematic
pane_2\geometry=@Rect(38 347 817 351)
pane_2\geometry=@Rect(38 496 1138 499)
pane_2\viewtype=0
pane_3\name=ToolBar
pane_3\geometry=@Rect(0 30 34 668)
pane_3\geometry=@Rect(0 30 34 965)
pane_4\name=SceneViewer
pane_4\geometry=@Rect(38 30 817 313)
pane_4\geometry=@Rect(38 30 1138 462)
pane_4\visibleParts=5
hierarchy="-1 1 [ 0 [ 3 [ 4 2 ] 1 ] ] "
name=Schematic
7 changes: 4 additions & 3 deletions stuff/profiles/layouts/rooms/Default/room7.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
[room]
pane_0\name=Xsheet
pane_0\geometry=@Rect(0 0 730 698)
pane_0\geometry=@Rect(0 0 1050 995)
pane_0\orientation=TopToBottom
pane_0\frameZoomFactor=100
pane_1\name=FunctionEditor
pane_1\geometry=@Rect(734 345 546 353)
pane_1\geometry=@Rect(1054 494 866 501)
pane_1\toggleStatus=0
pane_1\showIbtwnValuesInSheet=true
pane_1\syncSize=true
pane_2\name=SceneViewer
pane_2\geometry=@Rect(734 0 546 341)
pane_2\geometry=@Rect(1054 0 866 490)
pane_2\visibleParts=5
hierarchy="-1 0 [ 0 [ 2 1 ] ] "
name=Xsheet
2 changes: 1 addition & 1 deletion stuff/profiles/layouts/rooms/Default/room8.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[room]
pane_0\name=Tasks
pane_0\geometry=@Rect(0 0 1280 698)
pane_0\geometry=@Rect(0 0 1920 995)
hierarchy="-1 0 0 "
name=Tasks
4 changes: 2 additions & 2 deletions stuff/profiles/layouts/rooms/Default/room9.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[room]
pane_0\name=Browser
pane_0\geometry=@Rect(0 0 1280 356)
pane_0\geometry=@Rect(0 0 1920 505)
pane_1\name=SceneCast
pane_1\geometry=@Rect(0 360 1280 338)
pane_1\geometry=@Rect(0 509 1920 486)
hierarchy="-1 1 [ 0 1 ] "
name=Browser
4 changes: 2 additions & 2 deletions toonz/cmake/BundleInfo.plist.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.5.0</string>
<string>1.6.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.5</string>
<string>1.6</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
Expand Down
25 changes: 12 additions & 13 deletions toonz/sources/common/psdlib/psd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ bool TPSDReader::doImageResources() {
hresd = FIXDPI(hres = read4Bytes(m_file));
read2Bytes(m_file);
read2Bytes(m_file);
vresd = FIXDPI(vres = read4Bytes(m_file));
vresd = FIXDPI(vres = read4Bytes(m_file));
m_headerInfo.vres = vresd;
m_headerInfo.hres = hresd;
fseek(m_file, savepos, SEEK_SET);
Expand Down Expand Up @@ -248,7 +248,7 @@ bool TPSDReader::readLayerInfo(int i) {
fseek(m_file, 6 * li->channels + 12, SEEK_CUR);
skipBlock(m_file); // skip "layer info: extra data";
} else {
li->chan = (TPSDChannelInfo *)mymalloc(li->channels *
li->chan = (TPSDChannelInfo *)mymalloc(li->channels *
sizeof(struct TPSDChannelInfo));
li->chindex = (int *)mymalloc((li->channels + 2) * sizeof(int));
li->chindex += 2; //
Expand Down Expand Up @@ -558,7 +558,7 @@ void TPSDReader::readImageData(TRasterP &rasP, TPSDLayerInfo *li,
x1 = x0 + m_region.getLx() - 1;
// controllo che x1 rimanga all'interno dell'immagine
if (x1 >= m_headerInfo.cols) x1 = m_headerInfo.cols - 1;
y0 = m_region.getP00().y;
y0 = m_region.getP00().y;
// se y0 è fuori dalle dimensioni dell'immagine ritorna un'immagine vuota
if (y0 >= m_headerInfo.rows) {
free(rledata);
Expand Down Expand Up @@ -640,7 +640,7 @@ void TPSDReader::readImageData(TRasterP &rasP, TPSDLayerInfo *li,
m_layersSavebox[li->layerId] = layerSaveBox2;
else
m_layersSavebox[0] = layerSaveBox2;
TRasterP smallRas = rasP->extract(layerSaveBox2);
TRasterP smallRas = rasP->extract(layerSaveBox2);
assert(smallRas);
if (!smallRas) return;
// Trovo l'indice di colonna del primo pixel del livello che deve essere letto
Expand Down Expand Up @@ -1005,11 +1005,11 @@ void readChannel(FILE *f, TPSDLayerInfo *li,

for (ch = 0; ch < channels; ++ch) {
if (!li) chan[ch].id = ch;
chan[ch].rowbytes = rb;
chan[ch].comptype = comp;
chan[ch].rows = chan->rows;
chan[ch].cols = chan->cols;
chan[ch].filepos = pos;
chan[ch].rowbytes = rb;
chan[ch].comptype = comp;
chan[ch].rows = chan->rows;
chan[ch].cols = chan->cols;
chan[ch].filepos = pos;

if (!chan->rows) continue;

Expand All @@ -1030,7 +1030,7 @@ void readChannel(FILE *f, TPSDLayerInfo *li,

if (count > 2 * chan[ch].rowbytes) // this would be impossible
count = last; // make a guess, to help recover
last = count;
last = count;

chan[ch].rowpos[j] = pos;
pos += count;
Expand Down Expand Up @@ -1294,9 +1294,8 @@ int TPSDParser::getLevelIdByName(std::string levelName) {
levelNameCount++;
}
}
if (lyid == 0 && lyid < 0) lyid = 0;
if (lyid < 0 && lyid != 0)
throw TImageException(m_path, "Layer ID not exists");

if (lyid < 0) throw TImageException(m_path, "Layer ID not exists");
return lyid;
}
int TPSDParser::getFramesCount(int levelId) {
Expand Down
Loading