Commit Graph
100 Commits
Author SHA1 Message Date
itsmattkc c7f5af9534 moved autoscroll code to TimeBasedWidget rather than TimelineViewBase
Better place for it. Fixes #1406
2020-11-25 10:00:57 +11:00
itsmattkc bd2b3f7a7c gizmos: detect generated images like titles
Fixes #1413
2020-11-25 09:43:15 +11:00
itsmattkc 7cc64927b8 mainwindow: when maximizing panels, fallback to focused panel if hovered panel is null
Fixes #1403
2020-11-25 09:04:15 +11:00
itsmattkc 2b1700e088 Merge branch 'master' of https://github.com/olive-editor/olive 2020-11-25 08:59:26 +11:00
itsmattkc 0eda91a0cb renderer: destroy surface in main thread 2020-11-25 08:59:14 +11:00
itsmattkc 1254726079 transform: set alpha channel required always true for now 2020-11-25 08:57:55 +11:00
itsmattkc b4b0cd6be9 Merge branch 'master' of https://github.com/olive-editor/olive 2020-11-24 11:04:51 +11:00
itsmattkc 1400c313ca timeline: correctly use ptr to qvector rather than qlist
Fixes copy/paste crash
2020-11-24 11:04:33 +11:00
itsmattkc 827c9f93cc AudioVisualWaveform: implement same size check as AudioPlaybackCache to prevent index out of bounds crashes 2020-11-24 11:02:42 +11:00
itsmattkc 2c4f781e13 paramview: discard scroll events on widgets 2020-11-23 12:01:21 +11:00
itsmattkc ade4369199 revise opengl profile 2020-11-23 09:43:48 +11:00
itsmattkc 29f2d3024e timeline: clear selections when disconnecting viewer
Fixes #1400
2020-11-23 09:15:46 +11:00
itsmattkc 7b266c51a4 move clamp to bezier itself to prevent deadlocks 2020-11-23 08:43:02 +11:00
itsmattkc 60f515a2cc transform: added interpolation parameter 2020-11-22 22:53:31 +11:00
itsmattkc ed6f4eed3e core: changed ortho node ID
Fixes collision where transform and ortho nodes had the same ID. Renames ortho ID and automatically corrects
old projects with the old ID. Bumps the project version as a result.
2020-11-22 22:32:09 +11:00
itsmattkc 96ad22d3e6 node: correctly skip element if node param isn't found
Fixes issue where projects could fail to load entirely if a node param was not found.
2020-11-22 22:30:13 +11:00
itsmattkc 3cf4d58716 viewer: rewrote pixel sampling coordinate system
Fixes #1395
2020-11-22 21:25:10 +11:00
itsmattkc cb5c48bd06 config: added default color for category 10 (distort)
I don't actually like this color on this node, but we can change/shift things
around later.
2020-11-22 21:01:21 +11:00
itsmattkc 9928027040 nodeview: clamp bezier value 2020-11-22 20:28:48 +11:00
itsmattkc dbf4a814e1 renderer: added extra null check for texture
Fixes #1392
2020-11-22 19:00:01 +11:00
itsmattkc af0f6163af use floats in viewer scale 2020-11-22 18:47:21 +11:00
itsmattkc 8fb374696a Merge branch 'master' of https://github.com/olive-editor/olive 2020-11-22 18:21:37 +11:00
itsmattkc a6d382f4d4 further improved gizmos 2020-11-22 18:21:24 +11:00
itsmattkc bd215b34bc viewer: simplified sizing algorithm and add padding for fit so gizmos are easier to use 2020-11-22 13:01:52 +11:00
itsmattkc 63bc054b34 correctly mark plural 2020-11-22 13:00:55 +11:00
itsmattkc 54cd244801 nodes: added distort nodes
Adds nodes for cropping and transforming
2020-11-22 11:34:37 +11:00
itsmattkc 3e48aef88c renderer: only divide as much as necessary to get within maximum sequence resolution
Prevents lower res images from becoming too low res
2020-11-22 10:32:58 +11:00
itsmattkc 81447c439f opengl: update for shader changes mentioned earlier 2020-11-22 10:32:22 +11:00
itsmattkc 425e69c789 renderprocessor: add generate resolution override 2020-11-22 10:32:01 +11:00
itsmattkc 065fc9e10e miscellaneous shader changes
Since sequence resolution is provided to the nodes now, it no longer needs to be a global in the shaders
Removed some unused shaders
Added default params to ShaderCode to allow skipping types that aren't used
2020-11-22 10:31:37 +11:00
itsmattkc b9e0bfb679 nodes: added distort gizmo 2020-11-22 10:27:49 +11:00
itsmattkc da9a6325aa node: reworked gizmo system 2020-11-22 10:27:37 +11:00
itsmattkc 3167047ded nodetraverser: added abstract function for generating sequence resolution 2020-11-22 10:25:47 +11:00
itsmattkc 7899c396dc nodeinputdragger: acknowledge min/max values if they're set 2020-11-22 10:25:04 +11:00
itsmattkc 5e319a0cdd nodeparamviewwidgetbridge: implemented offsets for more user friendly numeric values 2020-11-22 10:24:35 +11:00
itsmattkc 66bf5db2e1 gizmotraverser: return sequence resolution and adjust texture resolution by pixel aspect 2020-11-22 10:24:07 +11:00
itsmattkc 1b0e69c05b viewer: fixed deinterlacing and pan regression, reworked gizmos 2020-11-22 10:23:32 +11:00
itsmattkc d0bcea3b1d audio: ignore shift event if from time exceeds length 2020-11-21 09:52:24 +11:00
itsmattkc 857e4b046d timeline: when inserting gaps, only do one per track 2020-11-20 19:37:00 +11:00
itsmattkc e4f011831d timeline: don't try to link if no clips are selected 2020-11-20 19:36:43 +11:00
itsmattkc 6147bc6846 Merge branch 'master' of https://github.com/olive-editor/olive 2020-11-20 18:14:14 +11:00
itsmattkc 42506e0da0 ffmpegdecoder: fallback to footage duration if available 2020-11-20 18:13:53 +11:00
itsmattkc b25b53591b footageviewer: raise when footage is set 2020-11-20 18:13:28 +11:00
itsmattkc 6eade26bc8 timeline: force update after timeline actions
This is actually relatively efficient since Qt will ignore multiple update
requests leading up to an update and only update once.

