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-08-19Fix T79816: Restore scene.statistics() BPY functionHans Goudey
This RNA/BPY function was removed in c08d84748804. For understandable reasons really-- getting scene statistics from a string displayed in the status bar is not exactly the best design. But we have committed to not changing the RNA API too much for the 2.90 release, so we would like to keep this functionality. Differential Revision: https://developer.blender.org/D8604 Reviewd by: Julian Eisel
2020-08-19Fix incorrect number of recent items displayed in splashBrecht Van Lommel
After recent code cleanup in rB349eebd7.
2020-08-19Cleanup: compiler warningsBrecht Van Lommel
2020-08-19GPUShader: Fix apple clang warningsClément Foucault
2020-08-19DRW: Fix crash drawing gpencilClément Foucault
2020-08-19Turn experimental features ON for masterDalai Felinto
During alpha the user preferences > experimental featuers are available to prevent merge issues and allow developers to seek feedback. This needs to be manually turned off when we branch for beta, otherwise the RNA of the incomplete features will be exposed.
2020-08-19Revert "Turn experimental features on for master (alpha)"Dalai Felinto
I turned on the wrong feature in cmake. This reverts commit bdf43213b25d21528dfa89dc9aeaa41f8d92116e.
2020-08-19Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-19Fix T77300: Some scientific notation evaluation has incorrect resultsHans Goudey
Ref D7922
2020-08-19Cleanup: update mball.c commentsCampbell Barton
Some errors in comments, references to old function names.
2020-08-19Cleanup: spellingCampbell Barton
2020-08-19Cleanup: warningsCampbell Barton
2020-08-19Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-19BLI_listbase: add utility macro for looping over lists with an indexCampbell Barton
Add to the 2.90 branch to avoid problems if fixes from master use it.
2020-08-19UI Code Quality: Use LISTBASE_FOREACH in interface directoryHans Goudey
I only skipped a few loops in the monstrous ui_handle_menu_event function. Also, I only changed variable names where necessary to prevent redeclarations. Differential Revision: https://developer.blender.org/D8586
2020-08-19BLI Listbase: Add iterator macro that increments an indexHans Goudey
2020-08-18Merge branch 'blender-v2.90-release'Clément Foucault
# Conflicts: # source/blender/editors/space_sequencer/sequencer_draw.c
2020-08-18Cleanup: GPUState: Remove GPU_state_init()Clément Foucault
2020-08-18GPUState: Use GPU_viewport to set viewport state in GPU_framebufferClément Foucault
also fix a small issue in GPU_texture_clear.
2020-08-18GPUState: Port default state to StateManager constructorClément Foucault
2020-08-18Cleanup: DRW: Use GPUState instead of raw opengl callsClément Foucault
Should not break anything! Huh!
2020-08-18GPUState: Only apply state before drawingClément Foucault
2020-08-18Cleanup: GPUState: Remove stack from the state manager and rename itClément Foucault
2020-08-18GPUState: Remove gpuPushAttr/gpuPopAttrClément Foucault
And use manual save/restore mechanism. The stack method is not used so much to be considered useful.
2020-08-18GPUState: Make use of GPUStateStack classClément Foucault
This isolate most GL calls to the GL backend. Still a few remains.
2020-08-18Cleanup: GPUState: remove double GPU_blend callsClément Foucault
2020-08-18GPUState: GPU_blend final API renamingClément Foucault
We now use GPU_blend for enabling / disabling blending and explicitly set the blend equation.
2020-08-18Cleanup: GPUState: remove use of GPU_blend_set_funcClément Foucault
2020-08-18Cleanup: GPUState: Replace blend func separate by enumClément Foucault
2020-08-18Cleanup: GPU: Move towards an explicit Blend stateClément Foucault
This make use of the GLStateStack functions for: - `GPU_blend()` - `GPU_blend_set_func()` - `GPU_blend_set_func_separate()` The goal is to unify them using an explicit state setting. This will remove the need to use obscure blend functions
2020-08-18GPUState: Add GL backend and state tracking but do not use itClément Foucault
This is just the backend work. It is not plugged in yet because it needs more external cleanup/refactor.
2020-08-18Cleanup: GPU: Remove uneeded depth precision getter.Clément Foucault
We always use 24bit framebuffers nowadays.
2020-08-18Cleanup: GPUState: remove float variant of GPU_scissor_getClément Foucault
2020-08-18GPUShader: Add debug labelsClément Foucault
This allow better debugging inside renderdoc.
2020-08-18GPUShader: Add back vertformat_from_shader()Clément Foucault
2020-08-18GPUShader: Improve auto nameClément Foucault
Use macro to get calling function name. Helps debugging shaders.
2020-08-18GPUShader: Rewrite error printingClément Foucault
Now error printing only display the line related to the error. We also put char marker if present. Example: ``` -- Shader Compilation Errors : MAMaterial -- 10414 | node_fresnel(, facingnormal, viewposition, tmp34); | ^ | error: syntax error, unexpected ',', expecting ')' ---------------------------------- ```
2020-08-18GPUShader: GL backend isolationClément Foucault
2020-08-18Cleanup: GPU: Replace Batch uniform by shader uniform using macroClément Foucault
This is a first step into removing uniforms from GPU_batch and Imm.
2020-08-18UI: Fix protential stray GPU state preventing correct drawingClément Foucault
Fix potential issue with nodetree introduced in rB47c6f41b8926.
2020-08-18BLI_kdopbvh: Adjust epsilon according to the axisGermano Cavalcante
This corrects the overlap detection for cloths since in this case kdop26 is used and epsilon represents the distance.
2020-08-18Depsgraph: simplify DEG_evaluate_* APIJacques Lucke
This mainly removes the bmain argument, which can be retrieved from the graph itself. Also, I removed some outdated/unnecessary comments. Reviewers: sergey, sybren Differential Revision: https://developer.blender.org/D8614
2020-08-18Sculpt: Enable Cloth Simulation Target for Pose and BoundaryPablo Dobarro
This adds a new brush property called "Deformation Target" which controls how the brush deformations is going to affect the mesh data. By default is set to Geometry, which makes the brushes displace the vertices. When set to Cloth Simulation, the deformation of the brush is applied to the cloth solver constraints, so the simulation is responsible to apply the final deformation. This allows to add cloth simulation effects to other sculpt tools with minor modifications to their code. This patch enables Cloth Simulation deformation target for Pose and Boundary brushes, which are tools that are already designed to work in low poly counts and produce large deformations. This allows creating the most common cloth effects, like bending and compressing folds, without relying on collisions. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8578
2020-08-18Sculpt: Erase Displacement Mesh FilterPablo Dobarro
Same concept as the Multires Displacement Eraser Brush but implemented as a mesh Filter. This allows to delete the displacement of an entire area uniformly. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8608
2020-08-18Sculpt: Enhance Details Mesh FilterPablo Dobarro
Exact same operation as D8509, implemented as a Mesh Filter. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8510
2020-08-18Cleanup: Node: Use checker shader for preview backgroundClément Foucault
Removes many drawcalls which might have slowdown the UI.
2020-08-18Sculpt: Invert Smooth to Enhance DetailsPablo Dobarro
This enables the invert mode in the smooth brush as Enhance Details. The operation is similar to the Sharpen Filter intensify details parameter, which consist in applying the laplacian smooth displacement in the opposite direction calculated using the original coordinates. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8509
2020-08-18Merge branch 'blender-v2.90-release'Clément Foucault
# Conflicts: # source/blender/editors/space_node/node_draw.c # source/blender/editors/space_sequencer/sequencer_draw.c
2020-08-18Fix compiler error in MSVSCAntonio Vazquez
Introduced in: rB20a8edaa725ddbae16179d2f7cea88c097c61615 It broke building on windows, initializing a static may not be done with a function in C.
2020-08-18Fix T79714: Projecting texture from camera failsSybren A. Stüvel
The evaluated mesh is now only recomputed when the required data layers are missing. Previously the evaluated mesh was re-evaluated incorrectly, which caused the stippled result and the failing assert. Since now only the evaluated mesh is used, and never a temporary mesh, there is also no more need to keep track of whether the mesh needs freeing or not. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8574