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-01-21Fix T72213: F-Curve animation does not update FreeStyle propertiesSybren A. Stüvel
FreeStyle line styles were not part of the dependency graph, and blacklisted from the Copy-on-Write system. As a result, animated FreeStyle properties would not be updated by the animation system, resulting in T72213. There was an explicit call to run the animation system on the original datablocks, but that was (for good reasons) removed in D5394. This commit adds the FreeStyleLineStyle datablocks to the dependency graph and allows them to be handled by the CoW system. As a result - the UI now updates properly when properties are animated, and - animated property values are actually used when rendering. This commit includes @Sergey's patch P1222, which unifies two bits of code that did the same thing: check whether datablock type is covered by copy-on-write. Reviewed By: sergey, brecht Differential Revision: https://developer.blender.org/D6609
2020-01-21Fix T62882: Make Dynamic Paint update weights in viewportNico Zevallos
Related to T62882 When the SupportsMapping modifier flag was added to the dynamic paint modifier it was added commented out. It may have not worked back then, but it seems to work fine now. MOD_weightvgedit.c was already updated similarly. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6072
2020-01-20Fix T73110: UDIM Texture Paint CrashPhilipp Oeser
This would happen if a tile is found on disk, painting would actually request that tile (because corresponding uvs were in that range), but that tile was not added in blenders list of tiles in that Image. Need to also check tile in `image_quick_test` (regardless of iuser having passed). thx @lukasstockner97 for additional input! Maniphest Tasks: T73110 Differential Revision: https://developer.blender.org/D6578
2020-01-20Fix T72546: Video Sequencer: Select grouped 'OVERLAP' operator wrongPhilipp Oeser
selection False positive when a sequences end would be the same as active sequences start. Also thx @sybren for the heads up to make this more readable. Maniphest Tasks: T72546 Differential Revision: https://developer.blender.org/D6451
2020-01-20Overlay: Improve Outline diagonal AntialiasingClément Foucault
I doubt we can do much better. Most of the aliasing comes from the edge detection which does not use a lot of samples. We could use more samples but then the detection becomes way more complex and expensive. The second issue comes from the reconstruction (AA pass) that only bleed adjacent pixels in if their line direction is perpendicular to the offset. This makes corner gaps on certain diagonals.
2020-01-20Fix T73162: Modal tools cant be mapped to MMBCampbell Barton
Also rename struct members to 'launch_event', since it's more descriptive and was called this in some places.
2020-01-20Fix T73265: GPencil console error when delete frist frameAntonio Vazquez
2020-01-20Fluid: Fix for liquid domains in cache replay modeSebastián Barschkis
Added missing check that prevented bake from being executed correctly.
2020-01-20Fix T72050 Subdivide method "Straight Cut" not working with N-Gons enabledSybren A. Stüvel
'Straight Cut' is actually documented as creating N-Gons. However, the code was disallowing this. This is probably a mix-up as the "allow N-Gons" option is documented as a "force quad/tri" option.
2020-01-20Bevel: flush selection with non-modal executionCampbell Barton
2020-01-20Fix file browser not excluding AirDrop from the System list on macOSYevgeny Makarov
There is already code for this, it just wasn't working. Now add the slash after checking for an empty string. Differential Revision: https://developer.blender.org/D6568
2020-01-20Fluid: Fix for smoke domain geometry object with adaptive domain enabledSebastián Barschkis
The smoke mesh geometry always needs to be updated when using the adaptive domain.
2020-01-20Fix T73187 Overlay: Stereo 3D Camera not displaying correctlyClément Foucault
2020-01-20Fix T59747 EEVEE: Bug on EnvironmentTextureClément Foucault
2020-01-20Cleanup: remove redundant functionBrecht Van Lommel
2020-01-20EEVEE: Fix crash during lightbakeClément Foucault
2020-01-20Fix T73224: Crash calling UV Sculpt from operator searchCampbell Barton
2020-01-20Fix T73129: sculpt mode slow on mesh with fake userBrecht Van Lommel
We can't use the fast path when the mesh is used by mulitple objects and so slower sculpting is expected then. But fake users should not affect this. This also fixes the same type of error in a few other areas.
2020-01-20Fix T71922: Bisect creates flipped facesCampbell Barton
2020-01-20Fixed secondary particle combined export functionalitySebastián Barschkis
The combined export was using the old flag format.
2020-01-20Fluid: Improved cache file loadingSebastián Barschkis
Cache file loading for mesh and particle files now works through the direct update_structures functions. The final cache mode now also only bakes the most essential files and is therefore not resumable anymore.
2020-01-19Fix T73117: B-Bone twist weirdness in chains with sharp bends.Alexander Gavrilov
When computing the roll value coming from the handle bone, the code was using some strange unexplained math. It probably works fine when the difference with the 'zero roll' orientation is pure twist, like is the case when called from mat3_to_vec_roll. However, it appears to break when significant swing is involved. The issue is fixed by using the proper Swing+Twist decomposition utility function that was added in a recent version for drivers.
2020-01-18Weld Modifier: Reduce size of the leaf nodes to halfmano-wii
This improves performance by reducing the amount of false positives. A self overlap is made, so the distance from the vertices in the overlap nodes is actually added.
2020-01-17Fix memory leak when full-copying a scene after recent changes.Bastien Montagne
Once again, am not exactly sure why that was working before, and not anymore - but in any case, doing that kind of update here is not only useless (since we have to do it at the end of the whole collections/objects duplication and remapping anyway), it is also rather dangerous, as collections are currently in rather invalid states at that point of the code... Note that in ideal world, `BKE_main_collection_sync()` & co would be lazy (setting only a flag, then code actually needing this to be valid again should call some sort of `BKE_main_collection_sync_ensure()`). Then we would not have to worry about such things (and we'd get nice performance improvements in some cases, also in main remapping code, etc.). Food for some refactoring, some day...
2020-01-17Cleanup of previous rBac723db57fd8ba5 commit.Bastien Montagne
Simplify a bit, and remove some now redundant remappings. As a side note, rBac723db57fd8ba5 actually also fixed some unreported issues (missing remappings to new objects/collections in new copied scene, that were not previously handled by the 'custom' code). There are almost certainly still some missing remappings around, though...
2020-01-17Fix T73170: New Scene -> "Full Copy" Crashes Blender.Bastien Montagne
rBac723db57fd8ba5 makes proper remapping of all pointers in Scene... including the object pointers of bases in ViewLayers. Using `BKE_main_collection_sync_remap()` makes sense here anyway (compared to `BKE_main_collection_sync()`, it additionally clears caches in ViewLayers and Collections), this whole code makes a lot of remapping. Note that I do not really understand *why* that was working OK before rBac723db57fd8ba5. I.E. *why* not remapping at all ViewLayers' base object pointers seemed to be OK... This whole collection/viewlayer caching is very hard to follow, and really needs a full rework at some point (just as much as ID copying code in general, and scene copying code in particular, in fact).
2020-01-17Cleanup: remove dead code in full scene copy/make single users area.Bastien Montagne
2020-01-17Cleanup: factorize collection handling in libquery code.Bastien Montagne
Both actual Collection datablocks and the horrible master collection should share the same code (there were already some differences, although probably not critical, but some callbacks from scene->master_collection did not have the 'not self' flag...).
2020-01-17Fix T67942 EEVEE: Crash when empty is set as camera and motion blur is onClément Foucault
2020-01-17Gizmo: draw dial arc only over one rotation to avoid artifactsDavid
There were some visual artifacts when the spin gizmo had a rotation greater than 360 degrees. Avoids this by drawing the arc over the span of one rotation only and adjusting the background color based on the rotation count.
2020-01-17Fix T73186: Grease Pencil convert to Curve hidden until exiting edit modeSybren A. Stüvel
The converted object wasn't tagged for updating its geometry in the dependency graph.
2020-01-17Fix T71154: EEVEE Soft Shadows Viewport RenderingJeroen Bakker
EEVEE Soft shadows were not rendered correctly during viewport rendering. The reason for this is that during viewport rendering the shadow buffers were only update once and not per sample. This resulted that all the samples calculated the same shadow. This fix moves the call to `EEVEE_shadows_update` from cache finished to draw scene. This needs to happen before `EEVEE_lightprobes_refresh`. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6538
2020-01-17Fix T73159: Crash transforming 0 edited grease objectsmano-wii
2020-01-17Fix T73135: Gizmos flicker when changing viewport optionsCampbell Barton
2020-01-17Cleanup: bad brace placement for manually formatted blocksCampbell Barton
2020-01-17Fix T72964: Text editor Python syntax highlighting for numeralsPeter Lönnebring
Less common notation for numbers wasn't highlighted eg: 0b0, 0o0, 0x0, 1.0e0, 1.0E-1, 100_000j
2020-01-17Fix T72905: EEVEE + UV Edit Unused MapJeroen Bakker
There is a cornercase when the user edits an uvmap, that is not part of the material (yet). When this is the case the uvmap was not added to the uv buffer and the 'pos' alias was not created. This change will always request the active uv map when uv editing. Reviewed By: fclem Differential Revision: https://developer.blender.org/D6534
2020-01-17Fix T53178: Casting in Blur node with Relativemano-wii
In this case the user expects rounding.
2020-01-16Fix (unreported) surface deform modifier not reporting its errors in thePhilipp Oeser
UI Seems like we need to set the error with the evaluated ModifierData. Pass this to 'surfacedeformBind' and report with that. Differential Revision: https://developer.blender.org/D6601
2020-01-16Overlay: Fix wrong 3D icon for cubemap lightprobesClément Foucault
2020-01-16Fix T69794 "Bake Cubemap Only" resets Irradiance Volume if world is updatedClément Foucault
Was caused by a clear done for when irradiance need to be baked.
2020-01-16Python: disable environment variables by defaultCampbell Barton
This avoids the problem where Blender doesn't start because the PYTHONPATH points to an incompatible Python version, see T72807. Previously we chose to assume people who set the PYTHONPATH know what they're doing, however users may have set this for non Blender projects. So it's not obvious that this is the cause of Blender not to launch on their system. To use Python's environment vars, pass the argument: --python-use-system-env Note that this only impacts Python run-time environment variables documented in `python --help`, Access from `os.environ` remains.
2020-01-16Fix T53704: Error scaling f-curve handles by -1Campbell Barton
The last handle wasn't corrected, also, there is no reason to flip the handles while sorting (checking the same handles many times) move this into it's own loop.
2020-01-16Fix T72887: Outliner crashes when after undo of some linking operation.Bastien Montagne
Outliner tree building code was not handling properly empty libraries (i.e. Lib datablocks in our bmain which have no used actual data anymore). Main issue here is unclean states of indirect hierarchies of linking involving several libraries after undo operation. This is not a critical issue though, just annoying and untidy.
2020-01-16Fix EEVEE: Planar Reflection data has inverted facingClément Foucault
Unreported bug
2020-01-16Fix T71788 Invalid (pink) shader when using wireframe nodeClément Foucault
This was caused by the clip distance not being passed by the geometry shader.
2020-01-16Fix T70766 EEVEE: Performance drop with node tree in 2.81Clément Foucault
2020-01-16Cleanup: Clarification of the `Particle.uv_on_emitter()` function docsSybren A. Stüvel
Just some rewording of the documentation of `Particle.uv_on_emitter()`, so that it no longer refers to 'derived mesh' but 'evaluated mesh', and document that it expects a modifier from an evaluated object. No functional changes.
2020-01-16Fix T73121: Blender crashes on accessing particle uv_on_emitterSybren A. Stüvel
Blender wasn't checking whether the passed modifier actually contained an evaluated mesh, before accessing the mesh pointer.
2020-01-16Fix crash with Proportional Edit Connected in UV editingmano-wii
Caused by rB86a2ffc3ab32