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-14Fix T79651: Bounding box is wrong after duplicate objectAntonio Vazquez
The bounding box is not updated in the original object when the function is called using evaluated object and keeps wrong while the object is not edited or the file saved. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D8565 Notes: Minor changes done in the patch following review comments.
2020-09-14Fix T80705: Single Image Texture Painting CrashJeroen Bakker
Regression introduced by {D8234}; GPU textures can be requested without an image user.
2020-09-14Fix T72584: Hiding a collection don't hide a child object in viewport when ↵Manuel Castilla
in Local View Hiding a collection should hide all children objects even when we are in Local view with one of them. Note from reviewer: We are doing this already for local collections. So may as well do it when hiding the collections for the entire view layer. Developer details: In function "BKE_object_is_visible_in_viewport" object flag BASE_VISIBLE_VIEWLAYER wasn't being checked when we were in Local view, It's now changed so that it's checked even if we are in Local view. And this function was called by some viewport draw functions to check if it should draw an object or not. Maniphest Tasks: T72584 Differential Revision: https://developer.blender.org/D7894
2020-09-12Cleanup: missing-variable-declarations warningCampbell Barton
2020-09-11Constraints: Child-Of, set inverse matrix upon creationJoseph Brandenburg
Set the inverse matrix when the Child Of constraint is created. This prevents the bone/object from jumping away when the constraint is added, improving usability. Reviewed by: sybren Differential Revision: https://developer.blender.org/D8851
2020-09-11Refactor: move CacheFile .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-11Refactor: move Sound .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-11Refactor: move Simulation .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-11Refactor: move Volume .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-11Refactor: move PointCloud .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-11Refactor: move Hair .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-11Refactor: move GPencil .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-11Refactor: move Texture .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-11Use DrawManager for Image/UV EditorJeroen Bakker
This project moves the current UV/Image editor drawing to the draw manager. Why would we do this: **Performance**: Current implementation would draw each texel per time. Multiple texels could be drawn per pixel what would overwrite the previous result. You can notice this when working with large textures. Repeat image drawing made this visible by drawing for a small period of time and stop drawing the rest. Now the rendering is fast and all repeated images are drawn. **Alpha drawing**: Current implementation would draw directly in display space. Giving incorrect results when displaying alpha transparent images. This addresses {T52680}, {T74709}, {T79518} The image editor now can show emission only colors. See {D8234} for examples. **Current Limitations** Using images that are larger than supported by your GPU are resized (eg larger than 16000x16000 are resized to 8k). This leaves some blurring artifacts. It is a low priority to add support back of displaying individual pixels of huge images. There is a design task {T80113} with more detail. **Implementation overview** Introduced an Image Engine in the draw module. this engine is responsible for drawing the texture in the main area of the UV/Image editor. The overlay engine has a edit_uv overlay which is responsible to draw the UV's, shadows and overlays specifically for the UV Image editor. The background + checker pattern is drawn by the overlay_background. The patch will allow us to share overlays between the 3d viewport and UV/Image editor more easily. In most cases we just need to switch the `pos` with the `u` attribute in the vertex shader. The project can be activated in the user preferences as experimental features. In a later commit this will be reversed. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8234
2020-09-11Cleanup: spelling, correct commentsCampbell Barton
2020-09-11Cleanup: const cast warning, use string replace functionCampbell Barton
2020-09-10Sculpt: Enable pen pressure for Scrape/Fill Area RadiusPablo Dobarro
This should improve the issue with Scrape accumulation in concave surfaces. When the strength of the brush is higher, the area radius is also bigger, so the scrape plane is more stable preventing it from accumulating displacement in the same area. The Scrape/Fill default presets are also updated to include this functionality. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8821
2020-09-10Fix T80191: GPencil - Improve Mesh conversionAntonio Vazquez
There were some problems when converted several objects at the same time, especially with the material conversion. The problems were more visible when bake an animation with several objects at the same time. * Now the layer name include the object name. * Reorganize how the materials are generated including object name. * Fix color not converted to sRGB. * Avoid triangles when generate the stroke. This fix a draw manager issue and also add more geometry to use later. * Code cleanup.
2020-09-10Refactor: move Key .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move LightProbe .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move Armature .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move Speaker .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move Mask .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move World .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move Camera .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move Curve .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move MetaBall .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move Material .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move Light .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move Image .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move Brush .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move PaintCurve/Palette .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move MovieClip .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move VFont .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Cleanup: extract functions for PackedFile .blend I/OJacques Lucke
2020-09-10Refactor: move Text .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move LineStyle .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move bNodeTree .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move keyingset .blend I/O to blenkernelJacques Lucke
Ref T76372
2020-09-10Fix T79626: 2.91 Mantaflow crash when adaptive domain + noise are enabledSebastián Barschkis
Crash was caused by an incorect domain size of the noise solver and an index out of bounds.
2020-09-10Refactor: move Action .blend I/O to IDTypeInfo callbacksJacques Lucke
2020-09-10Refactor: move preview image .blend I/O to blenkernelJacques Lucke
Ref T76372
2020-09-10Cleanup: spellingCampbell Barton
2020-09-09Fluid: Fix for GSoC display controls projectSebastián Barschkis
Load all grids when the grid display option is turned on. Otherwise, the grid from the viewport display options might not have been loaded from the cache.
2020-09-09Cleanup: Remove warning re: const qualifier discardedDalai Felinto
Warning introduced on a5db981b0ea044313239c3cc2ee92d.
2020-09-09Geometry: add Attributes panel for PointCloud and HairBrecht Van Lommel
There is a list of attributes, along with operators to add and remove attributes. For adding, there are a few standard attributes that can be added quickly, as well as a popup to create a custom attribute. Ref T76659 Differential Revision: https://developer.blender.org/D8636
2020-09-09Geometry: use generic attributes for Hair and Point CloudsBrecht Van Lommel
Instead of custom data layer with special types, using general Vector and Float attributes. Ref T76659 Differential Revision: https://developer.blender.org/D8635
2020-09-09Geometry: add .attributes in the Python API for Mesh, Hair and Point CloudBrecht Van Lommel
This puts all generic float/int/vector/color/string geometry attributes in a new .attributes property. For meshes it provides a more general API for existing attributes, for point clouds attributes will be used as an essential part of particle nodes. This patch was implemented by @lichtwerk, with further changes by me. It's still a work in progress, but posting here to show what is going on and for early feedback. Ref T76659 Differential Revision: https://developer.blender.org/D8200
2020-09-09Fix T76346: Moving objects in outliner doesn't update local collectionsDalai Felinto
The fix involves going over ALL the possible combinations of viewlayers and viewports and re-sync. I tested this with multiple windows, multiple scenes and multiple viewlayers. Since (for now?) the operation of syncing the local layer collections is not too expensive, this is not so bad. In theory we could improve this by checking if the collection the object was moved to and from is in the scene before iterating over it. I don't think it is worthy though. Thanks Arun Parolikkal for the initial attempt on D8342. Final patch reviewed by Brecht Van Lommel.
2020-09-09Cleanup: reduce variable scopesJacques Lucke