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-08-17Edit Mesh: skip flipping custom normals for meshes with no selectionCampbell Barton
Also split out normal calculation into functions.
2021-08-17Fix memory leak in edit-mesh dissolve degenerateCampbell Barton
2021-08-17Cleanup: replace degenerate check with assertCampbell Barton
Use an assert since this should never happen.
2021-08-17Docs: improve word wrap commentCampbell Barton
2021-08-17Docs: add API docs for gpu.capabilitiesnutti
Adds Python API documentations for gpu.capabilities module. Ref D12226
2021-08-17Cleanup: clang-formatCampbell Barton
2021-08-17Docs: add API docs for gpu.platformnutti
Adds Python API documentations for gpu.platform module. Ref D12222
2021-08-17Cleanup: compiler warningsCampbell Barton
2021-08-17UDIM: Fix tile number calculation when adding a range of image tilesJesse Yurkovich
When adding a range of tiles, the operator could incorrectly calculate the end_tile. It would not account for the start_tile itself and the IMA_UDIM_MAX value was 1 too small. This is most noticeable when attempting to fill the entire supported range of tiles. Differential Revision: https://developer.blender.org/D11857
2021-08-16Compositor: Enable can_be_constant on vector nodesManuel Castilla
2021-08-16Compositor: Full frame Normalize nodeManuel Castilla
2021-08-16Compositor: Full frame Normal nodeManuel Castilla
2021-08-16Compositor: Full frame Map Value nodeManuel Castilla
2021-08-16Compositor: Full frame Map Range nodeManuel Castilla
2021-08-16PyAPI: GPUShader: make 'uniform_vector_*' less restrictedGermano Cavalcante
Buffers larger than required may be allowed without restriction.
2021-08-16PyAPI: GPU Buffer: Buffer protocol supportGermano Cavalcante
The code was commented due to lack of testing and short release deadline.
2021-08-16Add sanity NULL checks when loading sound sequencesSebastian Parborg
Would cause crashes in files that had lingering invalid sound sequences around. For example our tests/render/volume/fire.blend test file.
2021-08-16Fix T90689, T90705: Cycles math node with 3 inputs broken after recent changesBrecht Van Lommel
Thanks Charlie Jolly for finding the fix.
2021-08-16Cleanup: spellingCampbell Barton
2021-08-16Fix building without audaspaceCampbell Barton
2021-08-16Fix T87967: M2T video seeking is brokenRichard Antalik
Bug caused by integer overflow in ffmpeg_generic_seek_workaround(). Function max_ii() was used to limit int_64tvalue. After fixing the issue there was another issue, where near-infinite loop was caused by requested_pos being very large and stream being cut in a way, that it was missing keyframe at beginning. This was fixed by checking if we are reading beyond file content. Reviewed By: zeddb Differential Revision: https://developer.blender.org/D11888
2021-08-16VSE: Use lines to draw waveformSebastian Parborg
Refactor and improve waveform drawing. Drawing now can use line strips to draw waveforms instead of only triangle strips. This makes us able to properly visualize thin waveforms as they would not be visible before. We now also draw the RMS value of the waveform. The waveform drawing is now also properly aligned to the screen pixels to avoid flickering when transforming the strip. Reviewed By: Richard Antalik Differential Revision: https://developer.blender.org/D11184
2021-08-16VSE: Fix audaspace not reading ffmpeg files with start offset correctlySebastian Parborg
The duration and start time for audio strips were not correctly read in audaspace. Some video files have a "lead in" section of audio that plays before the video starts playing back. Before this patch, we would play this lead in audio at the same time as the video started and thus the audio would not be in sync anymore. Now the lead in audio is cut off and the duration should be correctly calculated with this in mind. If the audio starts after the video, the audio strip is shifted to account for this, but it will also lead to cut off audio which might not be wanted. However we don't have a simple way to solve this at this point. Differential Revision: http://developer.blender.org/D11917
2021-08-16VSE: Fix seeking issues.Sebastian Parborg
The seek pts was not correctly calculated. In addition to that we were not seeking in the video pts time base. Reviewed By: Richard Antalik Differential Revision: http://developer.blender.org/D11921
2021-08-16VSE: Fix video strip duration calculationSebastian Parborg
The video duration was not read correctly from the video file. It would use the global duration of the file which does in some cases not line up with the actual duration of the video stream. Now we take the video stream duration and start time into account when calculating the strip duration. Reviewed By: Richard Antalik Differential Revision: http://developer.blender.org/D11920
2021-08-16VSE: Fix memory leak when adding bad image/movie stripsSebastian Parborg
If the add strip operator errored out, we wouldn't free custom data allocated Reviewed By: Richard Antalik Differential Revision: http://developer.blender.org/D11919
2021-08-16VSE: Fix "off by one" error when encoding audioSebastian Parborg
Before we didn't encode the audio up until the current frame. This lead to us not encoding the last video frame of audio. Reviewed By: Richard Antalik Differential Revision: http://developer.blender.org/D11918
2021-08-16VSE: Flush audio encode after finishing video exportSebastian Parborg
We didn't flush audio after encoding finished which lead to audio packets being lost. In addition to this the audio timestamps were wrong because we incremented the current audio time before using it. Reviewed By: Richard Antalik Differential Revision: http://developer.blender.org/D11916
2021-08-16Geometry Nodes: Add UV Smooth, Boundary Smooth options to subdivision nodeEitan
Replaces the boolean option with enum menus for consistency with the subdivision modifier (rB66151b5de3ff,rB3d3b6d94e6e). Adds all UV interpolation options. Original patch by Eitan. Updated by Himanshi Kalra <calra>. {F9883204} Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D10417
2021-08-16Cleanup: shadow variable warningCampbell Barton
2021-08-16Add cutom data color property for mesh comparisonHimanshi Kalra
Add color data type comparison for meshes, adding it as part of comparing meshes with geometry nodes applied. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D12192
2021-08-16BLF: avoid unnecessary lookups in blf_kerning_cache_newCampbell Barton
blf_kerning_cache_new was performing many unnecessary hash lookups, calling blf_glyph_search 32768 times. Use a lookup table to reduce this to the number of ASCII characters (128 calls).
2021-08-16Cleanup: rename kerning table to ascii_tableCampbell Barton
It wasn't obvious this was only for ASCII characters.
2021-08-16BLF: use fast ASCII kerning for word-wrap calculationsCampbell Barton
While this wasn't a bottleneck, using the fast version of this function removes some duplicate code that doesn't use the look-up table.
2021-08-16Cleanup: replace macros with inline functions for font drawingCampbell Barton
Also assert blf_font_ensure_ascii_kerning has been called in blf_kerning_step_fast.
2021-08-16XR: Color Depth AdjustmentsPeter Kim
This addresses reduced visibility of scenes (as displayed in the VR headset) that can result from the 8-bit color depth format currently used for XR swapchain images. By switching to a swapchain format with higher color depth (RGB10_A2, RGBA16, RGBA16F) for supported runtimes, visibility in VR should be noticeably improved. However, current limitations are lack of support for these higher color depth formats by some XR runtimes, especially for OpenGL. Also important to note that GPU_offscreen_create() now explicitly takes in the texture format (eGPUTextureFormat) instead of a "high_bitdepth" boolean. Reviewed By: Julian Eisel, Clément Foucault Differential Revision: http://developer.blender.org/D9842
2021-08-16Fix wrong usage of 'sizeof'Germano Cavalcante
The intention was to use `ARRAY_SIZE`. No functional changes.
2021-08-15Fix T90658: selection of some 3D gizmos failingGermano Cavalcante
Small error due to wrong variable usage. Introduced in rBfcd2d63b644e.
2021-08-15Compositor: Enable can_be_constant on matte nodes where possibleManuel Castilla
2021-08-15Compositor: Full frame Luminance Key nodeManuel Castilla
2021-08-15Compositor: Full frame Keying Screen nodeManuel Castilla
2021-08-15Compositor: Full frame Keying nodeManuel Castilla
2021-08-14BLF: Do Not Preload Glyph CacheHarley Acheson
This patch turns off the preloading of ascii glyphs and instead caches each glyph the first time it is actually used. See D12215 for much more detail. Differential Revision: https://developer.blender.org/D12215 Reviewed by Campbell Barton
2021-08-14Cleanup: Variable names, formatting, reduce indentationHans Goudey
2021-08-14BLF Cleanup: Size Defines, Comments, etcHarley Acheson
This patch makes some non-functional changes to BLF code. Some size defines added, comments changed, simplification of macro BLF_KERNING_VARS. See D12200 for more details. Differential Revision: https://developer.blender.org/D12200 Reviewed by Campbell Barton
2021-08-13Cleanup: rearrange includesGermano Cavalcante
Bring the includes from the same project together.
2021-08-13Fix T90637: Outliner: VSE context menu options are not workingGermano Cavalcante
Some of the enum options in the context menu operations are not supported for all element types. `TSE_SEQUENCE`, for example, only supports the `Select` option. So, populate the enum list dynamically depending on the type. Also add some calls that were missing for the `TSE_SEQUENCE` type. (`WM_event_add_notifier` and `ED_undo_push`).
2021-08-13Cleanup: fix typos in static variablesGermano Cavalcante
_desps --> _deps
2021-08-13Compositor: Full frame Distance Key nodeManuel Castilla
2021-08-13Fix T86883: Add/fix suport of liboverrides in relocate/reload library case.Bastien Montagne
There was already some code for that, but it was broken, and proper resync was completely missing. There might still be more resync needed in library linking operators though.