Commit graph

141 commits

Author SHA1 Message Date
luz paz
8f2731975f Fix m_refernce->m_reference 2021-08-31 11:10:52 -04:00
luz paz
35e409e926 fix various typos
Found via `codespell -q 3 -S *.ts,thirdparty, -L appy,ba,inbetween,inout,pevent,possibile,upto`
2021-08-31 11:10:50 -04:00
Rozhuk Ivan
a7b6545028 Add FreeBSD (tested) and other BSD systems (not tested) to build and run.
I fail to build TIFF code: it requires access to libtiff internals but it
unavailable with libtiff prom ports. Probably pre build form
thirdparty/tiff-4.0.3 should fix this, but I don't check this.
Tiff code disabled for work but available in options.

I fail with SSE2 too, there is some mess with class initialization:
TRaster32P rout32 = rout; have no idea how to fix it.
If some one want to play with it, then try to build with
CFLAGS+= -DUSE_SSE2 -DDWORD=uint32_t -D_aligned_malloc=aligned_alloc -D_aligned_free=free
on non windows system.

FarmServer::queryHwInfo() - now uses TSystem::***() to collect system info,
to avoid code duplication.

Add pthread as required lib.
2021-08-31 11:10:48 -04:00
Érico Rolim
2c66a4ced9 Use feature test macros properly in igs_resource_msg_from_err_unix.
Feature test macros should be used to inform the C library what
functions a program _expects_ to be available (and which should be made
available to it), not as checks for what functions are available to be
used. Therefore, it is necessary to set _POSIX_C_SOURCE to 200809L,
which indicates we wish to use functions defined in POSIX.2008, one of
which is `int strerror_r()`. This way, all libc (including glibc, as
long as _GNU_SOURCE is undefined) implementations will make the correct
version of the function available, and the fallback to the `char
*strerror_r()` version is no longer necessary.
2021-08-31 11:10:47 -04:00
shun-iwasawa
6e3df49295 bokeh advanced fx quick fix 2021-08-16 23:36:34 -04:00
shun-iwasawa
cb41b196c6 iwa bokeh advanced fx 2021-08-16 23:36:09 -04:00
shun-iwasawa
f4b2e1dd6b compass gadget for radial and spin blur fxs 2021-08-16 21:58:16 -04:00
shun-iwasawa
33d08f0866 rainbowfx iwa 2021-08-16 20:52:53 -04:00
shun-iwasawa
53900472aa change behavior of blend-ino fx without back layer 2021-08-16 18:26:58 -04:00
shun-iwasawa
cbfde43fb8 linear option for all layer blending ino fxs 2021-08-16 18:25:52 -04:00
shun-iwasawa
3b3c1b2fa1 particlesfx : use 16bpc control image for gradient 2021-08-16 18:25:41 -04:00
shun-iwasawa
5d866328ea bloom ifx iwa revised - alpha option - decay - auto gain option and gain adjust 2021-08-16 18:23:58 -04:00
shun-iwasawa
f2a0effd02 fix and refactor line blur fx ino 2021-08-15 23:39:38 -04:00
manongjohn
b9ea823143
Merge pull request #718 from jeremybullock/perspectivefx_2
OpenToonz 3800 - pnperspectivefx normalize option
2021-06-24 10:04:15 -04:00
shun-iwasawa
376f05b966 pnperspectivefx normalize option 2021-06-13 22:04:59 -06:00
shun-iwasawa
5f34302010 raylitfx enahancement: radius parameter and gadget 2021-06-13 21:59:34 -06:00
shun-iwasawa
5c41e440b3 motion blur fx iwa : default value change 2021-01-24 14:05:31 -05:00
shun-iwasawa
6af69b10e6 glare fx revised - fixed chromatic balance - introduced iris preset - fx version parameter to maintain backward compatibility 2021-01-24 14:05:31 -05:00
Jeremy Bullock
0bb97d6c31
bloom iwa fx (#492)
Signed-off-by: Jeremy Bullock <jcbullock@gmail.com>

Co-authored-by: shun-iwasawa <shun.iwasawa@ghibli.jp>
2020-11-13 09:34:26 -07:00
Jeremy Bullock
96be2ad464
Fix a couple instances of RGBM (#305) 2020-10-06 10:26:13 -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
artisteacher
d8e36aaf45
Fix override warnings (#164)
There are 100+ warnings due to ______ overriding a member function without being marked override. This adds override in those cases to silence the warnings.
2020-09-15 15:49:57 -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
feb9c4f48f
Merge OT changes as of 8-6 (#116) 2020-08-07 00:11:19 -06:00
artisteacher
4871443ae5
Fix unused command line arguments (#99)
This uses some of PR opentoonz/opentoonz#3031 by Otakuto with some small additions so that command line arguments can function.
2020-07-25 22:53:56 -06:00
Jeremy Bullock
133c867d93
Merge with core OpenToonz as of 7-5 (#73)
* 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

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>
2020-07-05 23:32:52 -06:00
Jeremy Bullock
93093c64f7 Merge branch 'master' into export_panel 2020-05-11 11:09:18 -06:00
shun-iwasawa
25dc519d37 glare fx iwa 2020-05-11 18:02:33 +09: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
Rozhuk Ivan
823a31f62c Fix multiple clang warnings 2020-04-13 22:21:56 +03:00
shun-iwasawa
e917fd98f9 fix bokeh fx 2020-04-09 14:32:46 +09:00
Rodney
0f666dcfce
Merge pull request #3122 from martinvanzijl/issue-434-fix-opengl-assert-crash
Fix OpenGL assert failures
2020-03-31 12:22:59 -05:00
shun-iwasawa
0ed559b3ac curvesfx enhancement 2020-03-19 02:34:54 +09:00
shun-iwasawa
bcd08e3228 fix particle fx control image bbox 2020-03-06 10:51:40 +09:00
Martin van Zijl
708c582210 Fix OpenGL assert failures (e.g. using preview feature).
Based on patch by @Teiji-Matsusaka.

Fixes #434. Possibly addresses #2704, too.
2020-03-02 09:06:10 +13:00
shun-iwasawa
83f5eed9c3 logarithmic option for spiral fx 2020-01-24 17:56:50 +09:00
Tact Yoshida
6b39c3e7d5 Use std::isnan instead of _isnan 2020-01-09 22:19:35 +09:00
otakuto
91a93e2575 Remove tcg_function_types.h (#2772) 2020-01-08 10:49:48 +09:00
Tact Yoshida
b8554a09aa Use std::sort instead of obsoleted qSort 2020-01-06 06:12:43 +09:00
shun-iwasawa
5903e5e9fd linear gradient fx revised 2019-11-14 11:42:05 +09:00
shun-iwasawa
00ed45cbe1 spin gradient iwa 2019-11-11 19:55:57 +09:00
shun-iwasawa
6817df33ac
New Fx: Corridor Gradient Fx Iwa (#2816)
* corridor gradient fx iwa
2019-10-11 12:10:00 +09:00
Rodney
71c9512c75
Merge pull request #2742 from shun-iwasawa/g/curve_type_for_gradient_fxs
Add "Type" option to gradient fxs
2019-09-02 08:20:53 -05:00
shun-iwasawa
09e972cb36 fix bokehref gap (#2743) 2019-08-29 07:50:26 -06:00
shun-iwasawa
a92a498ac0 curve type for gradient fxs 2019-08-29 11:30:01 +09:00
shun-iwasawa
fe2893b15c clang format 2019-08-02 15:48:26 +09:00
shun-iwasawa
31b6f77785 Merge branch 'remove-tArrayCount-macro' of https://github.com/otakuto/opentoonz into otakuto-remove-tArrayCount-macro 2019-08-02 15:47:17 +09:00
masafumi-inoue
63544433fe debug ino_line_blur (#2625)
* debug ino_line_blur
2019-05-27 13:06:47 +09:00
shun-iwasawa
a26c465cef Fix ParticlesFx Crash When Inputting Blank Vector Level To the Texture Port (#2459)
* fix particlesfx crash

* fix more particlesfx crash
2019-01-09 18:13:31 +09:00