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-02EEVEE: Refactor of eevee_material.cClément Foucault
These are the modifications: -With DRW modification we reduce the number of passes we need to populate. -Rename passes for consistent naming. -Reduce complexity in code compilation -Cleanup how renderpass accumulation passes are setup, using pass instances. -Make sculpt mode compatible with shadows -Make hair passes compatible with SSS -Error shader and lookdev materials now use standalone materials. -Support default shader (world and material) using a default nodetree internally. -Change BLEND_CLIP to be emulated by gpu nodetree. Making less shader variations. -Use BLI_memblock for cache memory allocation. -Renderpasses are handled by switching a UBO ref bind. One major hack in this patch is the use of modified pointer as ghash keys. This rely on the assumption that the keys will never overlap because the number of options per key will never be bigger than the pointed struct. The use of one single nodetree to support default material is also a bit hacky since it won't support concurent usage of this nodetree. (see EEVEE_shader_default_surface_nodetree) Another change is that objects with shader errors now appear solid magenta instead of shaded magenta. This is only because of code reuse purpose but could be changed if really needed. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D7642
2020-06-02Revert "Fix T67577: Add-on unregister can't access preferences on factory reset"Campbell Barton
This reverts commit f18ed7ad890ee5c89fc6e6a22e76c732fb5fc1bc. Better leave the fix for 2.9 series.
2020-06-02Cleanup: GPU: Remove GPU_shaderinterface_uniform_ensureClément Foucault
2020-06-02DRW: Remove defered uniform creationClément Foucault
2020-06-02Depsgraph: Remove unneeded `RNA_path_resolve`Jeroen Bakker
Found during research of {T77124}. In `build_driver_data` an identical RNA_path is resolved twice. In stead of resolving it twice this patch will construct the `property_exit_key` based on the resolution of `property_entry_key`. This change isn't noticeable for users. Just a cleanup as it isn't needed to do the same logic twice. Reviewed By: Sergey Sharybin Differential Revision: https://developer.blender.org/D7872
2020-06-02BVHCache: PerformanceJeroen Bakker
This patch changes the BVHCache implementation. It will use a primitive array in stead of the ListBase. The locking is also changed from a global lock to a per cache instance lock. The performance of `gabby.blend` available on the cloud increased from 9.7 fps to 10.5 fps. Reviewed By: Brecht van Lommel Differential Revision: https://developer.blender.org/D7817
2020-06-02DrawManager: Graph Task SchedulingJeroen Bakker
This patch uses a graph flow scheduler for creating all mesh batches. On a Ryzen 1700 the framerate of Spring/020_02A.anim.blend went from 10 fps to 11.5 fps. For each mesh where batches needs to be updated a sub-graph will be added to the task_graph. This sub-graph starts with an extract_render_data_node. This fills/converts the required data from Mesh. Small extractions and extractions that can't be multi-threaded are grouped in a single `extract_single_threaded_task_node`. Other extractions will create a node for each loop exceeding 4096 items. these nodes are linked to the `user_data_init_task_node`. the `user_data_init_task_node` prepares the userdata needed for the extraction based on the data extracted from the mesh. Note: If the `lines` and `lines_loose` are requested, the `lines_loose` sub-buffer is created as part of the lines extraction. When the lines_loose is only requested the sub-buffer is created from the existing `lines` buffer. It is assumed that the lines buffer is always requested before or together with the lines_loose what is always the case (see `DRW_batch_requested(cache->batch.loose_edges, GPU_PRIM_LINES)` in `draw_cache_impl_mesh.c`). Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7618
2020-06-02Fix T66967: skin modifier crash scaling skin radius to zeroCampbell Barton
2020-06-02Turn most flags in BlenderDefRNA into proper bool.Bastien Montagne
2020-06-02Cleanup: RNA: use `BlenderDefRNAtruct` named members initialization.Bastien Montagne
2020-06-02GPU: ShaderInterface: Refactor to setup all uniform at creation timeClément Foucault
This remove the complexity of queriying the locations at runtime and allows for more performance and upfront binding specifications. The benefit of doing everything at creation time is that we can assign binding points in a predictable order which is going to be somewhat the same for every similar shader. This also rewrite GPU_vertformat_from_shader to not use shaderface. This is to keep the shaderface simple. If it becomes necessary to not query the shader after creation (i.e: vulkan?) we could just create the vert format in advance at compilation for PyGPU shaders. Reviewed By: brecht Differential Revision: https://developer.blender.org/D7879
2020-06-02GPU: Texture: Replace internal sampler state by explicit state objectClément Foucault
This makes it easier to track as well as allowing us to sample the same texture with different sampling parameters (which should fix the related T73942 in the long run). Reviewed By: brecht Differential Revision: https://developer.blender.org/D7831
2020-06-02Merge branch 'blender-v2.83-release'Campbell Barton
2020-06-02Fix T76533: Gizmo uses active face center in edge selection modeCampbell Barton
Only use the active face when it's selected.
2020-06-02Merge branch 'blender-v2.83-release'Bastien Montagne
2020-06-02Cleanup: use C++'s nullptr instead of our own C NULL define, in C++ code.Bastien Montagne
2020-06-02Merge branch 'blender-v2.83-release'Bastien Montagne
2020-06-02Fix T77192: Crash when opening bunny.blend file.Bastien Montagne
New depsgraph code handling drivers was not checking for possible NULL rna_path, as done everywhere else in code...
2020-06-02Merge branch 'blender-v2.83-release'Campbell Barton
2020-06-02Fix T72088: Missing header redraw when transform changes snapCampbell Barton
2020-06-02Merge branch 'blender-v2.83-release'Campbell Barton
2020-06-02Cleanup: code comments for mode switchingCampbell Barton
Comment on mode switching cases that are supported, including the issue from recent regression T77217 which is easy to miss since it's not used in the default key-map.
2020-06-02Fix T77239: snap 3D cursor in edit-modeCampbell Barton
2020-06-02Cleanup: Remove Obsolete Current Frame Indicator Drawing CodeHans Goudey
This code was made obsolete by the changes to the animation editor scrubbing areas in D4654. Differential Revision: https://developer.blender.org/D7898
2020-06-02Fix snap3d crash (missing NULL check)Campbell Barton
2020-06-01Sculpt: Cloth FilterPablo Dobarro
This tool is similar to the cloth brush, but it applies the cloth simulation deformation to the whole mesh in an uniform way. The simulation can be controlled using the mask to pin vertices and the face sets to define force action areas. It uses the same solver as the cloth brush which now no longer depends on StrokeCache. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7857
2020-06-01Sculpt: Pose Brush Face Sets FK modePablo Dobarro
This Pose Brush origin mode simulates an FK deformation in the entire model when clicking on the face sets, as they were controls of a fully rigged character. Combined with the previous Face Sets modes that allow creating IK chains, the pose brush should now be able to simulate most of the common rigs deformations. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7839
2020-06-01Cleanup: Remove unused flagGermano Cavalcante
2020-06-01Fix mesh filter using the wrong face set as activePablo Dobarro
This was returning the wrong face set in cases where the active vertex has more than one available face set. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7858
2020-06-01UI: Rename "View Camera Center" Op to "Frame Camera Bounds"Hans Goudey
The current name isn't very specific about what the operator does. The operation is more about lining up the edges with the viewport edges than centering the view. Differential Revision: https://developer.blender.org/D7866
2020-06-01Fix T74552: Distribute negatives in number inputHans Goudey
This applies a relatively simple solution for fixing some unintuitive cases in unit handling. Currently entering -1m50cm evaluates to -0.5m, and similarly 1'6" evaulates to just half a foot. So effectively there's an implied + just between the numbers, which is quite confusing. This works by adding parentheses so the negative distributes to the block of values before the next operator. For example: | Before | After | | `-1m50cm + 1m -2m50cm` | `-(1m50cm) + 1m -(2m50cm)` | | `-4m + 0.5 / -1.1` | `-(4m) + 0.5 / -(1.1)` | | `-1'6"` | `-(1'6")` | | `-1e-2cm` | `-(1e-2cm) ` | Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D7813
2020-06-01Merge branch 'blender-v2.83-release'Campbell Barton
2020-06-01Fix T77217: Object mode toggle doesn't workCampbell Barton
Toggling object mode to the previous wasn't working, also resolves a case when toggling modes would cause an extra, unnecessary mode switch. Own regression in 5159b8e1eadb3.
2020-06-01Merge branch 'blender-v2.83-release'Campbell Barton
2020-06-01Merge branch 'blender-v2.83-release'Campbell Barton
2020-06-01Fix T77241: NDOF navigation doesn't work with the knife toolCampbell Barton
Also allow NDOF with loop-cut.
2020-06-01Cleanup: unused variable warningCampbell Barton
Also remove unnecessary function return value.
2020-06-01Cleanup: clang-formatCampbell Barton
2020-06-01UI: rename "Select Playhead" to "Select -> Side of Current Frame"Campbell Barton
Make this consistent with meshes select side of active, also rename "Under" to "Overlap" as this is confusing since strips can be considered above/under each other relative to their channels.
2020-06-01UI: use term current frame instead of playheadCampbell Barton
Avoid mixing different terminologies up, current frame is used in a majority of Blender.
2020-06-01Cleanup: warningCampbell Barton
2020-06-01Fix T77043: Incorrect cache invalidation when changing resolution.Richard Antalik
Invalidate cache of scene, not scene strips using said scene.
2020-06-01Cleanup: error building on LinuxCampbell Barton
2020-06-01Fix T67577: Add-on unregister can't access preferences on factory resetCampbell Barton
2020-06-01VSE: Add warnings for failed proxy encodingPeter Fog
Add more descriptive warnings if building proxy fails. Prevent progressbar from showing if no valid strip is selected. Reviewed By: ISS Differential Revision: https://developer.blender.org/D7689
2020-06-01VSE: Add select under playhead, and shortcuts for left, right, under.Peter Fog
Add `UNDER` option for `left_right` property of `sequencer.select` operator. Add Equal as shortcut for select under playhead, and move Insert Gaps to backspace + ctrl. Add extend shortcut for left, right under options. The function is added to Select > Playhead menu. Reviewed By: ISS Differential Revision: https://developer.blender.org/D7679
2020-06-01Merge branch 'blender-v2.83-release'Campbell Barton
2020-06-01Cleanup: warningsCampbell Barton
2020-06-01Cleanup: Remove unnecessary step in calling snap callbackGermano Cavalcante
2020-06-01Fix T77194: Force global orientation on select constraint (Shift MMB) not ↵Germano Cavalcante
working This feature was a hack to prevent mmb select to print the orientation from menu in pre 2.80 versions. Removing this feature as it is no longer an issue.