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-05-22Fix T74443: No render in VP9 lossless modePhilipp Oeser
We define Lossless as CRF 0 (which is usually the best quality and is working fine with other codecs afaict), but since WebM only allows for CRF values between 2-32 and actually has a dedicated "lossless" mode, I suggest using that (it produces large files though, so double-checking would be welcome). https://trac.ffmpeg.org/wiki/Encode/VP9#LosslessVP9 Maniphest Tasks: T74443 Differential Revision: https://developer.blender.org/D7800
2020-05-22Fix (unreported): prefetching wastes resources when end frame is reachedRichard Antalik
This bug is not really visible for user. When end frame is reached by prefetching thread, it doesn't stop and keeps on getting images from cache. Add chech for this situation and simplify logic involved in suspending, so it's easier to read. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7757
2020-05-22Fix (unreported): Don't restart prefetching during rendering.Richard Antalik
Prefetching is stopped in BKE_sequencer_cache_cleanup, but is restarted quickly. Prefetching has negative effect on performance while rendering. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7751
2020-05-22Fix T76774: Crash on prefetching sequences from another scene.Richard Antalik
When rendering another scene, caching in disabled by setting local_context.skip_cache = true. Precondition checking for this flag was missing in BKE_sequencer_cache_get and it wasn't first thing to check in BKE_sequencer_cache_put. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7750
2020-05-21Cleanup: spellingCampbell Barton
2020-05-20Fix T76916: Cycles missing deform motion blur for shape key + subdiv modifierBrecht Van Lommel
2020-05-20Fix T73979: Wrong location of fluid mesh when domain origin is not in centerJacques Lucke
Reviewers: sebbas Differential Revision: https://developer.blender.org/D7802
2020-05-20Fix T76858: non-thread safe sculpt memory allocation when using --debug-memoryBrecht Van Lommel
By default the guarded memory allocator is not thread safe, that needs to be initialized.
2020-05-20Fix PBVH parallel range not initializing user data correctly in some casesBrecht Van Lommel
This was already changed for the TBB-based BLI_task_parallel_range in master. This task local storage should always be initialized from the template, not copied from another task which may be executing at the time the copy happens. This may not fix any actual bug, we only use this user data for parallel reduce and it's not clear that TBB ever calls the copy constructor for that case. Ref T76858
2020-05-19Fix T76865: Vertex paint draws hidden but cannot be painted ontoCampbell Barton
2020-05-19Fix T76689: Armature layers not indicating the existence of bonesSybren A. Stüvel
From what I can see, there are two issues at play in {T76689} and its merged-in report {T76590}: - In Blender ≤ 2.79 the bone layer dots were updated in the draw code. This ensured the info was up to date before drawing. This is no longer possible, as the drawing code uses evaluated objects, and those should not be written to. This has been addressed in rB709f126e8143 by calling the update function explicitly in various places in the code. The problem is that this wasn't added to all necessary spots. - When in edit mode, changes are made to the edit bones but not to the 'actual' bones (this is synced when exiting edit mode). This causes undo to mess up the layer indicators. I think both issues can be addressed by having the dependency graph update the used layer info as part of the armature evaluation. This will make the undo system work properly, and allows the removal of some `BKE_armature_refresh_layer_used()` from various places. There is still the issue that there are two functions (`BKE_armature_refresh_layer_used()` and `ED_armature_edit_refresh_layer_used()`) that are both responsible for updating `bArmature::layer_used`. This is a trickier thing to solve, though, as the definition of the `EditBone` struct resides in the armature editor module. This means that blenkernel can't iterate over edit bones, but on the other hand the dependency graph shouldn't call any editor functions either. This is why I left the `ED_armature_edit_refresh_layer_used()` calls untouched. The downside of recalculating `layer_used` from the dependency graph (at least in the way that I did it now) is that it is called every time a user moves a bone in pose mode. This frequency of updates is not necessary. Differential Revision: https://developer.blender.org/D7709
2020-05-19Fix sculpt mask interpolation in subdivisionsPablo Dobarro
The interpolation function of the datalayer was misssing so the sculpt mask data was corrupted every time a subdivision surface modifier was applied. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7640
2020-05-18Fix NULL pointer access reported by ASAN (harmless in practice but still weak)Brecht Van Lommel
2020-05-18Fix T76851: GPencil brush is reset after change modeAntonio Vazquez
This was introduced by commit rBe58525706328 Now, the brush is not changed when change mode. Thanks @Alaska for helping with this bug.
2020-05-18Fix T76573: Make links with Multires leading to crashSergey Sharybin
2020-05-18Fix error mixing incompatible enums when generating the proxy nameCampbell Barton
2020-05-15Fix T76698: Movie clip stabilize display ignore footage colorspacePhilipp Oeser
settings Stabilized ImBuf just needs to use the same colorspace and alpha settings as the original one. Maniphest Tasks: T76698 Differential Revision: https://developer.blender.org/D7713
2020-05-15GPencil: Fix unreported missing Sculpt/Vertex/Weight paint brushesAntonio Vazquez
This error was introduced wit the change in commit https://developer.blender.org/rB6a850f3cc840 As the brushes were not created, all modes except Edit were broken. Now, the brushes and palette are not created when load the file in versioning code, but when the mode is enabled. Also, if the brush already exist, the parameters are not reset as it was done in the versioning code in order to keep user settings. The same logic is used for the default palette.
2020-05-15Fix T76563: Transforming an auto-aligned point won't set it alignedCampbell Barton
When local origins are used or a single control point is selected, change the handle types from auto to aligned.
2020-05-15Fix T76738: Duplicate brushes cause assertion on undoCampbell Barton
2020-05-15Fix duplicate ID's being created when appending/linkingCampbell Barton
This removes grease pencil brush creation/dat-block delete on load, since this causes duplicate data-blocks. Add assert to prevent this happening in the future since the error is isn't obvious.
2020-05-15Fix error versioning paint-slots pre-2.80Campbell Barton
2020-05-14Sculpt: Render Face Sets always as flat shadingPablo Dobarro
This removes the smooth shading rendering from the face set overlay when smooth shading is enabled. Reviewed By: jbakker Maniphest Tasks: T74906, T74622, T75331, T76530 Differential Revision: https://developer.blender.org/D7105
2020-05-14Fix T75908: Sculpt GPU Batches + Render ArtifactsJeroen Bakker
When sculpting the GPU batches are constructed with only the required data for a single viewport. When that viewport changes shading or coloring mode (object to vertex) batches might not hold all the needed information. There is also a case when you have two 3d viewport one in object color mode and the other in vertex color mode that the GPU batches were updated without any vertex colors. In order to fix these category of issues this patch would always construct the full GPU batches for sculpting. Reviewed By: Clément Foucault, Pablo Dobarro Maniphest Tasks: T75908 Differential Revision: https://developer.blender.org/D7701
2020-05-14Fix sculpt/paint missing undo-step limitingCampbell Barton
2020-05-14Fix T52782: crash rendering more virtual parent particles than childrenBrecht Van Lommel
2020-05-14Fix T66005: crash deleting render slot while rendering to itBrecht Van Lommel
2020-05-13Fix T76646: Crash when changing Size in Add Cube pop-up in some cases.Bastien Montagne
Remove resetting of ID uuid session counter, it is not really needed anymore, and not trivial to do this properly everytime. Thanks @brecht for investigating this.
2020-05-13Cleanup: warningCampbell Barton
2020-05-13Fix T75968: PBVH raycast returns wrong active vertexPablo Dobarro
nearest_vertex_co was not reset when a new triangle was intersected by the ray, so it was always returning the closest vertex to the real cursor position in any triangle, which was not always the triangle under the cursor. Reviewed By: sergey Maniphest Tasks: T75968 Differential Revision: https://developer.blender.org/D7485
2020-05-13Fix T76320: Thread race condition on undo with prefetching enabledRichard Antalik
Stop prefetch jobs before undoing. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7633
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-12GPencil: Add new parameter for SMAA thresholdAntonio Vazquez
This parameter allows to define the threshold for SMAA algorithm. Differential Revision: https://developer.blender.org/D7708
2020-05-12Fix T74694: Sculpt Mask Influences Weight/Vertex Paint DrawingJeroen Bakker
Sculpt overlay assumed that the sculpt session was always in sculpt mode. But the sculpt session was also used for Vertex/Weight painting. This resulted that when a mask was defined in the sculpt mode this resulted into render artifacts. This patch adds a check to see if the object has a sculpt session for OB_MODE_SCULPT. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7704
2020-05-12Fix T76053: Rigid Body properties disappears after deleting rigid body ↵Bastien Montagne
constraint object and undoing. Since we re-use same addresses of IDs with newly read data, and never remap old IDs to 'proper' 'old' ID pointers, it implies that old IDs being deleted will have many ID pointers to new, valid data that we want to keep. In general anyway, code from IDTypeInfo (i.e. low-level ID management code) should never do anything outside of its own ID scope, we cannot guarantee that given ID is in fully valid state regarding its relations to other data-blocks.
2020-05-12Multires: Correct NULL-pointer checkSergey Sharybin
There is some hard-to-reproduce scenario when top level would have masks allocated, but without masks on the sculpt level. Need to check proper array before accessing its elements. The check for top-level masks is done by the caller.
2020-05-12Fix T76514: Invalid geometry in Alembic crashes BlenderSybren A. Stüvel
Even though {T76514} is caused by invalid geometry, and thus technically constitutes a bug in the software that created the Alembic file, I would like Blender not to crash on importing such a file. The error in the Alembic file consists of invalid mesh loops, where consecutive loops refer to the same vertex. The `BKE_mesh_validate()` can actually correct these errors, so this commit focuses on two things: - Letting Blender survive the situation until the mesh is loaded, and - Detecting the error so that `BKE_mesh_validate()` can be called only when necessary. This ensures there is only a minimal impact on performance when loading actually valid data. Differential Revision: https://developer.blender.org/D7703 Reviewed By: JacquesLucke
2020-05-12Fix T75492: Only positive shrink factor values can be animatedJacques Lucke
A better fix would probably be to check if the value is animated, but I'm not sure how to do that. Reviewers: zeddb Differential Revision: https://developer.blender.org/D7692
2020-05-11Fix T76538: Prevent nodesocket creation on certain nodesPhilipp Oeser
- no sockets on Frame nodes - no Input sockets on Group Input nodes - no Output sockets on Group Output nodes Maniphest Tasks: T76538 Differential Revision: https://developer.blender.org/D7671
2020-05-11Fix T76642: Incorrect behavior limiting undo stepsCampbell Barton
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-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-05-07Fix T76510: Eevee OpenVDB render artifacts due to texture clampingBrecht Van Lommel
2020-05-07Fix T76468: volume sequence render not using correct frame in rendersBrecht Van Lommel
Render datablocks were copying state from original datablocks, where the frame number and loaded volume grids were out of sync.
2020-05-07GPencil: Add support for Link ModifiersAntonio Vazquez
This adds support to the Link modifiers data. This was missing. Also I did a small cleanup using LISTBASE_FOREACH macro. Related to T76478 Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D7643
2020-05-07Fix T75793: Mirror modifier UV flip only works on first UDIM TilePhilipp Oeser
Was flipping around the 0-1 range, now (optionally) flip around each tile. Also added this option for BMesh bmo_mirror. Reviewed By: campbellbarton Maniphest Tasks: T75793 Differential Revision: https://developer.blender.org/D7460
2020-05-06Fix T76430: Quick smoke not rendering Cycles and EeveeSebastián Barschkis
Temporary fix that will skip cache invalidation from flow / effector objects.
2020-05-04GPencil: Fix Chisel Brush pressureAntonio Vazquez
In previous commit the pressure was disabled by error.
2020-05-03GPencil: More changes to improve Chisel brushAntonio Vazquez
More small tweaks to get the right "feeling" when drawing. The defaults has been tested by @pepeland.
2020-05-02Cleanup: Fix return NULL from bool type functionRichard Antalik