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-20Cleanup: clang-formatCampbell Barton
2020-08-20Cleanup: Outliner active indicator repeated codeNathan Craddock
Refactor the code to draw the roundrect behind outliner icons for active elements into a single function. No functional changes.
2020-08-20Cleanup: Remove unused variables for horizontal panelsHans Goudey
Continuing the work of eb9055a572c3, remove remaining unecessary variables and arguments that were related tabbing and horizontal alignment of panels. For example, "vertical" was always true, and removing that exposed other unused variables.
2020-08-20Cleanup: Remove unused variableHans Goudey
2020-08-19BLI: fix memory leak in delaunay 2dJacques Lucke
Differential Revision: https://developer.blender.org/D8633
2020-08-19UI: Remove panel X axis closing codeHans Goudey
Horizontal panel alignment hasn't been used for years, and we have no plans to use it in the future. It adds a fair amount of complexity to the panel code which makes adding features take longer. This code removes the X closing flag, and all of the logic / variables unused without it. This commit includes a file subversion bump. Differential Revision: https://developer.blender.org/D8601
2020-08-19BLI: improve leak detection in testsJacques Lucke
This actually found a bug in my previous commit.
2020-08-19GPUState: Fix signed / bitfield conversion leading to wrong enum valueClément Foucault
This was creating drawing issues on windows builds.
2020-08-19Fix warning from narrowing conversionJacques Lucke
2020-08-19BLI: improve exception safety of Vector, Array and StackJacques Lucke
Using C++ exceptions in Blender is difficult, due to the large number of C functions in the call stack. However, C++ data structures in blenlib should at least try to be exception safe, so that they can be used if someone wants to use exceptions in some isolated area. This patch improves the exception safety of the Vector, Array and Stack data structure. This is mainly achieved by reordering some lines and doing some explicit exception handling. I don't expect performance of common operations to be affected by this change. The three containers are supposed to provide at least the basic exception guarantee for most methods (except for e.g. `*_unchecked` methods). So, resources should not leak when the contained type throws an exception. I also added new unit tests that test the exception handling in various cases.
2020-08-19LibOverride: Add initial version of 'resync' operation.Bastien Montagne
Available from the usual ID submenu in the Outliner context menu. The goal of this operator is to re-create the override from the linked data, while preserving existing defined overrides. This allows to update local opverrides when relations between datablocks are changed in source library linked data. Part of T76555.
2020-08-19GPencil: Change default Onion Keyframe mode to ALLAntonio Vazquez
Now by default the selection mode is All keyframes types. Also removed the icon for All option and renamed from `All Types`to `All`. UI review by @pablovazquez
2020-08-19RNA: Validate scene/view-layer combination for statistics queryJulian Eisel
Users may input an invalid scene/view-layer combination via Python. We can easily detect that and fail gracefully. Besides checking input parameters in RNA, also assert the scene/view-layer combination is valid in lower level Depsgraph lookup function (called by statistics query).
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-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-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.