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
2021-03-24Cleanup: use new BLI_assert_unreachable macroCampbell Barton
2021-03-23Cleanup: Silence compile warning.Jeroen Bakker
2021-03-23VSE: Sanitize move_to_meta usageRichard Antalik
There were multiple cases that could lead to problems like moving meta strip into itself or into it's children meta strips. Print error string to console when invalid action is requested.
2021-03-23Fix sequencer text leaving bold & italic flags enabledCampbell Barton
Regression in 913b71bb8be9b40da9c0f0cd21016c784a56dc18
2021-03-22Cleanup: clang-format, trailing spaceCampbell Barton
Minor manual tweak to prevent wrapping an array into columns.
2021-03-21Fix uninitialized memory use loading movie sequence stripsCampbell Barton
When the movie wasn't found, uninitialized values would be used for the original width/height. Also use int instead of float as the image size is stored as an int.
2021-03-21Cleanup: remove redundant NULL checksCampbell Barton
2021-03-20Fix issues introduced strip loading refactoringRichard Antalik
- Adding effect strip resulted in strip with no name - Adding sound strip attempted to read `fit_method` RNA property, that did not exist, causing error messages in console These issues were introduced in bbb1936411a5.
2021-03-20Fix T86355: Added effect strip has wrong lengthRichard Antalik
SEQ_add_effect_strip used SeqLoadData.image.end_frame to set end frame. This was mistake introduced in last refactoring patch. Use effect data, not image data, when adding effect strips. Reviewed By: sergey Differential Revision: D10633
2021-03-20Fix T85824: Transition between adjustment regressionRichard Antalik
When transition effect is placed between 2 adjustment layer strips, only first adjustment layer was rendered by effect. Limit timeline_frame range to adjustment strip frame range. This timeline configuration is technically invalid, because strips should overlap when using transition effect. This was never restricted and instead of producing no image, transition effect used first and last frame of source strip. Many users got used to this "feature" so I think it make sense to fix this case so it behaves like other strip types. Reviewed By: sergey Differential Revision: https://developer.blender.org/D10562
2021-03-20VSE: Text strip improvementsPeter Fog
- Position text in center of image - Increase default font size so it's more visible - Increase font size limit - Increase limit for location, so text can be scolled off screen - Wrap text by default - Tweak default box and shadow color - Change text shadow position - Text box no longer casts shadow Reviewed By: ISS Differential Revision: https://developer.blender.org/D10571
2021-03-20VSE: Add bold and italic option for text stripPeter Fog
Bold and italic fonts can be switched quickly by presing corresponding button. Reviewed By: ISS Differential Revision: https://developer.blender.org/D10542
2021-03-20Fix T54395: Original image size set incorrectlyEitan
`SequenceElement` type `orig_height` and `orig_width` members were set to incorrect size when using proxies and not set when strip was added which caused value to be unset. Since now image dimensions must be read when strip is created, these members can be initialized. When proxies are used, do not set original size since it is not guaranteed, that proxies are exact size. These values are not guaranteed to be up to date or exact. They should be used for strictly informative purposes. Reviewed By: ISS Differential Revision: https://developer.blender.org/D6506
2021-03-20VSE: Add new_meta RNA API functionFélix
This function can be used to create empty meta strip, which is not straightforward when using operators. Very useful for import/export scripts. Reviewed By: ISS Differential Revision: https://developer.blender.org/D10661
2021-03-20VSE: Add move_to_meta RNA API functionFélix
This function can be used to move strips into meta strips with no side effects like change of selection state. Reviewed By: ISS Differential Revision: https://developer.blender.org/D10759
2021-03-16VSE: Automatic proxy buildingRichard Antalik
Build proxies automatically when added to sequencer timeline and when switching preview size. This behavior can be disabled in user preferences. Reviewed By: sergey, fsiddi Differential Revision: https://developer.blender.org/D10363
2021-03-16VSE: Simplify proxy settingsRichard Antalik
- Remove Full Render size from VSE preview size. Use just 100% instead. - Add Use Proxies checkbox to control whether proxies are used globally - Move preview size to top so it is most prominent - Set default to 100% preview size and use proxies Reviewed By: sergey, fsiddi Differential Revision: https://developer.blender.org/D10362
2021-03-04Cleanup: redundant struct declarationsCampbell Barton
2021-03-02Cleanup: spelling, minor correctionsCampbell Barton
Also use doxygen comments for sculpt functions.
2021-03-02Fix Fuild error with lite buildRichard Antalik
With audaspace disabled, function SEQ_add_sound_strip was declared as prototype.
2021-03-02VSE: Refactor meta operatorsRichard Antalik
Move low level logic to module code and versioning logic to versioning code. Metas strip position was handled in diffrent way compared to other strips. This was introduced in c8b0d25794be as bugfix for T28158. I disagree with such design. Meta strips should be handled in same way as any other strips. I have tested this change and haven't found any problems. No problems after checking T28158 as well. There should be no functional changes on user level. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D9972
2021-03-02Fix T85970: Incorrect scaling of meta stripsRichard Antalik
This is same issue as fixed by d85789255320, but I forgot to check meta strips. Meta strip output is always in render size. Reviewed By: sergey Differential Revision: https://developer.blender.org/D10560
2021-03-02VSE: Refactor VSE strip loading codeRichard Antalik
Isolate RNA and operator logic from functions that create strips. - Operator specific code was removed from `SeqLoadInfo` structure and `SEQ_add_*` functions. - Strip loading code was removed from RNA and operator functions. - `SEQ_add_*` API was unified to work on `SeqLoadData` struct. Only exception is image strip, which require files to be loaded separately to strip creation itself. This is not ideal, but I think it's acceptable. - Some functions and variables were refactored so the code reads better. There are minor functional changes (coincidental bugfixes): - Operator errors are reported per-strip. Previously they were not reported at all? - `new_sound()` RNA API function now create sound with length of 1 if source file does not exist. Previously it created strip with length of 0. - Replace selection operator property wasn't working correctly. Fixed in this patch. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9760
2021-02-08Merge branch 'blender-v2.92-release'Richard Antalik
2021-02-08Fix T85426: Speed effect stretch to input not workingRichard Antalik
`seq_effect_speed_get_strip_content_length()` checked only for number of inputs of target strip, even if it's not an effect. Only effects are treated in different way, so check for type as well. Broken by 93c10797dc35e17bbd96f3711a151acf2d184848 Reviewed By: sergey Differential Revision: https://developer.blender.org/D10356
2021-02-06UI: Fix Typos in Comments and Docsluzpaz
Approximately 91 spelling corrections, almost all in comments. Differential Revision: https://developer.blender.org/D10288 Reviewed by Harley Acheson
2021-02-05Cleanup: use 'r_' prefix for return arguments, order lastCampbell Barton
2021-02-05Cleanup: correct spelling in commentsCampbell Barton
2021-02-01Merge branch 'blender-v2.92-release'Richard Antalik
2021-02-01VSE: Fix proxy images have incorrect sizeRichard Antalik
This bug happens when media size doesn't match scene size and proxies are enabled. This is because some strips are rendered in preview size already - effects, mask or strips using proxies. If strip input is prescaled it needs to be known when transforming images, which does also scaling to preview size as one operation. whether image needs prescaling is defined in function `seq_need_scale_to_render_size()` Problem was introduced in 571362642201. Previously all images were scaled to fit into preview, and this was considered as baseline for further image transformation. Reviewed By: sergey Differential Revision: https://developer.blender.org/D10183
2021-01-26Merge branch 'blender-v2.92-release'Richard Antalik
2021-01-26Fix T79922: Cache of meta strip not invalidatedRichard Antalik
Meta strip cache is not invalidated if strip inside of meta strip is invalidated. Find all metastrips that contain invalidated strip and invalidate them recursively. Reviewed By: sergey Differential Revision: https://developer.blender.org/D10192
2021-01-25Merge branch 'blender-v2.92-release'Campbell Barton
2021-01-25Cleanup: compiler warning, clang-format, spellingCampbell Barton
2021-01-25Merge branch 'blender-v2.92-release'Richard Antalik
2021-01-25Fix T83267: Crash prefetching scene strip in meta stripRichard Antalik
Scene strips can't be prefetched and seq_prefetch_do_skip_frame() should check if scene strip is in timeline. But it did not recurse into meta strips, which resulted in crash. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9999
2021-01-25Fix T82698: Speed effect not working on generator stripsRichard Antalik
Generator strips with zero inputs have their length set to 1 pernamently. In some cases it is useful to use speed effect on these strips because they can be animated. This can be done by using their length as is on timeline as content length. This is very simplified and temporary solution, as cutting these strips won't give expected results. Lot of code relies on length of these strips being fixed to 1, resolving this properly should be done by T59540. Reviewed By: sergey Differential Revision: https://developer.blender.org/D10026
2021-01-25VSE: Remove skip_disk_cache argumentRichard Antalik
This argument was used to prevent infinite loop in lookups between disk and RAM cache. Code was refactored, so this can be handled internally in cache. Reviewed By: sybren, sergey Differential Revision: https://developer.blender.org/D9955
2021-01-20Cleanup: remove unused file SEQ_util.hCampbell Barton
Committed by accident when SEQ_utils.h was also created.
2021-01-13Cleanup: spellingCampbell Barton
2021-01-11VSE: store raw images in cacheRichard Antalik
Previously raw images were not cached if image wasn't preprocessed. This caused issue, that image had to be read from disk on every redraw. Effect strips must be excluded, because this would cause problem with invalidation. Effect strips can use preprocessing however. This is mainly to allow usimg modifiers on them. This change should follow rBf448ff2afe7a77, but I have wrongly assumed, that it has been implemented already. ref T80278
2021-01-10Fix sequencer disk cache not writing dataRichard Antalik
Error handling added in 512a23c3d61d caused that reading header of new file failed, since it is empty. Don't attempt to read header if file is empty. If header can not be read anyway, try to delete the file. Add asserts, as this should never happen. Reviewed By: sybren Differential Revision: https://developer.blender.org/D9954
2021-01-08Cleanup: clang formatPhilipp Oeser
2021-01-08VSE: Hide cache settings and adjust defaultsRichard Antalik
Adjust default cache settings for all files to store raw and final images. All settings are still available when developer extras option is enabled in user preferences. This is part of design task T80278 Differential Revision: https://developer.blender.org/D9745
2021-01-05VSE: Fix incorrect condition for skipping prefetch framesRichard Antalik
This error was overlooked in commit be69f23b687a.
2021-01-04Cleanup: redundant struct declarationsCampbell Barton
2021-01-04Cleanup: sort structsCampbell Barton
2020-12-29Fix T83991: Pasting sound strip not working correctlyRichard Antalik
New UUID was generated for original strip not new one. Bug caused "invisible" sound strip playing that is impossible to remove. Especially noticable when transforming pasted strips. In such case, file reload was necessary. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D9912
2020-12-22VSE: handle IO errors when reading disk cache header and versionSybren A. Stüvel
Respond to return values of `fscanf()` and `fread()` to detect and handle I/O errors. Not only is error handling a good idea, this also prevents warnings from GCC that `fread()` and `fscanf()` return values are ignored. Reviewed By: ISS Differential Revision: https://developer.blender.org/D9915
2020-12-20VSE: Remove cost calculation from cacheRichard Antalik
This value was meant to be used for keeping images that are slowest to render in cache. Method of measurement was flawed, because it doesn't take UI overhead into consideration. Cache panel is to be removed because users should not have to tweak settings like this. It is not useful for development either, therefore it is removed completely.