Fixes #1374
2020-11-19 17:50:42 +11:00
itsmattkc 30b0af4f3a opengl: dropped minimum version to es 3.0 2020-11-19 16:55:19 +11:00
itsmattkc dcf56781b4 removed version macros from shaders and add automatically in compile step 2020-11-19 14:36:05 +11:00
itsmattkc 8c3f0ac64e oiio: increased minimum version to 2.1.12 2020-11-19 11:06:40 +11:00
itsmattkc b463c5e6a5 viewer: adjust viewport by device pixel ratio
Fixes #1377
2020-11-19 11:05:51 +11:00
itsmattkc afbd3ada36 bypass track invalidate length limit on trim command 2020-11-18 19:34:12 +11:00
itsmattkc 640b157a2f use doubles as default node colors 2020-11-18 14:24:47 +11:00
itsmattkc 3c3fd5bd44 ensure colors are loaded from string as doubles 2020-11-18 14:23:18 +11:00
itsmattkc ad2e3d160f added mosaic filter node 2020-11-18 14:21:47 +11:00
itsmattkc 5ff234de92 fixed uninitialized variable 2020-11-18 14:10:56 +11:00
itsmattkc b3c3fe0fc8 merged video and audio nodes into a single media node
They performed exactly the same function so I don't think we need the clutter.

