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-31GPU: Hide GL context specificitied behind class methodstmp-gpu-context-isolationClément Foucault
2020-07-31GPU: Convert gpu_matrix.c to C++Clément Foucault
2020-07-31GPU: Convert gpu_shader_interface.c to C++Clément Foucault
2020-07-30Cleanup: OCIO: Remove extern "C" around blender headersClément Foucault
2020-07-30Fix T79347 GPU: Segfault starting blenderClément Foucault
2020-07-30Merge branch 'blender-v2.90-release' into masterNathan Craddock
2020-07-30Fix T79278: Selected object filter skipping collection instancesNathan Craddock
Collection instance datablocks were not filtered out when only showing the selected object. They were treated as a collection (which should show when filtering objects). Adds a case to check if the parent is an object.
2020-07-30Add compound shape for rigid body simulationDavid Vogel
This patch adds a new compound shape entry to the shape selection dropdown. It also corrects wrong inertia calculation for convex hulls, that resulted in strange behavior for small objects. The compound shape take the collision shapes from its object children and combines them. This makes it possible to create concave shapes from primitive shapes. Using this instead of the mesh collision shape is often many times faster. Reviewed By: Sergey, Sebastian Parborg Differential Revision: http://developer.blender.org/D5797
2020-07-30Merge remote-tracking branch 'origin/blender-v2.90-release'Dalai Felinto
2020-07-30Cleanup: Remove pre 2.80 headersValentin
Review: D8341
2020-07-30Fix T79117: dependency cycle with passive rigid body objectsJacques Lucke
Reviewers: zeddb Differential Revision: D8431
2020-07-30Enable header auto-complete suggestions in XcodeAnkit Meel
Description of `USER_HEADER_SEARCH_PATHS` build setting: " This is a list of paths to folders to be searched by the compiler for included or imported user header files (those headers listed in quotes) when compiling C, Objective-C, C++, or Objective-C++. Paths are delimited by whitespace, so any paths with spaces in them need to be properly quoted. See Always Search User Paths (Deprecated) (ALWAYS_SEARCH_USER_PATHS) for more details on how this setting is used. If the compiler doesn't support the concept of user headers, then the search paths are prepended to the any existing header search paths defined in Header Search Paths (HEADER_SEARCH_PATHS). " http://help.apple.com/xcode/mac/current/#/itcaec37c2a6 Xcode doesn't use `HEADER_SEARCH_PATHS` for auto-complete. Only the header files in the same directory as the current file are suggested. CMake as of now correctly sets `SYSTEM_HEADER_SEARCH_PATHS` and lumps the rest in `HEADER_SEARCH_PATHS`. The standard way is to use `USER_HEADER_SEARCH_PATHS` & `SYSTEM_HEADER_SEARCH_PATHS` and let `HEADER_SEARCH_PATHS` be used as a fallback for compilers which do not distinguish between `<*.h>` and `"*.h"` syntax. So set `USER_HEADER_SEARCH_PATHS` to the include paths specified in the `CMakeLists.txt` files of all targets.
2020-07-30Merge branch 'blender-v2.90-release'Philipp Oeser
2020-07-30Fix T79357: VSE crash on prefetching when performing cutsPhilipp Oeser
Caused by {rBa1a333a1e92e} `BKE_sequencer_prefetch_get_original_sequence` cant get a sequence in `BKE_sequencer_cache_put`. rBa1a333a1e92e moved multiple NULL checks (including the one checking seq) above BKE_sequencer_prefetch_get_original_sequence (this should never return NULL really, but this is for another fix). So solution suggested by @ISS is to just stop prefetching all together before changing content of seqbase. Maniphest Tasks: T79357 Differential Revision: https://developer.blender.org/D8421
2020-07-30GPU: Fix compilation error (missed one)Clément Foucault
2020-07-30GPU: Fix compilation errorClément Foucault
2020-07-30Cleanup: IMB: Put lowercase prefix on static functionsClément Foucault
2020-07-30EEVEE: GLSL refactor/cleanupClément Foucault
- add the use of DRWShaderLibrary to EEVEE's glsl codebase to reduce code complexity and duplication. - split bsdf_common_lib.glsl into multiple sub library which are now shared with other engines. - the surface shader code is now more organised and have its own files. - change default world to use a material nodetree and make lookdev shader more clear. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D8306
2020-07-30IMB: Refactor util_gpu.c to not expose enum gettersClément Foucault
This was causing compiler error on MSVC and is not a good idea in general.
2020-07-30Cleanup: Use MEM_calloc_arrayN in the Cloth BrushPablo Dobarro
Reviewed By: sergey Differential Revision: https://developer.blender.org/D8432
2020-07-30Sculpt: Use constraints in cloth deform brushesPablo Dobarro
Previously, deform brushes were modifying the final positions in the simulation directly, which was causing all sorts of artifacts in the deformed area and problems with other features of the solver. Now these brushes deform a separate array of positions and the solver adds constraints to them, so the real vertices are moved when solving the constraints. This prevents those artifacts and gives the brush a much better behavior. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8424
2020-07-30Sculpt: Enable persistent base for the cloth brushPablo Dobarro
The cloth brush builds the constraints when the stroke starts usign the current state of the mesh. This means that deformations profuced by the simulattion will accumulate after multiple strokes as it will always start from the previous deformed state. While this is useful in many cases, for other uses it is convenient to always simulate the same initial shape, but applying different forces to it. The persistent base options work like the persistent base in the layer brush and allows the cloth brush to not accumulate deformation after each stroke. When enabled, constraints are created for the shape stored in the persistent base instead of from the current state of the mesh. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8428
2020-07-30Merge branch 'blender-v2.90-release'Bastien Montagne
2020-07-30Fix T78730: CLOG writes/reads outside allocated memory.Bastien Montagne
Fix several issues in CLOG code: * In `clg_str_reserve`, allocated memory may be bigger than requested one, do not assign the latter back to `cstr->len_alloc`. * `clg_str_vappendf` was mis-interpreting returned value from `vsnprintf`, and completely mixing total allocated memory and extra needed amount of memory to allocate... Simplified code of `clg_str_vappendf` to only have allocating code handled in one place, makes things easier to follow too. Think this should also be beckported to 2.83.
2020-07-30GPUBatch & GPUImmediate: Use GPUShader instead of using raw OGL handleClément Foucault
2020-07-30Merge branch 'blender-v2.90-release'Philipp Oeser
2020-07-30Fix usercount not decrementing in `gpencil_stroke_separate_exec`Philipp Oeser
This is part of T79273 where separating a stroke would result in multiuser gpencil data for the original object. Real underlying issue seems to be that gpencil multiuser objects (also the ones created by Alt+D duplicating) have a problem evaluating modifiers correctly [this will need further investigation]. Not sure if this is a limitation of D5470? This patch only corrects the usercount on separating [which already fixes the scenario reported because singleuser gpencil modifiers work correctly]. Note: we could have also called `ED_object_add_duplicate` with the `USER_DUP_GPENCIL` dupflag -- that would have taken care of the usercount --, but then the whole following logic in `gpencil_stroke_separate_exec` would need to change from **adding** layers/frames/strokes to **removing** these. Part of T79273 Maniphest Tasks: T79273 Differential Revision: https://developer.blender.org/D8419
2020-07-30Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-07-30Fix T79207: Crash converting curve to meshCampbell Barton
2020-07-30Cleanup: split curve bevel into separate fileHans Goudey
2020-07-30Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-07-30Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-07-30Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-07-30Fix T79369: BMesh.calc_volume() gave incorrect resultCampbell Barton
2020-07-30UV: path select support with sync-select enabledCampbell Barton
Also improve region fill with edge-select enabled which often failed to include both vertices from each edge in the resulting region.
2020-07-30Fix UV select with sync select enabled wasn't setting activeCampbell Barton
2020-07-30Cleanup: spellingCampbell Barton
2020-07-30Cleanup: warningsCampbell Barton
2020-07-30Merge branch 'blender-v2.90-release'Germano Cavalcante
2020-07-30Fix ghash return value on 'Correct Face Attributes' with 'Keep Connect'Germano Cavalcante
The result was somewhat unpredictable. This error was recently introduced.
2020-07-30Cleanup: GPU: Remove GPU_draw.h and move fluid gpu function to DRWClément Foucault
2020-07-30Cleanup: Split gpu_texture_image.c into BKE and IMB modulesClément Foucault
This is in order to disolve GPU_draw.h into more meaningful code blocks. All the Image related function are in `image_gpu.c`. All the MovieClip related function are in `movieclip.c`. The IMB module now has a connection with GPU. This is not strickly necessary and the code could be move to `image_gpu.c` if needed. The Image garbage collection is also ported to `image_gpu.c`.
2020-07-30GPU_draw.h: cleanup before splittingClément Foucault
2020-07-30RNA: Image API: Fix error in NULL check in rna_Image_gl_touchClément Foucault
This check was always returning true.
2020-07-30Cleanup: Rename defineHans Goudey
*_LEN follows names elsewhere in Blender more closely than "_N_"
2020-07-29Fix failing PLY test, update hash because metadata changedBrecht Van Lommel
2020-07-29Sculpt: Cloth Brush Soft Body Influence propertyPablo Dobarro
This property adds constraints to the simulation using the initial location of the vertices, making it behave like a soft body. The strength of these constraints can be modified with the brush parameter. This makes some deformation modes more subtle and predictable, making it possible to use the cloth brush to add surface detail in a more controllable way without loosing completely the original shape of the mesh. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7845
2020-07-29Merge branch 'blender-v2.90-release'Bastien Montagne
2020-07-29Fix T79119: Hook modifier deformation not shown in edit mode.Bastien Montagne
Missing temp `BKE_mesh_wrapper_ensure_mdata` hack for the Hook modifier...
2020-07-29Merge branch 'blender-v2.90-release'Bastien Montagne