Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-29VSE: Fix type mismatch introduced in rB8bcfa0d1fb9fRichard Antalik
Pass `IMB_Proxy_Size` to `seq_can_use_proxy` and remove duplicate check.
2020-06-26Fix detecting proxy images.Richard Antalik
Pass is_proxy_image to functions where images are loaded instead of comparing image size to render size. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8128
2020-06-26Silence warning introduced in f7f3b2d31823Richard Antalik
Call function `BKE_scene_multiview_view_prefix_get` to ensure ext is not NULL. This already should happen in `seq_image_strip_is_multiview_render` though. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8081
2020-06-23Cleanup: rename 'name' to 'filepath' for DNA typesCampbell Barton
Using 'name' for the full path of a file reads badly, especially when id.name is used in related code.
2020-06-18Cleanup: unused variablesCampbell Barton
2020-06-18Fix T75414: Incorrect masking in Color Balance modifierRichard Antalik
Color balance factor was infinity. Clamp to +/- `FLT_MAX` Reviewed By: sergey Differential Revision: https://developer.blender.org/D7884
2020-06-18Cleanup: Remove goto statements from strip rendering functionsRichard Antalik
Remove goto statement from `seq_render_image_strip()` and `seq_render_movie_strip()`. `seq_render_image_strip_view()` and `seq_render_movie_strip_view()` is used to render individual views in both monoview and multiview branch. I have included `seq_can_use_proxy()` for convinience Reviewed By: sybren Differential Revision: https://developer.blender.org/D7870
2020-06-18VSE: Fix assigning effect strip inputsRichard Antalik
Partialy fixes T73828 Currently all 3 effect inputs were assigned even if not all 3 were used. This causes problems with reassigning effects in python, because 3rd input is not accessible. This patch will only assign inputs that are necessary for effect to work properly. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D6868
2020-06-18Cleanup: Remove unused code from `seq_proxy_get_fname()`Richard Antalik
Reviewed By: brecht Differential Revision: https://developer.blender.org/D7868
2020-06-05Code Cleanup: fcurve function namingJeroen Bakker
2020-05-18Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-18Fix error mixing incompatible enums when generating the proxy nameCampbell Barton
2020-05-13Merge branch 'blender-v2.83-release'Richard Antalik
2020-05-13Fix T70612: Sequencer Crash on enabling PrefetchRichard Antalik
Disable (skip) preftching scene strips if they target 3D scene. Try to continue prefetching complete frame if disk cache images are found. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7514
2020-05-10Merge branch 'blender-v2.83-release'Richard Antalik
2020-05-10Fix T36263: Pasted strip doesnt have F-Curve keyframes from the originalRichard Antalik
Original code for copying strips tried to change strip name 2 times before copying and once again after pasting. Store structs in clipboard in unchanged state, so we can reference data after pasting easily. Better method would probably be storing animation data in clipboard as well, so we can copy animated strips even between scenes. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7638
2020-05-10Merge branch 'blender-v2.83-release'Richard Antalik
2020-05-10Fix T71300: Crash on rendering scene recursively from sequencerRichard Antalik
Adding recursive scenes has been disabled, but old files still can be opened. Add check if scene will render itself. Opening such file will produce warning on open and error on running render. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D7562
2020-04-30VSE: Add frame interpolation option to speed effectIsrael Medina
Do cross transition from current to next frame instead of displaying one image for n frames. Reviewed By: ISS, sergey, campbellbarton Differential Revision: https://developer.blender.org/D7417
2020-04-27Merge branch 'blender-v2.83-release'Richard Antalik
2020-04-27Fix T75495: Blender crashes opening a VSE .blend fileRichard Antalik
During scene copy modifier mask strips are relinked to point to strips in new scene. If strip used as mask is in different seqbase, this can fail, if seqbase is not copied yet. Add SEQ_DUPE_IS_RECURSIVE_CALL flag to avoid relinking modifiers during recursive call. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7412
2020-04-16Cleanup: remove unused scene argumentCampbell Barton
2020-04-12Fix T74875: Preview shows previously cached frame after Hard CutRichard Antalik
Add method to invalidate strip cache in range of non-overlapping strip. Invalidate original strip in range of new strip created by cutting. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7313
2020-04-12Fix T75382: VSE Strip Adjustments Not Immediately VisibleRichard Antalik
Cache of effects wasn't invalidated on correct level. Add invalidation "rule" for invalidating downstream effects. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7343
2020-04-12Fix T74897: VSE animation doesn't workRichard Antalik
`seq_free_animdata()` removes fcurve pointers belonging to strips from `Scene` CoW datablock's `AnimData` during `BKE_scene_graph_update_for_newframe`. This causes problems with updating animation. This worked before rBbe2e41c397ba, because `AnimData` was freed by `BKE_animdata_free()` before `seq_free_animdata()` was executed, so it had no data to operate on and returned on precondition `if (scene->adt == NULL || scene->adt->action == NULL)` Reviewed By: mont29, brecht Maniphest Tasks: T74897 Differential Revision: https://developer.blender.org/D7264
2020-04-10Fix T71546: VSE stereoscopic strips issues with mismatched dimensionsDalai Felinto
The issue is that the cachiing was adding the right view without the proper pre-processed buffer. D7389
2020-04-09Cleanup: VSE rename i to view_id for stereo 3d codeDalai Felinto
2020-04-06Cleanup: Use `_fn` as a suffix for callbacks in VSE codeRichard Antalik
2020-04-03Code Quality: Replace for loops with LISTBASE_FOREACHDalai Felinto
Note this only changes cases where the variable was declared inside the for loop. To handle it outside as well is a different challenge. Differential Revision: https://developer.blender.org/D7320
2020-04-03Cleanup: Animation, move AnimData API to `anim_data.c`/`BKE_anim_data.h`Sybren A. Stüvel
The `BKE_animsys.h` and `anim_sys.c` files already had a an "AnimData API" section. The code in that section has now been split off, and placed into `BKE_anim_data.h` and `anim_data.c`. All files that used to include `BKE_animsys.h` have been adjusted to only include the animation headers they need (sometimes none). No functional changes.
2020-03-31Cleanup: use '_recursive' suffix instead of '_rec'Campbell Barton
This convention isn't very clear and wasn't used much. Use the more verbose term instead.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-19VSE: Strip drawing improvementsRichard Antalik
This patch include changes: - Thicker and clearer selection indication - Slimmer handles - More transparent muted strips - Trim frame number is drawn inside the strip - Strip text is drawn in upper part of strip - Color strips now have specific color, with chosen color drawn under strip text - Transition strip will use color of input strips showing direction of transition - Selecting effect strip will highlight input strips - Selecting multicam strips will highlight target channel - Missing media state is now indicated by a red line drawn on the top part of the strip - A checkerboard pattern is now drawn on the outsides of the meta range - Hold still regions are now always drawn if existent, with a darker shade of the strip’s background color Author: Alessio Monti di Sopra <a.monti> Reviewed By: ISS Differential Revision: https://developer.blender.org/D6883
2020-03-19VSE: Disk cacheRichard Antalik
This patch implements dumping images from cache to HDD. The main goal of this system is to provide a means to achieve consistent playback speed mainly for strips that are not possible to preview in real time. How to use: Disk cache has own settings in user preferences for path to storage, size limit and compression level. To use disk cache, you need to check `Use Disk Cache` box, set `Disk Cache Directory`, `Disk Cache Limit` and save or open existing .blend file. By default sequencer output will be cached only. Manual setting is possible in cache panel. Uses: - Replacement or alternative for proxies. Disk cache will work with any strip type, supports float images as well. - Storage for strip thumbnails. - Less RAM needs to be allocated for preview cache How it works: Disk cache is extension of RAM cache. Every image, that is stored or deleted in RAM will be stored or deleted on HDD as well. Images can be compressed to save space and for use on slower drives. Compressed images are slower to write and read though. Images are stored in bulk of 100 rendered frames per one file. This is to overcome slow file access time for large amount of files. Drawback is, that if one frame needs to be redrawn, all 100 frames are deleted. Reviewed By: sergey Differential Revision: https://developer.blender.org/D5524
2020-03-13Cleanup: pass const args (mostly Scene & RenderData)Campbell Barton
2020-03-06CodeCleanup: Added enums to opengl render functionsJeroen Bakker
Motivation the functions get 3 different kind of flag parameters (ImBuf, DrawType, OffscreenRendering) the naming of the flags were not clear, leading to mistakes and unnecessary time spend debugging.
2020-02-18Cleanup: clang-format.Bastien Montagne
2020-02-17VSE: Remove atomized image duplication for preprocessing stageRichard Antalik
Each image that goes through preprocessing is already duplicated in `input_preprocess()` Reviewed By: brecht Differential Revision: https://developer.blender.org/D6790
2020-02-10Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`.Bastien Montagne
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604.
2020-02-08Cleanup: remove old VSE prefetching code.Richard Antalik
Reviewed By: brecht Differential Revision: https://developer.blender.org/D6774
2020-01-29Fix T73014: Marker sync does not work correctly if moving strip so it ↵Philipp Oeser
overlaps another strip Need to also offset markers in BKE_sequence_base_shuffle_time(). Also clarify/correct related comments. Maniphest Tasks: T73014 Differential Revision: https://developer.blender.org/D6555
2020-01-22Fix T70415 100% proxy files playing with poor performanceRichard Antalik
Refactor code to use `eSpaceSeq_Proxy_RenderSize` or corresponding `IMB_Proxy_Size` enum items directly. `SEQ_PROXY_RENDER_SIZE_100` has assigned value 99 to distinguish from `SEQ_PROXY_RENDER_SIZE_FULL`. This caused error in image size calculation and because of that image had to be scaled. Author: EitanSomething Reviewed By: ISS Differential Revision: http://developer.blender.org/D6368
2019-12-06Draw: Removal of MultiSample BuffersJeroen Bakker
Multisample buffers were used for smooth line drawing. As we now have an algorithm that doesn't need the multisample buffers we can remove them. The user preference for viewport multi_sampling is replaced by single toggle overlay `use_overlay_smooth_wire`. By default this setting is enabled as the new drawing is really quick (<1ms) and uses zero hacks. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6367
2019-11-03Fix errors in fix for T68018Campbell Barton
2019-11-03Fix T68018: Crash on building movie proxyRichard Antalik
Skip building proxy if directory can not be created. Crash happens, when setting custom dir to location of source file itself. This results in attempt to create directory with the same name as source file. Differential Revision: https://developer.blender.org/D6148 Reviewed By: sergey
2019-10-15Cleanup: clang format for rBb77da65e8c4dPhilipp Oeser
2019-10-15Fix T68700: Incorrect 'absolute' timing of animated masks in the VideoPhilipp Oeser
Sequence Editor Code in 'seq_render_mask' will effectively do BKE_mask_evaluate(mask_temp, mask->sfra + (cfra - fra_offset), true) where 'fra_offset' is zero for absolute and seq->start for relative. If we really want the scene's current frame (as advertised) if Mask Time is set to Absolute (effectively ignoring the Mask Settings start/end) we need to change the fra_offset from zero to mask->sfra. Also BKE_animsys_evaluate_animdata should take mask->sfra into account as well (otherwise mask animation [points] and other animation [e.g. opacity] will run out of sync) Reviewers: campbellbarton, ISS Maniphest Tasks: T68700 Differential Revision: https://developer.blender.org/D5495
2019-09-30Fix T69334: VSE Very low framerateRichard Antalik
Revert "Sequencer: use Alpha Over blend mode by default" This reverts commit 7c6c5b40cae47e2ecb0e2ef2a5ca1883270c0023. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5943
2019-09-22Fix T69352: Audio strips don't update when changing `frame_start`Richard Antalik
Tag depsgraph update as a part of cache invalidation. Author: mdewanchand Reviewed By: ISS Differential Revision: https://developer.blender.org/D5718
2019-09-14VSE: prefetchingRichard Antalik
When enabled prefetching(preview panel>view settings), a pernament running job is created, that will render frames in the background until the cache is full. If the cache is not filled fast enough, prefetch job suspends itself at the last moment and will wait until it has chance to "catch up". Effectively this will decouple rendering to separate thread, so rendering itself is a bit faster. Cache recycling behavior will be changed to "free furthest frame to the left of playhead if possible, otherwise rightmost frame". Reviewed By: brecht Differential Revision: https://developer.blender.org/D5386