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-09-01GPU: Move UBO binding validation to GL backendClément Foucault
This also make the validation quicker by tracking the currently bound slots.
2020-09-01EEVEE: Volumetric: Fix Mesa Compiler errorClément Foucault
The compiler does not seems to understand the `const` in the function declaration and complains about non constant indexing of unsized array.
2020-09-01EEVEE: Volumetric: Fix missing UBOClément Foucault
This is undefined behavior on certain system.
2020-09-01Cleanup: Fix warnings in our intern bullet api wrapperSebastian Parborg
No functional changes.
2020-09-01Cycles: Followup fixes for node ownership refactor.Stefan Werner
There were some places where nodes still would end up without owners. See D8540 and 429afe0c626a
2020-09-01Fix: Active rigidbodies would not recive updates after the stopped being ↵Sebastian Parborg
animated Because depsgraph isn't rebuild for animated properies, we have to assume that active bodies will always want to have updates from the rigidbody simulation.
2020-09-01CMake: Fix linking errors with gmp librarySergey Sharybin
gmpxx library (C++ version of gmp) uses symbols from libgmp, which means the libgmp is to be passed to the linker after libgmpxx.
2020-09-01Fix compilation error with -Werror=array-boundsJacques Lucke
This error happened only with O2 or O3 in my tests. Casting to uintptr_t and back seems to quiet the compiler.
2020-09-01Cleanup: EEVEE bloom shadersJeroen Bakker
- moved to eevee_shaders - added to test suite Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8763
2020-09-01PyAPI: expose 'bl_options' for operators in bpy.opsCampbell Barton
Useful for checking which operators are only for internal use.
2020-09-01RNA: rename Area.ui_type 'VIEW' enum identifier to 'IMAGE_EDITOR'Campbell Barton
The term makes sense in the image editor, but not among other editors where we had both VIEW and VIEW_3D.
2020-09-01PyAPI: prevent leading comma when printing some enumsCampbell Barton
BPy_enum_as_string (used for creating error messages) showed a leading comma for enums that used category headings. While harmless, it looks odd.
2020-09-01Fix T78601: User count errors when reading home-fileCampbell Barton
Calling: bpy.ops.wm.read_homefile(use_empty=True) exposes invalid user-counts in versioning code. Simplified logic for assigning materials in versioning code. Caused by 29f3af9527259.
2020-09-01Fix errors ensuring grease pencil paletteCampbell Barton
- Direct assignment caused ID user counts to be invalid. - The first palette would always be used, even when the named palette searched for was found. Also pass 'const' string to `hex_to_rgb`, avoid casting to 'non-const'.
2020-09-01Cleanup: don't register mix-in menu classCampbell Barton
The class is only used as a base for other menus. This caused complications for tests that inspect menu contents.
2020-09-01Cleanup: correct doxy sectionsCampbell Barton
2020-09-01Fix T80031: UI: "Stencil Opacity" is vagueAaron Carlisle
This affects the mask opacity not the stencil itself.
2020-09-01Fix T80100: To sphere tooltip uses "vertices" even in object modeAaron Carlisle
2020-09-01GL: Fix two GLerrorClément Foucault
The gizmo one was only reproducible in debug builds. The GLImmediate one was only affecting amdpro drivers when --debug-gpu was enabled.
2020-09-01GLImmediate: Use CL_CHECK_ERRORClément Foucault
This provides a bit more debugging info on MacOS.
2020-09-01GL: Move MacOS debug callback to gl_debug.ccClément Foucault
And format to use the same callback as standard debugging layer.
2020-09-01GPUDebug: Reformat GL debug callbacks and move them to GL backendClément Foucault
Now the callbacks are setup for each debug context. The formating has been reworked to be less verbose and make errors and warnings stand out from the notifications. Errors are most of the time sufficiently explicit in their message. This also remove the support for AMD_debug_output which is 10 years old. This is related to the Vulkan port T68990.
2020-09-01GHOST: Enable debug context on offscreen context tooClément Foucault
This was a long standing TODO. This was also preventing debug callbacks form other context than the main window.
2020-09-01Cleanup: GPU: Remove GPU_draw_primitive and default_vao_Clément Foucault
These are not used anymore and can be replicated using the GPUBatch API.
2020-09-01Cleanup: Use GPUBatch for icon and area drawingClément Foucault
This is in order to remove GPU_draw_primitive to streamline the drawing abstraction.
2020-08-31Cleanup: Comment formatting in unit.cHans Goudey
2020-08-31New Boolean: Always expose solver propery, add warningHans Goudey
After discussion with @howardt, it seems the solver property should always be exposed, even in lite builds. This commit removes the ifdefs for that property and adds a warning if the "Exact" solver is used when Blender is compiled without GMP. These changes apply to the boolean modifier as well.
2020-08-31cleanup: Fix GMP spacing in cmake configurationsRay Molenkamp
It now follows the spacing around it.
2020-08-31Fix unused parameter warning in `snap_increment_apply_ex()`Sybren A. Stüvel
No functional changes.
2020-08-31Remove patch for HDF5 librarySybren A. Stüvel
Delete `hdf5.diff`, because it's no longer used. Since Blender 2.90 the optional support for HDF5 has been dropped, but this file accidentally wasn't deleted. See 0102b9d47edf and 0c3843622726. No functional changes.
2020-08-31Cleanup/Refactor: Split the snap to increments codeGermano Cavalcante
Now we have a better distinction of what is snap to grid and what is snap to increments. The code also allows the implementation of mixed snap for these modes.
2020-08-31Cleanup: GPU: Remove unused attr_binding and primitive codeClément Foucault
2020-08-31GPUImmediate: GL backend isolationClément Foucault
This is part of the Vulkan backend task T68990. This is mostly a cleanup, however, there is a small change: We don't use a special Vertex Array binding function for Immediate anymore and just reuse the one for batches. This might create a bit more state changes but this could be fixed easily if it causes perf regression. # Conflicts: # source/blender/gpu/intern/gpu_context.cc
2020-08-31GLContext: Fix framebuffer deletion to GPUContextClément Foucault
This has more meaning as it's the base class who holds the pointer. # Conflicts: # source/blender/gpu/opengl/gl_context.cc
2020-08-31Cleanup: GPU_immediate: Change assert to BLI_assertClément Foucault
2020-08-31Fix T79973: Re-ordering face maps messes up the names of other face mapsGermano Cavalcante
Use a remap function instead a swap. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D8739
2020-08-31Cleanup: reduce variable scopeJacques Lucke
2020-08-31Cleanup: reduce variable scope and use LISTBASE_FOREACHJacques Lucke
2020-08-31Fix T80126: Alembic Import dialogue has overwrite protection UIPhilipp Oeser
Use `FILE_OPENFILE` when importing, rather than `FILE_SAVE`. Reviewed By: sybren Differential Revision: https://developer.blender.org/D8715
2020-08-31Linux: 2.90 release information in appdataDalai Felinto
2020-08-31Cleanup: Resolve unused variable warning in lite buildHans Goudey
2020-08-31Clang Tidy: Fix readability-delete-null-pointer warningsHans Goudey
2020-08-31Cycles: introduce an ownership system to protect nodes from unwanted deletions.Kévin Dietrich
Problem: the Blender synchronization process creates and tags nodes for usage. It does this by directly adding and removing nodes from the scene data. If some node is not tagged as used at the end of a synchronization, it then deletes the node from the scene. This poses a problem when it comes to supporting procedural nodes who can create other nodes not known by the Blender synchonization system, which will remove them. Nodes now have a NodeOwner, which is set after creation. Those owners for now are the Scene for scene level nodes and ShaderGraph for shader nodes. Instead of creating and deleting nodes using `new` and `delete` explicitely, we now use `create_node` and `delete_node` methods found on the owners. `delete_node` will assert that the owner is the right one. Whenever a scene level node is created or deleted, the appropriate node manager is tagged for an update, freeing this responsability from BlenderSync or other software exporters. Concerning BlenderSync, the `id_maps` do not explicitely manipulate scene data anymore, they only keep track of which nodes are used, employing the scene to create and delete them. To achieve this, the ParticleSystem is now a Node, although it does not have any sockets. This is part of T79131. Reviewed By: #cycles, brecht Maniphest Tasks: T79131 Differential Revision: https://developer.blender.org/D8540
2020-08-30New boolean: silence an "unused" warning.Howard Trickey
Previous commit stopped using some functions. Since I may need them again for future performance tuning, these are just ifdef'd out for now.
2020-08-30Fix T79940 VSE Editor crash when opening a different scene as a stripClément Foucault
This was caused by a double lock of the DRW context mutex. This changes the logic a bit by releasing the DRW context before rendering with BKE_sequencer_give_ibuf and restoring it after. Critical fix for 2.91 Reviewed By: dfelinto Differential Revision: https://developer.blender.org/D8657
2020-08-30New boolean: another performance improvement.Howard Trickey
Instead of calculating exact normals for all faces, just do it for those that potentially intersect. A big improvement for dense meshes that only intersect in relatively few places.
2020-08-30GPUFrameBuffer: Fix build error on MSVCClément Foucault
This also gets rid of the macro.
2020-08-30Fix T80138 Node Editor: Add Frame turns background grayClément Foucault
The removed `UI_ThemeClearColor` made no sense in this context. It must have been a leftover from previous refactor.
2020-08-30Re-enable modifer and bmesh_boolean tests.Howard Trickey
These were disabled in the newboolean merge commit. This commit renables them, using the original 'FAST' solver so that the result objects need not change. A TODO to add more tests using the 'EXACT' solver, though most functionality there is now covered by unit gtests.
2020-08-30GPUShader: Improve shader compilation logClément Foucault
- Print shader type (fragment, vertex, geom) - Support for Apple + intel error format. - Handle formatting a bit more gracefully.