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-08-03Building: Add ceres to Ninja's heavy jobs pool.Bastien Montagne
Some files in this library require more than 1.5Gb to build, so they also belong to the 'heavy' pool.
2020-08-03Fix T79440: Deform modifiers fail in edit-mode when not firstCampbell Barton
Lattice, armature & curve only worked when an edit-mesh was passed in, the mesh argument was being ignored. Regression in 9f5833798caf9
2020-08-03Mesh: correct negative material indices when validatingCampbell Barton
Fixes corrupt mesh from T79451.
2020-08-02Fix T67181: Only the first added movie strip will have audio belowRichard Antalik
Find free slot first for sound strips then for movie strips. This patch also fixes issue where all strips were added to channel 2 by default. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8339
2020-08-02Fix T66805: No cache invalidation with remove gaps operatorRichard Antalik
Reviewed By: brecht Differential Revision: https://developer.blender.org/D8379
2020-08-02Docs: add translation keyword argument default for msgctxtnutti
2020-08-02Fix RST syntax for freestyle documentationnutti
2020-08-02Fix T78691: Fly/Walk navigation ignores object channel locksCampbell Barton
2020-08-02Cleanup: pass const matricesCampbell Barton
Also order return matrices last.
2020-08-02Fix UV face dot refresh when toggling sync-selectCampbell Barton
2020-08-01UV: support select linked with sync-select in vert/edge modesCampbell Barton
2020-08-01Fix T46568: UV select-linked failure to de-selectCampbell Barton
Shift-L was de-selecting all instead of the linked UV's.
2020-07-31Fix T78884: GPencil weight paint crash when painting over modifier generated ↵Antonio Vazquez
points The weight must be added only to the real points, not to the autogenerated points by modifiers. This affects, not only to subdivide, but to any modifier that generate points.
2020-07-31Fix T79111: Cycles: Image Sequence not renderingPhilipp Oeser
Caused by c7aa0f9d743ee9cafe91b4a51d9f1ecc5e437d71. Since above commit, BKE_image_user_frame_calc requires an image (not just the iuser) to get the framenumber. Cycles used to call this with NULL image (in `image_user_file_path` and `image_user_frame_number`), now pass the image as well. Maniphest Tasks: T79111 Differential Revision: https://developer.blender.org/D8439
2020-07-31Fix T78600: Crash when transforming doubles with mirroring onGermano Cavalcante
`EDBM_verts_mirror_cache_begin_ex` could do a better work avoiding these duplicates, but this is a separate problem.
2020-07-31GPencil: Fix unreported missing last point in NURBS conversionAntonio Vazquez
The last point of the curve was missing.
2020-07-31Fix T79397: blurry icons at some UI scales, after recent refactorBrecht Van Lommel
Solution found by Yevgeny Makarov.
2020-07-31Fix build error with clangBrecht Van Lommel
2020-07-31Cleanup: Remove unused original pointer in SequenceSergey Sharybin
2020-07-31Fix T78835: Ghosting audio after using undoSergey Sharybin
The root of the issue comes to the fact that sub-data pointers were used to match strips before/after copy-on-write. The undo system might re-use sub-data pointers after re-allocating them, making it so that, for example, pointer used by sound strip is later re-used by video strip. This fix takes an advantage of recently introduced per-sequence UUID and uses it to match sequences before/after copy-on-write.
2020-07-31Sequencer: Ensure UUIDs are updated when neededSergey Sharybin
Document cases where it seems that they need to be updated, but where the proper behavior is to not update the UUID.
2020-07-31Depsgraph: Add command line argument to debug UUIDsSergey Sharybin
Will trigger code paths which makes sure UUIDs are generated and are unique. Enabled with --debug-depsgraph-uuid (which is also implied by --debug-depsgraph).
2020-07-31Sequencer: Add session UUID check functionSergey Sharybin
Is aimed for use during development and debug, to help verifying that operations do not leave sequences with invalid UUIDs.
2020-07-31Sequencer: Add session UUID management to SequenceSergey Sharybin
This is the first step for having sequences covered with session UUID with the goal to remove code which uses original sequence pointer to match sequences. Currently this UUID is maintained on file load, allocation and leaf duplication function.There are more cases to cover and ensure UUID is re-generated or re-used when needed. It will be done as follow-up development.
2020-07-31Sequencer: Add session UUID field to the Sequence DNASergey Sharybin
2020-07-31BLI: Initial implementation of generic session UUID APISergey Sharybin
Covers basics like generation of new UUID. Also contains code needed to use the SessionUUID as a key in the Map.
2020-07-31Add generic session UUID structures to DNASergey Sharybin
Allows to use pre-defined structure for session UUIDs in all data structures which needs it: pose channels, sequencer strips, modifiers. The goal of all this is to have a reliable way of matching original and copy-on-written versions of data, so that it's possible to preserve runtime caches.
2020-07-31UI: fix buttons ranges not properly updated when tabbing to next/previousPhilipp Oeser
button This was reported for the FCurve modifier restrict ranges, but might fail elsewhere, too. Reason is that the post_but has its range (hardmin/ hardmax etc) set before the updates to the active button take place, so changes here dont end up on the post_but (even though the RNA range function is properly called for a new defined button - new one is not the same as the post_but though). Now update the ranges on the post_but when that gets active. Fixes T78763 Maniphest Tasks: T78763 Differential Revision: https://developer.blender.org/D8265
2020-07-31UI: Label FixesAaron Carlisle
These were added in rB146473f08335e8cb774ccaf1baad82a1d308fbe1 however there were a few errors with the labels: 1. Underscore in label 2. Abbreviation when not needed
2020-07-30Fix T79278: Selected object filter skipping collection instancesNathan Craddock
Collection instance datablocks were not filtered out when only showing the selected object. They were treated as a collection (which should show when filtering objects). Adds a case to check if the parent is an object.
2020-07-30Cleanup: Remove pre 2.80 headersValentin
Review: D8341
2020-07-30Fix T79357: VSE crash on prefetching when performing cutsPhilipp Oeser
Caused by {rBa1a333a1e92e} `BKE_sequencer_prefetch_get_original_sequence` cant get a sequence in `BKE_sequencer_cache_put`. rBa1a333a1e92e moved multiple NULL checks (including the one checking seq) above BKE_sequencer_prefetch_get_original_sequence (this should never return NULL really, but this is for another fix). So solution suggested by @ISS is to just stop prefetching all together before changing content of seqbase. Maniphest Tasks: T79357 Differential Revision: https://developer.blender.org/D8421
2020-07-30Fix T78730: CLOG writes/reads outside allocated memory.Bastien Montagne
Fix several issues in CLOG code: * In `clg_str_reserve`, allocated memory may be bigger than requested one, do not assign the latter back to `cstr->len_alloc`. * `clg_str_vappendf` was mis-interpreting returned value from `vsnprintf`, and completely mixing total allocated memory and extra needed amount of memory to allocate... Simplified code of `clg_str_vappendf` to only have allocating code handled in one place, makes things easier to follow too. Think this should also be beckported to 2.83.
2020-07-30Fix usercount not decrementing in `gpencil_stroke_separate_exec`Philipp Oeser
This is part of T79273 where separating a stroke would result in multiuser gpencil data for the original object. Real underlying issue seems to be that gpencil multiuser objects (also the ones created by Alt+D duplicating) have a problem evaluating modifiers correctly [this will need further investigation]. Not sure if this is a limitation of D5470? This patch only corrects the usercount on separating [which already fixes the scenario reported because singleuser gpencil modifiers work correctly]. Note: we could have also called `ED_object_add_duplicate` with the `USER_DUP_GPENCIL` dupflag -- that would have taken care of the usercount --, but then the whole following logic in `gpencil_stroke_separate_exec` would need to change from **adding** layers/frames/strokes to **removing** these. Part of T79273 Maniphest Tasks: T79273 Differential Revision: https://developer.blender.org/D8419
2020-07-30Fix T79207: Crash converting curve to meshCampbell Barton
2020-07-30Fix T79369: BMesh.calc_volume() gave incorrect resultCampbell Barton
2020-07-30UV: path select support with sync-select enabledCampbell Barton
Also improve region fill with edge-select enabled which often failed to include both vertices from each edge in the resulting region.
2020-07-30Fix UV select with sync select enabled wasn't setting activeCampbell Barton
2020-07-30Fix ghash return value on 'Correct Face Attributes' with 'Keep Connect'Germano Cavalcante
The result was somewhat unpredictable. This error was recently introduced.
2020-07-29Fix failing PLY test, update hash because metadata changedBrecht Van Lommel
2020-07-29Fix T79119: Hook modifier deformation not shown in edit mode.Bastien Montagne
Missing temp `BKE_mesh_wrapper_ensure_mdata` hack for the Hook modifier...
2020-07-29Fix T78285: Invalid thread safety in shrinkwrap modifier code.Bastien Montagne
This uses mesh's runtime mutex for both `BKE_mesh_runtime_looptri_ensure` (was using its own global RW mutex before), and `BKE_mesh_wrapper_ensure_mdata` (was not protected at all before). This is more like a band-aid than a proper fix, as mentioned in the report proper fix would be for the modifier to request those data (the relevant BVHTree, which would implicitely also call the tow others) through flags, just like it does for regular CDData layers. But this is a much bigger refactor to be done outside of bugfix scope. Reviewed By: sergey Maniphest Tasks: T78285 Differential Revision: https://developer.blender.org/D8415
2020-07-29Fix Cloth Brush global Sculpt gravity applied in the wrong falloffPablo Dobarro
Previously, gravity was only applied in the real brush radius, not in the whole simulation radius. For most deformation modes, applying gravity to the entire simulation instead of just to the brush radius and scaled by the radius (like a regular sculpt brush) makes more sense. After this fix and with the cloth collisions patch applied, it is possible to do things like this with the cloth grab brush. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8406
2020-07-29Fix T79054: Crash with Cloth Brush and anchored strokePablo Dobarro
As the comment says, anchored stroke can't rely on the first stroke iteration for creating the simulation data. Probably lost in a cleanup. I also made that anchored stroke doesn't restore the mesh state in the cloth brush, so it can create the simulation effect. Reviewed By: sergey Maniphest Tasks: T79054 Differential Revision: https://developer.blender.org/D8348
2020-07-29Compositor: Fix node preview when input resolution is not knownSergey Sharybin
The final render will use scene resolution in this case. For example, when Color Input is plugger to preview and composite output nodes, final render will flood-fill the final image which is a size of scene resolution with this color. Before this fix the node preview was empty. After this fix the node preview will be flood-filled with the color. Fixes T78586 Differential Revision: https://developer.blender.org/D8263
2020-07-29Compositor: Fix calculation of preview resolutionSergey Sharybin
Were two issues: - Divider was calculated in integer domain, causing rounding issues in general case, and causing singularity in a corner case when input is smaller than the preview size. - The resolution was scaled down by 1 pixel for no obvious reason.
2020-07-29Cleanup: Remove deprecated comment.Bastien Montagne
2020-07-29Cleanup: Always keep unlock at same level as lock.Bastien Montagne
This was fine in those cases with current code, but that kind of assumption is always risky, and an open door to hard-to-track bugs when code changes in the future...
2020-07-29Fix T78826: Move constraint is not fully disabledGermano Cavalcante
Caused by rB45f17e10ec50
2020-07-29Fix T79355: switch to texture paint workspace changes image in other workspacesBrecht Van Lommel
Only automatically change image in editor to follow texture paint editors and workspaces that are visible.