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-06-26Build: show helpful error when accidentally using GNUMakefile on WindowsBrecht Van Lommel
2020-06-26Fixed typo in previous commit (UV fix); had nonsensical self-test.Howard Trickey
2020-06-26Fix T76996: Don't allow baking when domain is not in object modeJacques Lucke
This does not work, because the fluid modifier is not called when the object is e.g. in edit mode. Another possible fix would be to switch to object mode when baking starts automatically. However, I think it is reasonable to simply not allow baking while the domain is in edit mode. Reviewers: sebbas Differential Revision: https://developer.blender.org/D7848
2020-06-26Fix T78310: tweak layout in denoising panel to have more spacingBrecht Van Lommel
2020-06-26Cycles: add experimental preference to replace magic debug value 256Brecht Van Lommel
Previously you'd have to run with --debug-value 256, now just make it a preference so the Debug panel can be always available for developers.
2020-06-26Cleanup: Depsgraph, remove unused `Base *` parameterSybren A. Stüvel
The `Base *` parameter of `DepsgraphRelationBuilder::build_object()` was made redundant by c7694185c92aa. This commit actually removes it. No functional changes.
2020-06-26Fix T76199 Bevel materials "bleed" over faces.Howard Trickey
When there is an odd number of segments, bevel has an ambiguous choice as to which side face to use to copy face attributes from and to use for UV (and other loops that have math function) interpolation. We used to make choice arbitrarily, which led to visually inconsistent results. Now there is tie-breaking code, face with lexicographic lowest value in vector with these elements: (1) connected component (in math-layer space) id (2) selected (0) vs unselected (1) (3) material index (4,5,6): z,x,y components of face center, in that order.
2020-06-26Fix T78071: Drivers reading object visibility not updating automaticallySybren A. Stüvel
A driver reading `Object.hide_viewport` would break when that object was hidden. Hidden objects don't have the `OBJECT_BASE_FLAGS` node in the depsgraph, but that node was required for the driver to work. Now the `OBJECT_FROM_LAYER` component (which optionally contains the `OBJECT_FROM_LAYER` node) has explicit `ENTRY` and `EXIT` nodes, which are used for relations with other components. These relations now remain valid, even when the `OBJECT_FROM_LAYER` node is absent. Differential Revision: https://developer.blender.org/D8124 Reviewed By: sergey
2020-06-26Fix error when filtering in Outliner "Blender File" mode with librariesJulian Eisel
Steps to reproduce were: * Load factory settings * Link any library * Change to "Blender File" display mode in Outliner * Enable filtering * -> Assert fails This may have had further side-effects for linked IDs. Checked with Bastien, the NULL-check seems reasonable. It was initially there but removed in d74f9c4b7b4f. Fine to backport.
2020-06-26Fluid: Fix typos from OpenVDB updateSebastián Barschkis
Some typos that were not noticed in 995185894289.
2020-06-26Cleanup: use percentage formattingCampbell Barton
`str.format` and `f-string` use was minimal. Prefer using a single style of string formatting unless an alternative is more widely adopted.
2020-06-26deps: Fix build issue with USD on windows.Ray Molenkamp
When doing a release build the TBB debug libs are not set which was causing an error during the configure phase of USD, so always set them even if not used.
2020-06-26Fix T71539 EEVEE: Still redraw during playback when it shouldn'tClément Foucault
2020-06-26Fix T78237 UI: NLA colors black and brokenClément Foucault
This was caused by missing GL blend. This patch also fix the broken strip appearance under timeline zoom.
2020-06-26Fix for T78191: Timeline lines changing thicknessHarley Acheson
Fixes issue where lines in timeline are sometimes double-width when hovering in area. Differential Revision: https://developer.blender.org/D8116 Reviewed by Brecht Van Lommel
2020-06-25UI: Slightly simplify box style panel margin offsetHans Goudey
A small cleanup to use fewer if statements.
2020-06-25Fix T77878: Hard minimum for voxel size of the remesh modifierRobert Guetzkow
This patch fixes T77878 in the same way that T72747 was fixed. A hard minimum for the voxel size was added to avoid an arithmetics error. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8027
2020-06-25Fix T77204: Mantaflow Initial velocity bugged?Sebastián Barschkis
Always initialize the particle velocity of newly sampled particles to 0 if there are no initial velocities. Clearing the grid source makes sure that new particles will get a 0 velocity - and not interpolated from the associated grid.
2020-06-25Fix: Displace Modifier UV Layer UI not a pointerCody Winchester
The displace modifier's uv_layer property should be a pointer in the new UI like the other modifiers use. Differential Revision: https://developer.blender.org/D7990
2020-06-25Fix T70193 Overlay: Grid floor disappears for orthographic cameraClément Foucault
The fix is to disable the fading for in the +Z direction in this case.
2020-06-25GPencil: Ensure previous brush is set when change modeAntonio Vazquez
In some situations, the previous brush is not set. This usually happens with previous version files. Related to T78155.
2020-06-25Fix T77285: Incorrect Mantaflow fluid border interaction when collision is ↵Sebastián Barschkis
turned off Incorrect boolean for 'open' domain borders.
2020-06-25Cleanup: Don't use "Use" in boolean namesDalai Felinto
2020-06-25Experimental Features: Use different "categories" for different featuresDalai Felinto
Right now not all the features available there have the same level of polishing. So I split the existing options in: * New Features [Particles Nodes] * Prototypes [Hair] * Debugging [Undo] Differential Revision: https://developer.blender.org/D8121
2020-06-25Fix T78238: issue loading existing .blend files with Optix viewport denoiserBrecht Van Lommel
Also add additional validation to ensure the denoiser is supported before trying to use it.
2020-06-25Fix incorrect Python API description for bpy.data.versionBrecht Van Lommel
Ref T76058
2020-06-25Revert "Fix T78071: Drivers reading object visibility not updating ↵Sybren A. Stüvel
automatically" This reverts commit baa0da3e69a1225cd18c075be5563c7d811b5347. The commit causes some issues I didn't foresee, I'd rather take the time to do it properly than hastily try and commit a fix for it.
2020-06-25Cleanup: spellingCampbell Barton
2020-06-25Fix T78071: Drivers reading object visibility not updating automaticallySybren A. Stüvel
An object can be targeted by a driver that reads its `hide_viewport` or `hide_render` property. The existence of such a driver will create a relation between the 'sync base flags' depsgrpah node, and the datablock containing the driver. When the object is hidden, however, it has no base, and thus it had no 'sync base flags' depsgraph node. To support such a driver, that depsgraph node is now always added, but for hidden objects it will just be a no-op. If the node is not used by anything, it will be automatically disconnected and have a negligible effect on performance.
2020-06-25Cycles: add support for rendering sculpt vertex colorsBrecht Van Lommel
Ref T78041
2020-06-25Build: remove unused lapack/hidapi/mingw32 build infrastructureBrecht Van Lommel
Ref T76184
2020-06-25Build: upgrade OpenImageDenoise to 1.2.1Ray Molenkamp
This requires ISPC for building OpenImageDenoise, so that is now added as a dependency as well. Blender itself does not need ISPC for building so it is not included as part of the precompiled libraries. Differential Revision: https://developer.blender.org/D7641
2020-06-25Build: upgrade a few smaller Linux/macOS only libraries to latest versionsBrecht Van Lommel
* jemalloc 5.2.1 * xml2 2.9.10 * bzip2 1.0.8 * ffi 3.3 * lzma 5.2.5 * ssl 1.1.1g * sqlite 3.31.1 Ref T78252
2020-06-25Fix viewport denoising not working if start samples higher than total samplesBrecht Van Lommel
2020-06-25Python API: add methods to allow copying of constraints.Alexander Gavrilov
Blender has an operator to do Copy & Paste of constraints between objects and bones, but no simple method to do that directly via the Python API is provided. This adds a copy() method to object and pose bone constraint collections. Differential Revision: https://developer.blender.org/D8112
2020-06-25Better fix for crash ( with gpu only ) on render end/abort introduced in 0dced1aJens Verwiebe
2020-06-25Cleanup: spellingCampbell Barton
2020-06-25Edit Mesh: minor drawing optimization extracting loop dataCampbell Barton
Gives around ~5% speedup on high poly meshes.
2020-06-25Fix unreported 1 pixel offset when drawing with GPencilAntonio Vazquez
This bug was introduced in d82c3d86155e Reviewers: @fclem
2020-06-25Fix crashing on render end/abort introduced in 0dced1aJens Verwiebe
2020-06-24Fix T67741 EEVEE: World update don't update lightcache if one viewport uses ↵Clément Foucault
lookdev Just a matter of not clearing the updating flag in this case.
2020-06-24Fix T78215 EEVEE: incorrect Render Passes results when using motion blurClément Foucault
This was caused by a missing DRWPass initialization. Now we create the passes for every timestep but avoid clearing the buffer after the first sample.
2020-06-24Fix T78149: Cycles memory leak rendering animation with EmbreeBrecht Van Lommel
2020-06-24VR: Properly support outputting sRGB swapchain buffersJulian Eisel
Latest SteamVR OpenXR updates brought OpenGL support, but only with sRGB buffers. I think for DirectX it's the same now. It's not a big issue for us to use sRGB buffers, so that's what I will do for now. That way we shouldn't need hardcoded exceptions for specific runtimes that don't transform linear buffers correctly.
2020-06-24Fix T78047: Fix failing denoiser tests on windowsRay Molenkamp
When we switched to MSVC2019 and C++17 we seemingly managed to trigger a code-gen bug with MSVC in the AVX code-path. This change works around the issue by (hopefully temporary) disabling the optimizer for the fast_exp2f4 function, given it is only used in a single pass of the denoiser and nowhere else, this is luckily not as bad as it could have been. Once the compiler is fixed or a different fix is available we'll have to revisit this. Details and link to the repro posted to MS is available in T78047
2020-06-24Fluid: Use OpenVDB as the default cache format for liquids tooSebastián Barschkis
With the updated OpenVDB setup, it is now perfectly fine to use OpenVDB for liquid domains.
2020-06-24Fluid: Fix OpenVDB compiler warningsSebastián Barschkis
Kudos to brecht for noticing the issue
2020-06-24Fix T78213: Windows 10 Build Errors: Extern_Manaflow error messagesSebastián Barschkis
Kudos to LazyDodo for figuring this out
2020-06-24UI: Add Free Handle Types to CurveProfile WidgetHans Goudey
Under the hood the CurveProfile widget (used for bevel custom profiles) uses a bezier curve, but right now though it only supports two of the bezier curve handle types, vector and auto. This patch adds support for free handles and adds all of the logic for editing them. This is the first step to the ability to import and export curve objects in the widget. There's some code cleanup in curveprofile.c. Movement for handles and control points is abstracted to functions there rather than happening in interface_handlers.c. An "Apply Preset" button is also added, which solves a confusing issue where you apply a preset, then change the number of samples and the preset doesn't change. The button makes it clear that the preset needs to be reapplied. Reviewed By: Severin Differential Revision: https://developer.blender.org/D6470
2020-06-24Fix T67319 DRW: Large objects gets incorrectly culledClément Foucault
To avoid this we just bypass culling if the object is too big to avoid float precision issues.