Also bumped the project version, but old projects are automatically converted.
2020-11-18 13:48:14 +11:00
itsmattkc aeb7bc02b6 autocache: added brief delay between changes and recache 2020-11-18 13:08:09 +11:00
itsmattkc f362109009 Merge branch 'master' of https://github.com/olive-editor/olive 2020-11-18 12:56:36 +11:00
itsmattkc 04dd502a40 nodes: bypass invalidate length limit for certain track operations
Fixes #1290
Fixes #1228
2020-11-18 12:56:00 +11:00
itsmattkc 3edac8a07f nodeview: added arrows 2020-11-18 01:34:40 +11:00
itsmattkc 82cc590423 updated splash url in about dialog
Fixes #1246
2020-11-17 23:15:32 +11:00
itsmattkc cdda27fc72 ci: add otio to mac deps 2020-11-17 23:03:12 +11:00
itsmattkc 3fd27deb7c removed unnecessary debug line 2020-11-17 22:59:42 +11:00
itsmattkc 502753e05b Revert "ci: combined mac dependencies"
This reverts commit ea090a9215.
2020-11-17 22:55:20 +11:00
itsmattkc 75d4cd899b use hardcoded namespace
The macro defined namespaces confused the hell out of lupdate and more or less broke translations permanently. Looks like the only way we can do it is to have a hardcoded namespace, which goes against my instinct, but honestly how likely is it that we'll change the namespace anyway (I guess forks might want to do it, but that's their problem ;) )
2020-11-17 20:24:42 +11:00
itsmattkc d241090a9f finally updated the copyright year 2020-11-17 20:13:22 +11:00
itsmattkc 15a29288aa added Q_OBJECT macro to classes that were missing it 2020-11-17 19:13:16 +11:00
itsmattkc d24178b1b1 Merge branch 'master' of https://github.com/olive-editor/olive 2020-11-17 16:04:27 +11:00
itsmattkc b9724e3910 attempted to implement localization loading 2020-11-17 16:04:09 +11:00
itsmattkc 8a64ef75d9 implemented selecting custom export range
Fixes #1314
2020-11-17 09:43:43 +11:00
itsmattkc e2010dde83 made formal QtUtils class 2020-11-17 09:42:36 +11:00
itsmattkc 97a15f2c54 Merge branch 'master' of https://github.com/olive-editor/olive 2020-11-17 00:41:37 +11:00
itsmattkc a911c0acf3 Merge branch 'render-singleton' 2020-11-17 00:41:28 +11:00
itsmattkc 4aea9a3757 timeline: pad by full width rather than half width 2020-11-17 00:20:56 +11:00
itsmattkc ea090a9215 ci: combined mac dependencies 2020-11-16 18:35:18 +11:00
itsmattkc 81450044e0 added preference for duplicating dependencies
Fixes #1320
2020-11-16 16:32:15 +11:00
itsmattkc 1b9bf6d92c switched many QLists for QVectors
Minor optimization
2020-11-16 16:17:43 +11:00
itsmattkc a0fb1981b4 multi-line edit for text in paramview 2020-11-16 12:27:59 +11:00
itsmattkc 9a1917d160 used different approach for populating open recent menu
Fixes #1243
2020-11-16 10:23:23 +11:00
itsmattkc 81c98e1026 timeline: made markers undoable 2020-11-16 08:58:51 +11:00
itsmattkc 39149d28c7 fixed bug that prevented cached footage from being reused 2020-11-16 02:02:45 +11:00
itsmattkc 17b9a7e3ad renderer: moved alpha channel detection to where texture is actually made 2020-11-16 02:02:12 +11:00
itsmattkc 1dd7e24920 merge: removed debug line 2020-11-16 02:01:51 +11:00
itsmattkc 96d4d88471 renderer: fixed bug that caused threads to hang indefinitely 2020-11-16 01:37:39 +11:00
itsmattkc c81bb003d3 framehashcache: minor code cleanup 2020-11-16 01:35:52 +11:00
itsmattkc a9bc1312c1 don't show associated alpha option if footage has no alpha 2020-11-16 01:34:20 +11:00
itsmattkc fe4e45e386 fixed timerangelist removing bug 2020-11-16 01:33:53 +11:00
itsmattkc 2c086ce9fb removed debug line 2020-11-16 01:33:24 +11:00
itsmattkc c0b710b8c0 use round instead of floor to convert time to samples 2020-11-15 23:51:12 +11:00
itsmattkc fbfa3e1348 use virtual texture size rather than physical and clear destination when running shaders 2020-11-15 23:02:20 +11:00
itsmattkc c3c1fa6f28 project: don't try to retrieve duration of a still image 2020-11-15 22:47:58 +11:00
itsmattkc bb1f16c8e1 merge: don't merge if the blend texture is RGB 2020-11-15 22:47:10 +11:00
itsmattkc 0d0766e4fb improved render channel count system 2020-11-15 22:16:40 +11:00
itsmattkc ee5307336e re-implemented alpha assoc/deassoc when color managing 2020-11-15 10:41:29 +11:00
itsmattkc c9a8b96c89 reimplemented export process 2020-11-13 22:05:43 +11:00
itsmattkc 8776bb9c4a finished upgrade to ocio v2 2020-11-12 15:36:29 +11:00
itsmattkc 2d2d6d2a2b Merge branch 'master' of https://github.com/olive-editor/olive 2020-11-12 09:38:54 +11:00
itsmattkc 04e27e8e7f otio: use item rather than first of array 2020-11-12 09:38:49 +11:00
itsmattkc ddbca1ba51 Merge branch 'master' of https://github.com/olive-editor/olive into render-singleton 2020-11-12 00:57:12 +11:00
itsmattkc 3c1ac3eeba upgraded to ocio v2 2020-11-11 21:53:24 +11:00
itsmattkc 0429e70fe0 merged all drawing functions into a single shader processing function 2020-11-10 15:50:13 +11:00
itsmattkc 1d61f89920 large scale renderer rework
- Abstracts all OpenGL functionality including UI objects
- Cleans up several rendering codepaths
- Improves threading functionality
- Removes old code and problematic functions
2020-11-10 11:24:51 +11:00