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-07-02Fix memory leak calculating deform modifiers in edit-modeCampbell Barton
This bug goes back to 2.80 but doesn't seem to have been reported.
2020-06-30Fix T77460: Easy to create cyclic dependencies in collections and crash Blender.Bastien Montagne
Cyclic check was not checking for collections instanciated by objects...
2020-06-30Fix crash when opening some old/broken .blend files after recent fix.Bastien Montagne
Now that `BKE_main_collections_parent_relations_rebuild()` is called from readfile code, we need to make it resilient to potential NULL master collection pointer in scenes.
2020-06-25Bumped version o blender v2.83.2-betaJeroen Bakker
2020-06-25Revert "Fix T77460: Easy to create cyclic dependencies in collections and ↵v2.83.1Jeroen Bakker
crash Blender." This reverts commit 293b00beb5df27b4455de743fd0684f0988153b0.
2020-06-25Fix T77774: New undo code broken by 'make local' behavior.Bastien Montagne
This is actually a nice issue due to too much optimization... * Making an ID local just reuse the linked one whenever possible, instead of actually making a copy of it. * Therefore, the collection containing that ID is seen as unchanged, since the pointer itself remained the same. * But on undo step, there is no way to reuse that local object, which then gets deleted, and linked one gets re-created - at a different address. * Collection, however, since unchanged, is not updated at all and thus keeps reference to the to-be-deleted local object, instead of the linked one. * Issue gets even worse with viewlayers, this leads to the crash. To address this, this patch adds a 'virtual' update flags that does nothing in update case, but will ensure that the affected IDs using the one made local are properly detected as changed across the relevant undo step. Note that the recalc flags were chosen mostly for a logical reason, and also because they are already properly dealt with and cleared by undo code, so this looks like the optimal solution. Note: slightly ammended for 2.83, change should not have any effect in practice. Reviewed By: brecht Maniphest Tasks: T77774 Differential Revision: https://developer.blender.org/D8006
2020-06-25Revert "Fix T77774: New undo code broken by 'make local' behavior."Jeroen Bakker
This reverts commit 554ed613ae5f26b205f65ed950ae50baf9f009b5.
2020-06-25Fix T75414: Incorrect masking in Color Balance modifierRichard Antalik
Color balance factor was infinity. Clamp to +/- `FLT_MAX` Reviewed By: sergey Differential Revision: https://developer.blender.org/D7884
2020-06-25Fix T77460: Easy to create cyclic dependencies in collections and crash Blender.Bastien Montagne
Cyclic check was not checking for collections instanciated by objects...
2020-06-25Fix T77774: New undo code broken by 'make local' behavior.Bastien Montagne
This is actually a nice issue due to too much optimization... * Making an ID local just reuse the linked one whenever possible, instead of actually making a copy of it. * Therefore, the collection containing that ID is seen as unchanged, since the pointer itself remained the same. * But on undo step, there is no way to reuse that local object, which then gets deleted, and linked one gets re-created - at a different address. * Collection, however, since unchanged, is not updated at all and thus keeps reference to the to-be-deleted local object, instead of the linked one. * Issue gets even worse with viewlayers, this leads to the crash. To address this, this patch adds a 'virtual' update flags that does nothing in update case, but will ensure that the affected IDs using the one made local are properly detected as changed across the relevant undo step. Note that the recalc flags were chosen mostly for a logical reason, and also because they are already properly dealt with and cleared by undo code, so this looks like the optimal solution. Reviewed By: brecht Maniphest Tasks: T77774 Differential Revision: https://developer.blender.org/D8006
2020-06-22Bumped blender version to 2.83.1Jeroen Bakker
2020-06-18Bumped file subversion to 19Jeroen Bakker
2020-06-18GPencil: Improve viewlayer masking checkAntonio Vazquez
Check if the mask layer is used in a layer that is going to be used in the current viewlayer. Related to T77667
2020-06-11GPencil: Fix unreported error in Dots Strokes material initializationAntonio Vazquez
The materials was not initializated in the right mode.
2020-06-11Fix T77358: Gpencil can't select geometry within transparent layersAntonio Vazquez
This was an old check of opacity for editable layers, but with new system it's not needed because you can use the edit lines.
2020-06-11Fix T77520: GPencil viewlayer filter produce crash with masking layersAntonio Vazquez
If a layer is used for masking, it cannot be filtered by viewlayer because the masked layer needs to have the mask layers in the draw pipeline. This check is only done in final render.
2020-06-11Fix T77156: GPencil view layer filter by layer not workingAntonio Vazquez
This was removed by error during the refactor done in 2.83. Differential Revision: https://developer.blender.org/D7909 Reviewers: @fclem
2020-06-03Remove trailing spacev2.83Nathan Letwory
2020-06-03Move 2.83 from beta to releaseNathan Letwory
2020-06-02UI: Fix T77173: Report Background Colors for 2.83 ReleaseHans Goudey
This is a temporary solution for T77173 for the 2.83 release. D7203 provides a more long term solution for future releases. This adds theme colors for the three report backgrounds, setting them to the color used in 2.82. A separate commit in the addons repository will follow for changes to the bundled themes. Differential Revision: https://developer.blender.org/D7908
2020-06-01Cleanup: warningsCampbell Barton
2020-05-29Blender: change bugfix release versioning from a/b/c to .1/.2/.3Brecht Van Lommel
The file subversion is no longer used in the Python API or user interface, and is now internal to Blender. User interface, Python API and file I/O metadata now use more consistent formatting for version numbers. Official releases use "2.83.0", "2.83.1", and releases under development use "2.90.0 Alpha", "2.90.0 Beta". Some Python add-ons may need to lower the Blender version in bl_info to (2, 83, 0) or (2, 90, 0) if they used a subversion number higher than 0. https://wiki.blender.org/wiki/Reference/Release_Notes/2.83/Python_API#Compatibility This change is in preparation of LTS releases, and also brings us more in line with semantic versioning. Fixes T76058. Differential Revision: https://developer.blender.org/D7748
2020-05-27Fix T75096: Crash when using liquid simulation as dynamic paint brushJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D7853
2020-05-25Fix T76941: "Set Inverse" in Child Of constraint broken with armaturesSybren A. Stüvel
When the Child Of constraint is owned by a bone, before the constraint is run the matrix is converted from world to pose space. However, setting the inverse should also take the armature object's transform into account.
2020-05-25Cleanup: ID makelocal code: remove useless and confusing debug code.Bastien Montagne
Thing is, user code should not have the responsibility to check that libquery is valid. Such checks are only source of confusion and errors as nobody will think about finding and updating them in some obscure specific area of the code...
2020-05-25Fix T76997: bad handling of embedded IDs in partial append.Bastien Montagne
Code dealing with embedded data was pre-existing proper generic handling of those by `BKE_library_foreach_ID_link()` - and was never updated for scene's master collection it would seem... Note that such fix/refactor is a bit risky at this point in the release cycle, but on the other end previous situation was really broken. So finger crossed. :|
2020-05-25Fix T76897: Lamp Power Not Updating from DriverSybren A. Stüvel
Lamps were not tagged with `ID_RECALC_SHADING` when they were updated from drivers. As a result, Cycles considered the lamp as unchanged. This is resolved by having a (seemingly non-functional) callback in a new `LIGHT_UPDATE` depsgraph node. This patch unconditionally adds the `LIGHT_UPDATE` node + the relation from the lamp's PARAMETERS node. Differential Revision: https://developer.blender.org/D7822 Reviewed by: brecht
2020-05-24Fix(unreported): Crash on prefetching while transforming strip.Richard Antalik
While investigating T76274, I found crash scenario when playhead is near end frame and moving a strip. It is not as easy to reproduce, about 5% success rate, and it will be even harder after rB4066c921fbe5. Exact cause wasn't identified yet. I wanted to disable prefetching during modal operator execution in VSE, but currently I don't have any signalling method in place. Checking for G.moving seems to resolve this problem, but it doesn't adress root cause of bug. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7820
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