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-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
2019-09-11Fix T69558: crash in BKE_scene_update_sound for a soundstrip withoutPhilipp Oeser
linked sound Crash could be triggered by just adding any object to the scene. Reviewers: sergey Maniphest Tasks: T69558 Differential Revision: https://developer.blender.org/D5764
2019-09-11Depsgraph: Pass bmain to depsgraph object creationSergey Sharybin
Currently unused, but will allow to keep of an owner of the depsgraph. Could also simplify other APIs in the future by avoiding to pass bmain explicitly to relation update functions and things like that.
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-31Animation: Remove depsgraph argument from a lot of APISergey Sharybin
Use explicit boolean flag to indicate whether flush to original data is needed or not. Makes it possible to avoid confusion on whether an evaluated or any depsgraph can be passed to the API. Allows to remove depsgraph from bAnimContext as well. Reviewers: brecht Differential Revision: https://developer.blender.org/D5379
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-07-09Fix T55192: Speed fx applied to scene messed up animationRichard Antalik
Don't update animdata after rendering scene Rendering host scene from sequencer is not supported, removed code is unnecessary. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5199
2019-07-08Fix T66431: SE - Audio Caching crashSergey Sharybin
Moved the caching code from direct calls in DNA to dependency graph. In fact, not much was needed to be done apart form removing the direct cache updates. The rest seemed to work fine. Possible to avoid full sound file re-load, but doesn't seem this is causing any issues.
2019-07-03Fix T66353: VSE: Missing updates when moving strip with animationSergey Sharybin
2019-06-19Fix T65614: Sequencer render single layer onlySergey Sharybin
Was noticeable when sequencer uses scene with a compositor. The way it was using render API was forcing a single render layer. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D5095
2019-06-12Cleanup: spelling in commentsCampbell Barton
2019-06-12Cleanup: unused varsCampbell Barton
2019-06-11Sound: Fix queries of sound infoSergey Sharybin
A lot of areas were querying sound information directly using audio handle which does not exist on an original sound IDs. This change basically makes it so it's possible to query information about given sound ID, without worrying about whether it's loaded or not: if it is needed to load it first it happens automatically (no automatically-opened handles are left behind though). While this seems a bit extreme to open files on such queries it is still better than the old situation when all sound handles were opened on file load, no matter if it's needed or not. Besides, none of the changed code paths are performance critical, just handful of tools. Fixes T65696: Sequencer fails to create a new sound sequence strip via Python Fixes T65656: Audio strip - SHIFT K crashes Blender Reviewers: brecht Reviewed By: brecht Subscribers: ISS Maniphest Tasks: T65696, T65656 Differential Revision: https://developer.blender.org/D5061
2019-06-07FIX: `use_proxy` strip property state has no effect.Richard Antalik
Author: Olly Funkster, Richard Antalík Reviewed By: brecht Differential Revision: https://developer.blender.org/D2504
2019-06-07VSE: Cache invalidationRichard Antalik
Add invalidation to strip add functions Add invalidation for scene and movieclip strips Skip invalidation for sound strips Reviewed By: brecht Differential Revision: https://developer.blender.org/D4989
2019-06-07Fix T65333: VSE: Playback speed regressionRichard Antalik
3D engine settings were used to select image scaling method. Use higher quality scaling only for rendering. Reviewed By: brecht Differential Revision: https://developer.blender.org/D4995
2019-06-05Sound: Port to a copy-on-write conceptSergey Sharybin
This change makes it so sound handles are created for evaluated scene, sequencer and speakers. This allows to have properly evaluated animation on them. For the viewport playback sound uses regular dependency graph. For the final render sound uses dependency graph created for render pipeline, which now also contains sequencer and sound datablocks. All the direct sound update calls are replaced with corresponding dependency graph recalc tag.
2019-05-31VSE: don't add crop and transform data for sound stripsRichard Antalik
This also fixes commit rB1fd7b380f4cf8a0489b405de2819f228a4da5ea2 which didn't do allocation for effect strips properly. Reviewed By: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4970
2019-05-25Fix T65094: Sequencer crashes blender when scene strip has NULL sceneDalai Felinto
Bug introduced on 930765faa81e.
2019-05-24Cleanup: warningsCampbell Barton
2019-05-23VSE: minimal cache invalidationRichard Antalik
2019-05-23VSE: remove lazy loading for strip crop and transformRichard Antalik
Lazy loading prevented showing values in UI. Now we just gray them out if not used.
2019-05-21Viewport: MSAA support during ViewportRenderingJeroen Bakker
When rendering viewport to an offscreen buffer the buffer was constructed for non anti aliasing (0 samples). This made the objects that are drawn by the `object_mode` including `wireframe` draw type non-anti-aliased. The offscreen buffers will be constructed based on the user setting for viewport multisampling (`U.ogl_multisamples`). The same setting will also be used when previewing scene strips in the sequencer. For now this only improves wireframe drawing in the scene strips. To improve the Anti aliasing in the scene strips we need to get finer control in the draw manager. This will be part of a different patch I am preparing. Please note that this patch also cleansup some unused code in the offscreen rendering (FSAA code was still existing, but never called) Reviewed By: brecht Maniphest Tasks: T64849 Differential Revision: https://developer.blender.org/D4907
2019-05-19VSE: add movie strips on top of audioRichard Antalik
- add movies to channel above free slot (no check for 2 free slots), add sound to the free slot - don't override channel settings if `channel` property is set This is just a hack. Propper implementation should be done along with T59540 Reviewed By: brecht Differential Revision: https://developer.blender.org/T59540
2019-05-16Cleanup: rename IDP_FreeProperty_ex to IDP_FreePropertyContent_exJacques Lucke
This was missing from rBdb5120603f.
2019-05-07Sound: Revert all the recent changes to soundSergey Sharybin
This happened to be a bigger rabbit hole to hell than it originally seemed, and there are higher priority design tasks to be handled (at this point high priority design task is more important than high priority bug fix). After talking to Brecht the decision was made to revert to the known isolated issue, which will allow everyone in the studio work same as prior to last Friday. The remaining bits will be worked on after all the design tasks are out of the way. This commit reverts: 4cdb4b9532c Fix T64161: Crashing using undo and multiple windows 064273a4ae7 Sound: Port more cases to be a part of dependency graph 2e582f8ab53 Sound: Fix access wrong dependency graph 5fc49d9c915 Sound: add stubs to build without audaspace c68c81a870b Sound: Make sure spin lock is initialized for new sound datablocks c02534469ac Sound: Delay creating sound scene handle for until is needed 9f681bea68f Fix T64144: Crash when displaying audio waveforms in VSE 2f79286453e Cleanup: unused vars bed8ad6f95a Fix crash in background rendering after recent sound changes 773691310f9 Fix T64143: Crash when scrubbing in the graph editor 888852055c1 Sound: Fix for being unable to jump to a frame during playback with A/V sync 6ab7b384645 Sound: More fixes for access of original scene 35db1195455 Sound: Fix access original scene during playback 211c4fd2e9a Depsgraph: Make comment about evaluation more obvious c5fe16e121e Sound: Make sound handles only be in evaluated datablocks b4e1e0946bf Depsgraph: Preserve sound and audio pointers through copy-on-write 4eedf784b04 Depsgraph: Store original sequencer strip pointer 6990ef151c1 Sound: Move evaluation to dependency graph d02da8de23b Sound: Delay opening handlers for until really needed 3369b828916 Depsgraph: Add scene audio component e8f10d64757 Depsgraph: Tag sequencer for update on changes 6e4b7a6e4d9 Depsgraph: Initial work to cover sequencer 17447ac5a6b Depsgraph: Make sound ID part of the graph
2019-05-07Cleanup: More clear naming for rendering functionsSergey Sharybin
2019-05-03Sound: Make sound handles only be in evaluated datablocksSergey Sharybin
Quite straightforward change, which makes it so audio handles are only created inside of evaluated datablocks. Exception is adding sound strip to the sequencer, which needs an audio handle to query length and number of channels. This is done by temporarily loading sound file into an original datablock, and then tossing it away. There is an assert in sound.c which verifies that audio system is used from an evaluated domain, which should help porting all the cases which are likely missed by this commit. Some annoying parts: - `BKE_sound_update_scene()` is iterating over all bases, and does special ID tags to see whether sound has been handled or not already. This can not be done the old fashion now. Ideally, this will be done as a speaker datablock evaluation, but seems that would require a lock since audio API is not safe for threading. So this is not a desired way i'd say. Possible solution here would be to iterate over ID datablocks using dependency graph query API. - Frame jump needs to call `BKE_sound_seek_scene()` directly because there might be some flags assigned to the scene which could be clear after operator execution is over. Need to verify if that's the case though. This is a bit hairy code, so sticking to a safest and known to work approach for now. - Removed check for format when opening new sound file. Maybe we can have some utility function which queries channel and duration information, leaving the caller's code clean and tidy. Tested following cases: - Adding/removing/moving sequencer's sound strips. - Adding/moving speakers in viewport. - Rendering audio. Reviewers: brecht Differential Revision: https://developer.blender.org/D4779
2019-05-03Sound: Delay opening handlers for until really neededSergey Sharybin
Needs to be done in order to localize sound handlers to the evaluated IDs only. This commit might not be fully optimal, since it does more things on every scene update request, but that will be solved by the upcoming change which will put those updates to a dependency graph.
2019-05-02Workbench,EEVEE: Viewport Render SamplesJeroen Bakker
- Add `render_aa` and `viewport_aa` sampling setting for workbench. 0 samples means no AA, 1 sample uses FXAA and more samples will use TAA. The viewport `gpu_viewport_quality` can still limit viewport anti-aliasing method. - Use TAA when rendering images. (this used to be CPU based FSAA) - Removed `R_OSA` related settings. Reviewers: fclem, brecht Maniphest Tasks: T60847 Differential Revision: https://developer.blender.org/D4773
2019-05-02Fix T63697: correct stuck R_NO_CAMERA_SWITCH in scene->r.mode.Alexander Gavrilov
This flag becomes stuck in certain situations, causing the marker camera switch feature to not work. To fix old files with the problem, clear the flag on file load. Also, the line that is supposed to clear it has wrong bit math, causing seq_render_scene_strip to effectively toggle the flag on or off every time it's run, instead of restoring to original state. The flag and code were added in 001789d7337a by @campbellbarton.
2019-05-01Fix T61619: Some VSE attributes with keyframes are not sensibly evaluatedRichard Antalik
when the scene is referenced as a strip from another VSE scene Fix T49658: Evaluation / animation of f-curves does not correct for a scene's position within another scene Solution: Evaluate animdata before rendering scene seqbase. Reviewed By: brecht Differential Revision: https://developer.blender.org/D4755
2019-05-01Fix crash on unlinking sceneRichard Antalik
Fix crash when unlinking scene and "Use Sequence" property is set. Reviewed By: brecht Differential Revision: https://developer.blender.org/D4756
2019-05-01Use cache only in current sceneRichard Antalik
Disable cache use, when rendering another scene seqbase. Now cache limit applies only to one scene, so it can be overshot. Cache of other scenes can be filled manually still. Reviewed By: brecht Differential Revision: https://developer.blender.org/D4757
2019-05-01Fix T49589: 2.78 VSE no longer caching Node Editor scene stripsRichard Antalik
Sequencer cache was cleared when rendering compositor output. Reviewed By: brecht Differential Revision: https://developer.blender.org/D4758
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
2019-04-30Sequencer: Scene Strip PerformanceJeroen Bakker
- Merged SEQ_OFSDRAW with V3D_OFSDRAW and define in the DNA_view3d_types: Due to this FSAA always kicked in making the rendering slow. - Removed `Texture Solid` and `DOF`. - Now when chosing Solid rendering the settings of the original scene is used. - Added a global override to use scene specific shading. In the Future we will need to enhanced this so user can change the settings. - Added support for LookDev. LookDev crashed as it needed the `evil_C` what was not set - LookDev mode will always show the scene + world lights. Reviewed By: brecht, fclem Maniphest Tasks: T62517 Differential Revision: https://developer.blender.org/D4738
2019-04-29VSE: Cache rewriteRichard Antalik
This patch implements new cache system. Aim is to give user more control over cache, so it can be maximally utilized. This is done through sequencer timeline side panel in category proxy & cache. Cached images are also visualized in timeline, controled by sequencer timeline view->cache menu Functional changes: - NOT use IMB_moviecache API - refactor names of cached image types - each scene owns 1 sequencer cache - merge preprocess cache into per-sequencer cache - cache links images rendered per frame in order as they are created - add cache content visualization tool - add RNA properties to control the cache More info can be found in design notes in blenkernel/intern/seqcache.c and in https://developer.blender.org/D4443 Reviewed By: brecht Differential Revision: https://developer.blender.org/D4443
2019-04-27Cleanup: comments (long lines) in blenkernelCampbell Barton
2019-04-25Sequencer: use Alpha Over blend mode by defaultJacques Lucke
Reviewers: ISS, brecht Differential Revision: https://developer.blender.org/D4737
2019-04-22Cleanup: style, use braces for blenkernelCampbell Barton