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-25Mesh: skip conversion from edit-mesh to mesh in edit-modeCampbell Barton
This resolves a performance regression in 2.8x where every edit-mode update performed an edit-mesh to mesh conversion. Now the conversion will be lazily initialized if/when it's required. New BKE_mesh_wrapper_* functions abstract over mesh data access. Currently only edit-mesh and regular meshes are supported. In the future sub-surface meshes may be supported too.
2020-05-25Simulations: pass simulation data block to update functionJacques Lucke
2020-05-25Cleanup: typoJacques Lucke
2020-05-25Merge remote-tracking branch 'origin/blender-v2.83-release'Sybren A. Stüvel
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-24Merge branch 'blender-v2.83-release'Richard Antalik
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-22Cleanup: remove unnecessary NULL testBrecht Van Lommel
2020-05-22Merge branch 'blender-v2.83-release'Philipp Oeser
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-22RNA: Make enum properties compatible with raw access.Bastien Montagne
This will allow to use foreach_get/set on enums of RNA collection items, which can save a lot of time in some cases (see incoming FBX updates).
2020-05-22Merge branch 'blender-v2.83-release'Richard Antalik
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-22Fix T76949: Crash When Selecting Materials Tab.Bastien Montagne
Dummy typo in own recent libquery refactor, of course that one missed change was on a line not covered by our tests or the production file used for validation...
2020-05-21libquery: Cleanup: finish refactor by removing no more used code.Bastien Montagne
2020-05-21Libquery refactor: Cleanup (remove no more used macros).Bastien Montagne
2020-05-21Refactor: Move scene foreach_id to new IDTypeInfo structure.Bastien Montagne
2020-05-21Refactor: Move object foreach_id to new IDTypeInfo structure.Bastien Montagne
2020-05-21Refactor: Move NOP idtypes foreach_id to new IDTypeInfo structure.Bastien Montagne
2020-05-21Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-21Cleanup: spellingCampbell Barton
2020-05-20Merge branch 'blender-v2.83-release'Clément Foucault
# Conflicts: # source/blender/draw/engines/eevee/eevee_volumes.c
2020-05-20Refactor: Move collection foreach_id to new IDTypeInfo structure.Bastien Montagne
2020-05-20Cleanup collection handling in lib_query code.Bastien Montagne
Now we do not need anymore that extra function...
2020-05-20Libquery: refactor: handle scene's master collection like any othe embedded ID.Bastien Montagne
2020-05-20Refactor: Move simulation foreach_id to new IDTypeInfo structure.Bastien Montagne
2020-05-20Refactor: Move pointcloud and volume foreach_id to new IDTypeInfo structure.Bastien Montagne
2020-05-20Cleanup: Keep common IDTypeInfo code separated from ID type specific API.Bastien Montagne
Also remove useless IDTypeInfo callbacks.
2020-05-20Refactor: Move hair foreach_id to new IDTypeInfo structure.Bastien Montagne
2020-05-20Cleanup: Keep common IDTypeInfo code separated from ID type specific API.Bastien Montagne
Also remove useless IDTypeInfo callbacks.
2020-05-20Refactor: Move grease pencil foreach_id to new IDTypeInfo structure.Bastien Montagne
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-20Cleanup: make guarded memory allocation always thread safeBrecht Van Lommel
Previously this would be enabled when threads were used, but threads are now basically always in use so there is no point. Further, this is only needed for guarded allocation with --debug-memory which is not performance critical.
2020-05-20Cleanup: remove legacy mmap memory allocation for 32 bitBrecht Van Lommel
This helped to go beyond the 4GB limit, but is no longer relevant for 64 bit.
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-19Merge branch 'blender-v2.83-release'Philipp Oeser
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-19Merge branch 'blender-v2.83-release'Pablo Dobarro
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-19Merge remote-tracking branch 'origin/blender-v2.83-release'Ray Molenkamp
2020-05-18Fix NULL pointer access reported by ASAN (harmless in practice but still weak)Brecht Van Lommel
2020-05-18Refactor: Move workspace foreach_id to new IDTypeInfo structure.Bastien Montagne
2020-05-18Refactor: Move WindowManager and Screen foreach_id to new IDTypeInfo structure.Bastien Montagne
That one was a bit more complicated, and is still only partial refactor (ultimately we want to have a foreach_id callback in SpaceType itself I think...).
2020-05-18Refactor: Move action foreach_id to new IDTypeInfo structure.Bastien Montagne
2020-05-18OpenSubdiv: Cleanup, Remove from legacy SubsurfCCG codeSergey Sharybin
The CPU side implementation is done on a new dedicate base ground. The GPU side must be redone anyway.