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-14Fix T78902: Only check main modifier panel for expansion propertyHans Goudey
Internally the "show_expanded" property stores the expansion for every subpanel, but for RNA we should only check the first bit of the flag that corresponds to the main panel.
2020-07-14UI: Add missing row in curve profile templateHans Goudey
2020-07-13Cleanup: remove unnecessary memberGermano Cavalcante
`Kfv-> sco` was being treated as a local variable, and can be confusing since this value is not updated when navigating the viewport.
2020-07-13Fix: Fix build error with MSVC in BLI_span_testRay Molenkamp
span.size() returns an uint, causing a signed/unsigned comparison using 3u sidesteps the issue
2020-07-13Fix T78881: Cycles OpenImageDenoise not using albedo and normal correctlyBrecht Van Lommel
Properly normalize buffers now. Also expose option to not use albedo and normal just like OptiX.
2020-07-13Sculpt: Add extra deform types to SmearPablo Dobarro
The smear brush was using the stroke direction to slide colors across the mesh surface (this is called drag in other sculpt tools). Similarly, other deformations can be included. The most common ones in image editing are pinch and expand, which can be used to sharpen transitions between colors. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8270
2020-07-13Fix wrong variable name in Sculpt Vertex Colors experimental checkPablo Dobarro
Reviewed By: sergey Differential Revision: https://developer.blender.org/D8269
2020-07-13Sculpt: Enable color palettes for sculpt vertex colorsPablo Dobarro
Enables the color palette subpanel for brushes that have color capabilities (only the paint brush for now) Reviewed By: sergey Differential Revision: https://developer.blender.org/D8268
2020-07-13IDTemplate: Minor tweak to 'make local/override' code.Bastien Montagne
Only update pointer of the template if we actually changed it...
2020-07-13Fix (unreported) bad handling of undo for some IDTemplates operations.Bastien Montagne
2020-07-13Cleanup: remove some incorrectly placed constsJacques Lucke
Clang-tidy reported that those parameters could be const, but that is not true on windows.
2020-07-13LibOverride: Cleanup: Remove option to disable library overrides.Bastien Montagne
Code is mature enough now to not need this anymore, people who do not want to use liboverrides can just not create them.
2020-07-13Cleanup: silence warningsGermano Cavalcante
2020-07-13MSVC: Fix build error with the 8.1 SDKRay Molenkamp
shobjidl_core.h only exists in the windows 10 SDK in the 8.1 SDK ShObjIdl.h will have the definitions we need, which still exists in the 10 SDK and implicitly includes shobjidl_core.h. so ShObjIdl.h will work on both SDK versions.
2020-07-13EEVEE: Fix sky zenith bugSzymon Ulatowski
Careless use of acos() in spherical coordinates transformation was deteriorating the precision near zenith (and nadir) and producing glitchy pixels (best seen in longer focal lengths). Reviewed By: fclem Differential Revision: https://developer.blender.org/D8266
2020-07-13Fix T78037: fresh install of blender 2.83.0 not able to save user startup file.Bastien Montagne
Simply remove that check ob userdef's themes, we are never read any userdef from startup file anymore, so this check makes no more sense. To be backported to 2.83.
2020-07-13Fix T76687: [Mantaflow] low domain transformation performanceSebastián Barschkis
Implemented G.moving suggestion from comments.
2020-07-13Build: make update support for git tagsBrecht Van Lommel
Previously it only picked the appropriate version with the blender-vX.XX-release branches.
2020-07-13Python API: new RNA property `Screen.is_scrubbing`Sybren A. Stüvel
This commit adds a new read-only boolean property `Screen.is_scrubbing`. The related property `Screen.is_animation_playing` is set to `True` in two situations: - Animation is actually playing (for example via the Play button in the timeline) - The user is scrubbing through time (in the timeline, dopesheet, graph editor, etc.) To distinguish between these two cases, the property `Screen.is_scrubbing` has been added. Concept approved by @brecht.
2020-07-13VSE: Python API, allow creation of VSE Movie strips with missing fileSybren A. Stüvel
It was already possible to create Sound and Image strips that reference non-existing files. Now it's also possible to create Movie strips referencing missing files via the Python API call `Sequences.new_movie()`. In this case, the duration of the strip will be set to 1 frame. Note that this commit does not change anything in the user interface. The Python API of the `MovieStrip` class is extended with a function `reload_if_needed()`. This function only performs disk I/O if the movie strip cannot produce frames, that is either when its filepath points to a non-existing file, or when the video sequence editor has not been shown yet (for example because it is in an inactive workspace). This allows for the following: ``` import bpy scene = bpy.context.scene vse = scene.sequence_editor_create() filepath = bpy.path.abspath('//demo.mkv') strip = vse.sequences.new_movie("movie", filepath, channel=2, frame_start=47, file_must_exist=False) strip.frame_final_end = 327 ``` This will create a new movie strip, even when `demo.mkv` does not exist. Once `demo.mkv` has appeared at the expected location, either `strip.reload_if_needed()` or `strip.filepath = strip.filepath` will load it. Differential Revision: https://developer.blender.org/D8257 Reviewed By: Sergey, ISS
2020-07-13LibOverride: add more polling checks to operators not supposed to work on ↵Bastien Montagne
overrides. This is long work, we are still likely missing a lot of cases...
2020-07-13Cleanup: remove public unused function.Bastien Montagne
2020-07-13Fix T78855: Knife tool crashes when the geometry has no faceGermano Cavalcante
I don't see the need for a BVH Tree to have root but not have leafs. But apparently this case is possible.
2020-07-13Optimization: Use dedicated function to restore customdataGermano Cavalcante
Called when canceling a transform operation.
2020-07-13Cleanup: move unchanged condition out of loopGermano Cavalcante
2020-07-13Fix Extrude Manifold losing original UVGermano Cavalcante
2020-07-13RNA code cleanup: Fix wrong usages of `rna_idproperty_check()`.Bastien Montagne
This function is more expansive than the simpler `rna_ensure_property()` one, and should only be used when IDProperty data is actually needed. If one only needs to ensure it has a valid PropertyRNA pointer, `rna_ensure_property()` is much more efficient. Also add compiler warnings when results of those functions are unused, this should never be the case.
2020-07-13RNA property management: tweak to 'is set' information.Bastien Montagne
Only consider a full IDProperty as set if it actually exists in given PointerRNA data.
2020-07-13I18n utils: fix broken case when 'settings' argument is default NULL one.Bastien Montagne
2020-07-13Cleanup: quiet warnings by adding const in some placesJacques Lucke
The warnings were introduced in rB725973485a909c2b732c5.
2020-07-13Clang Tidy: enable readability-non-const-parameter warningJacques Lucke
Clang Tidy reported a couple of false positives. I disabled those `NOLINTNEXTLINE`. Differential Revision: https://developer.blender.org/D8199
2020-07-13BLI: fix constructor regression for Vector and ArrayJacques Lucke
This was introduced in rB403384998a6bb5f428e15ced5.
2020-07-13BLI: don't allow mutable span of initializer listJacques Lucke
2020-07-13Cleanup: fix clang tidy warningJacques Lucke
The code was actually correct, but clang tidy complaint about using the Vector after it was moved from.
2020-07-13Cleanup: typoJacques Lucke
2020-07-13Sky: Code style and formatting fixesLukas Stockner
Differential Revision: https://developer.blender.org/D8091
2020-07-13Cycles: Clamp Sky Texture altitude to avoid numerical issuesLukas Stockner
Differential Revision: https://developer.blender.org/D8091
2020-07-13Cycles: Account for Sky Texture mapping in the sun sampling codeLukas Stockner
Differential Revision: https://developer.blender.org/D8091
2020-07-13Cycles: Change precomputed Sky Texture mapping to prioritize the horizonLukas Stockner
Differential Revision: https://developer.blender.org/D8091
2020-07-13Cycles: Add control for sun intensity in Sky Texture and change altitude to kmLukas Stockner
Differential Revision: https://developer.blender.org/D8091
2020-07-13Cycles: Add versioning code for the new Sky Texture modelLukas Stockner
Differential Revision: https://developer.blender.org/D8091
2020-07-13Cycles: Remove Vector input on Sky texture when using the included sunLukas Stockner
When using the sun, we need to sun sampling logic to avoid excessive sampling map resolution, but that logic assumes that the Vector input comes from the view direction. That is the case in the vast majority of cases anyways, so the easiest solution is to just remove the input for that case. Differential Revision: https://developer.blender.org/D8091
2020-07-13Cycles: Remove limits on the Sky texture's sun rotationLukas Stockner
For animation/driver purposes, being able to go outside of the 0-360 range makes things easier. Differential Revision: https://developer.blender.org/D8091
2020-07-12Cleanup: disable debug codeJacques Lucke
2020-07-12Cleanup: unused debug variableJacques Lucke
2020-07-12Particles: initial support for forces in simulation node treesJacques Lucke
The force node can now be used to control the behavior of particles. Forces can access particles attributes. Currently, there are three attributes: `Position` (vector), `Velocity` (vector) and `ID` (integer). Supported nodes are: Math, Vector Math, Separate Vector, Combine Vector and Value. Next, I'll have to split `simulation.cc` into multiple files and move some stuff out of blenkernel into another folder.
2020-07-12Nodes: support more implicit conversions in simulation node treeJacques Lucke
2020-07-12Functions: minor improvementsJacques Lucke
2020-07-12Functions: minor api improvementsJacques Lucke
2020-07-11GPencil: Replace "ShaderFX" with "Shader Effects" in RNA prop textAntonio Vazquez