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
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Fix T63312: Crash XRay + clippingJeroen Bakker
Outline shaders were only selected when no checker depth was available. Reviewed By: fclem Maniphest Tasks: T63312 Differential Revision: https://developer.blender.org/D4661
2019-04-16ClangFormat: add comments to ignore formattingCampbell Barton
2019-04-16Cleanup: trailing commasCampbell Barton
2019-04-16CMake: add libs needed for gtestsCampbell Barton
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-15Fix T63284: Eevee: Crash when subsurface pass is enabledClément Foucault
Was caused by a NULL texture used as uniform.
2019-04-15Fix T63377: "Principled Volume" node not working anymore in EEVEEClément Foucault
I'm not sur how it ever worked before. There was no texture bound to these sampdensity and sampflame when no volume simulation was happening. This fixes the issue using 1x1x1 dummy textures.
2019-04-15GPencil: New Dots gradientAntonioya
This commit adds support for drawing Dots strokes with a gradient factor to get artistic effects like watercolor. Currently, the option is only supported by Dots materials, and in the future will be added to line strokes, but now there is a limitation on drawing engine and we will keep disabled on Line materials. Also, added the option to align Dots and Boxes strokes textures aligned with the drawing path to get more fluid strokes.
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-14Fix T63587: 3D View clipping region crashesCampbell Barton
2019-04-14Cleanup: doxy commentsCampbell Barton
Use doxy references to function and enums, also correct some names which became out of sync.
2019-04-13Fix T37500: implement Bendy bone segment deformation interpolation.Alexander Gavrilov
Previously B-Bone deformation mapped every vertex to just one B-Bone segment. This results in abrupt transformation differences between the sides of each threshold plane, reducing the quality of B-Bone deformation and making the use of shape keys impractical. This commit replaces this approach with a linear blend between the two closest segment transformations, effectively representing the B-Bone as two weight-blended plain bones for each vertex. In order to distribute the interpolation more evenly along the bone, segment matrices for deformation are now computed at points between the segments and at the ends of the B-Bone. The computation also uses the true tangents of the Bezier curve for the orientation. The nodes at the end of the bone require some special handling to deal with zero-length Bezier handles caused by a zero ease value. The Copy Transforms constraint now also smoothly interpolates rotation and scaling along the bone shape when enabled. The initial version of the patch was submitted by @Sam200. Differential Revision: https://developer.blender.org/D4635
2019-04-13Fix T63563: Grease pencil not visible when contained in a collection ↵Antonioya
instanced in a foreign scene. The check of DUPLI object was used, but as the original object was not in the scene, the VBO data was not available and the draw was empty. Now, the function checks if the original data is in the scene, and set the object as not Dupli to generate the VBO data.
2019-04-133D View: move gizmo draw options out of overlaysCampbell Barton
Gizmo's now have their own popover in preparation for making transform gizmos accessible without having to use tools See: T63518
2019-04-12Fix T63452: View Port/render artifacts while camera movement inAntonioya
Patch provided by @matc
2019-04-11Fix T63467: Edge/vertex selection isnt working properly with X-ray set to 1Sebastian Parborg
Edit mode shows the mesh elements in X-ray mode even if alpha is set to 1. Now the code takes this into account so that you can still select visible mesh elements in X-ray edit mode. view3d_draw_legacy need to be updated with the new XRAY flag macros to avoid crashes. Additional cleanup of the XRAY macro flags were done.
2019-04-113D View: Show the camera frame when Extra's is offCampbell Barton
2019-04-11Fix T63464: Multi UV Maps limited to three with eeveePhilipp Oeser
this was very similar to T60684 (and the UV case was actually reported back then as well), so the fix goes hand in hand with rBbd8039399575 Reviewers: fclem Maniphest Tasks: T63464 Differential Revision: https://developer.blender.org/D4672
2019-04-10Fix T62449: Subsurf+hidden facesJeroen Bakker
When using subsurf (and other modifiers) the edit flags are not propagated correctly. Currently we assume to read the edit flags from the original object which is kind off hinding the real issue. Modifiers use `mesh_new_nomain_from_template_ex` to create a copy from an existing mesh. this method is only used by modifiers. So by placing this we will make sure that editmesh is propagated. Reviewed By: fclem, sergey Maniphest Tasks: T62449 Differential Revision: https://developer.blender.org/D4666
2019-04-10Cleanup: order simple check before function callCampbell Barton
2019-04-09Fix T62114: Wireframe mode selection: selects backside objects when clicking ↵Sebastian Parborg
frontside object in 3d-window Now the depth order of objects when trying to select them is only used when not in X-ray mode. Before, this was only the case in wireframe mode regardless of X-ray settings. I've also unified the usage of V3D_XRAY and XRAY_FLAG as they were basically copies of each other. Reviewed By: Clément Differential Revision: http://developer.blender.org/D4504
2019-04-09Cleanup: BKE_gpencil namingCampbell Barton
- The ambiguous term 'handle' was used where 'ensure' is typically used (get or add when missing). - Rename `current` to `active`, all `current` functions which were also ensuring. - Clarify what is being operated on, using `BKE_gpencil_object_*` for objects, `BKE_gpencil_brush_*` for brushes.
2019-04-09Cleanup: styleCampbell Barton
2019-04-07GPencil: Fix wrong Brush texture for pinned materialsAntonioya
If the Brush had a pinned material with texture, but the material slot was in a different material, the texture was not working. The material was not recovered from brush, but from object.
2019-04-06DRW: Opti: Fix hotspot in DRW_mesh_batch_cache_get_surface_shadedClément Foucault
The hotspot was generated by mesh_cd_layers_type_overlap who was testing way more data than it should have. Here we reduce the whole CD layer mask to a 32bit bitflag that is easily or'ed and tested. Bonus point: We use atomic operation to merge the mask in order to allow future multi-threading. (this was a TODO) In the scene attached to T58188 this removes 5% of CPU time.
2019-04-05DRW: Opti: Replace bound tex/ubo tracking array by bitfieldsClément Foucault
release_texture_slots() and release_ubo_slots() were one hotspot when drawing taking ~9% of total CPU counters for no reason. This was because of the loops using GPU_max_textures that was overkill and slow. Replace those by a simple 64bit bitwise OR operation.
2019-04-05Fix T63292: Crash Workbench Texture DrawingJeroen Bakker
2019-04-05GPencil: Improve drawing feeling in big filesAntonioya
When drawing in big files, the first points of the stroke were not smooth because the system was doing a copy of the depsgraph datablock. Now, the depsgraph is not updated at the beginning and the feeling is far better, especially for big files. To avoid the copy, the original datablock is used while drawing, because it's faster the lookup of the original data, than a full datablock copy. Also some cleanup of the code.
2019-04-04Workbench: Support Transparency + TexturesJeroen Bakker
When texture drawing was enabled the fallback materials were not transparent. The reason was that the solid material was requested. This patch will requesting in this case the material from the forward renderer. Fix: T63077 Reviewed By: fclem Maniphest Tasks: T63077 Differential Revision: https://developer.blender.org/D4641
2019-04-04Fix T63108 Eevee: Wrong Reflection plane matrix if camera view is not centeredClément Foucault
Invert X axis of the Window Matrix (AKA Projection matrix) instead of the View matrix.
2019-04-04Fix T63198 Eevee: Indirect lighting settings arent not updating in LookdevClément Foucault
This was caused by a missing check for those option.
2019-04-04Fix T63278 Eevee: LookDev: Volumetric on even if Scene World is offClément Foucault
2019-04-04EEVEE+Workbench: Show partsys in final renderingJeroen Bakker
In final rendering mode the display type was tested for visibility flag. This should only occus when doing viewport rendering Reviewed By: fclem Maniphest Tasks: T63056 Differential Revision: https://developer.blender.org/D4643
2019-04-04DRW: Fix hair count being limited by recent refactorClément Foucault
This was making Autumn being half naked. Issue was introduced by rBe72dc667c4d3
2019-04-04Fix T63255: Crash when circle select performs selection outside the ↵mano-wii
viewport's bounds.
2019-04-04Fix T61870 Eevee: Object's go completely black if they have a normal mapClément Foucault
The problem was that tangent layers (being computed on demand in the batch cache generation) were generated but if MR_DATATYPE_LOOPTRI was not present (in some cases) and the looptri_len was 0, leaving the CDATA layer cleared.
2019-04-04DRW: Mesh Batch Cache: Fix error in loop custom data layer checkingClément Foucault
2019-04-04Cleanup: redundant castsCampbell Barton
2019-04-04Cleanup: styleCampbell Barton
2019-04-03Fix T63257: Grease Pencil renders incorrectly when in edit-modeAntonioya
2019-04-03Reset background alpha for probe rendering.Alexander Court
Possibly fixes T63005. Reviewers: fclem Reviewed By: fclem Differential Revision: https://developer.blender.org/D4637
2019-04-02Fix T63211: Can't move camera in viewport while realtime render mode onSergey Sharybin
The issue is that Eevee directly evaluates animation on a datablock which is a part of active dependency graph. This is a broken logic by design and requires a complete revamp to support more real life cases when camera is parented to a camera rig, but it is beyond of what i can do with a simple bugfix.
2019-04-02Cleanup: empty expression statement warningCampbell Barton
2019-03-30Fix T63086: Navigation problem with Background/Reference ImagesSebastian Parborg
The issue was the manipulated depth for images would be used when doing distance depth checks. Now we will use the actual depth of the image object when doing such tests. Reviewed By: Clément Foucault Differential Revision: http://developer.blender.org/D4616
2019-03-29Cleanup: styleCampbell Barton
2019-03-29Eevee: Material: Decouple transparent shadows from blend modeClément Foucault
This makes it easier to exclude a surface from casting shadows and can be used to manipulate the shadows even for opaque surfaces. Versionning ensure that old behavior is transfered to new rendering logic.
2019-03-29Fix T61129 Eevee: alpha texture shadow bugClément Foucault
This was due to some shading resources not being bound for the shadow shader. This commit completely remove the shading part when in a shadow shader. Thus making it a bit more lightweight and removing the needed sources.
2019-03-29Eevee: Render: Reduce debug print amount to not decrease perfClément Foucault
This is to fix the slowdown issue experienced on windows when rendering from command line. Fix T59649 Eevee in command-line batch mode is slow with particles/duplis
2019-03-29GPU: Fix color difference when rendering to gpu_py_offscreenClément Foucault
Now we do the color management inside the Draw manager and output CM byte buffer.