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
2022-03-21Fix T96402: fix case when material output is contained in node groupJacques Lucke
For now just assume that a node group without output sockets is an output node. Ideally, we would use run-time information stored on the node group itself to determine if the group contains a top-level output node (e.g. Material Output). That can be implemented separately. In the larger scheme of things, top-level outputs within node groups seem to break the node group abstraction and reusability a bit.
2022-03-21Fix T96396: cannot set active node group output with PythonJacques Lucke
This is essentially the same fix as in rB22a341d9d8d3d337f79df228ab2e4e0726f81430.
2022-03-21Fix T96292: unable to set active material output using PythonJacques Lucke
Differential Revision: https://developer.blender.org/D14301
2022-03-21GPencil: Fix unreported select error in Normalize operatorAntonio Vazquez
The curve selection was wrongly checked.
2022-03-21Fix T96352: Gpencil crash using Normalize Thickness with CurvesAntonio Vazquez
The stroke curve data could be NULL.
2022-03-21Fix T94121: PyAPI: ID property group returns wrong type with iter()Campbell Barton
Regression in 265d97556aa0f0f2a0e4dd7584e3b8573bbddd54. Where iterating directly on a property group failed, e.g.: `iter(group)`, tests missed this since only `group.keys()` was checked.
2022-03-21Fix memory leak evaluating PyDriversCampbell Barton
Missed decref in 686ab4c9401a90b22fb17e46c992eb513fe4f693 caused every driver evaluation to create the BPy_StructRNA depsgraph without freeing the previously allocated depsgraph.
2022-03-21Release cycle: RC for Blender 3.1.1 corrective release.Thomas Dinges
2022-03-08Fix T95843: Invalid mesh runtime data after sculpt undov3.1.0Hans Goudey
When the geometry of the sculpt mesh was replaced when restoring from a full undo step, the runtime data was not cleared (including any normals, triangulation data, or any other cached derived data). In the report, only the invalid normals were observed. The fix is to simply clear these caches. Later they will be reallocated and recalculated if necessary. Since the whole mesh replaced here anyway, this should be a safe fix. Differential Revision: https://developer.blender.org/D14282
2022-03-08Blender 3.1 - version bump -> releaseThomas Dinges
2022-03-08Licenses: Attribution document for Blender 3.1Dalai Felinto
2022-03-08Docs: 3.1 release description for Linux appdataThomas Dinges
2022-03-08Fix T96224: GPU subdiv crash with smooth normals and tangentsKévin Dietrich
Tangents are computed from UVs on the CPU side when using GPU subdivision and require that the normals are available there as well (at least for smooth shading, flat normals can be computed on the fly). This simply adds the missing normals update call for the `MeshRenderData` setup for the subdivision case. Differential Revision: https://developer.blender.org/D14278
2022-03-08GPU: disable compute shader for problematic driversKévin Dietrich
Some drivers for legacy platforms seem to have issues with compute shaders, as revealed by T94936. This disables compute shader for the known drivers where this issue is present. It is not clear if the issue is Windows only or not, so this disable them for all operating systems. See T94936 for a list of configurations where the issue is reproducible or not. Differential Revision: https://developer.blender.org/D14264
2022-03-08Fix T96213: Crash when texture painting across multiple materials.Jeroen Bakker
Issue only happens in release builds on windows. That said it was an actual error in the code. This class is compiled inline in release builds. When updating multiple textures it would reuse the same memory to collect the changes. When the previous loaded tilenumber was exactly the same but from a different image the tile buffer wasn't loaded. Reviewed By: sergey Maniphest Tasks: T96213 Differential Revision: https://developer.blender.org/D14274
2022-03-08Fix T96228: TypeError on use of Copy from Active Track operationPratik Borhade
Issue was introduced after the python 3.10 switch Explicit conversion to int will fix the issue. Same issue is likely to happen with `MovieTrackingSettings.default_search_size` So I did the same change over there. Differential Revision: https://developer.blender.org/D14273
2022-03-07Fix T93573: Curve evaluated mesh selected in edit modeHans Goudey
This fixes the second part of T93573 that 8506f3d9fe9359518e didn't properly address. Specifically, outlines of instances still had the selected color in edit mode in wireframe view. This change is the same as that commit, just in a different place. Differential Revision: https://developer.blender.org/D14229
2022-03-07Fix T96195: f-curve factorized polynomial generator broken UIEthan-Hall
The polynomial parameters were not shown correctly. Differential Revision: https://developer.blender.org/D14254
2022-03-07Fix T95256: Crash when creating off-screen pose assetSybren A. Stüvel
Fix crash when creating a pose asset for which the file list entry in the asset browser is scrolled off-screen. Because of the off-screen-ness, it wasn't loaded into memory, which eventually caused an unexpected NULL pointer. The solution was to use a different function (`filelist_file_find_id`) that can reliably find the file list entry, after which the cache entry can be created. Reviewed by: Severin Differential Revision: https://developer.blender.org/D14265
2022-03-07Fix T95531: Draw y axis values in Driver EditorLeon Schittek
When drawing the driver editor, only skip drawing the "scrubbing area" and not the Y-axis values or the scroll bars. The issue was introduced in rBb3431a88465db2433b46e1f6426c801125d0047d to avoid drawing the playhead in the Driver Editor but also prevented the text on the y axis from being drawn. Reviewed by: Severin, sybren Maniphest Tasks: T95531 Differential Revision: https://developer.blender.org/D14022
2022-03-07Fix T96207: wrong default value of Principled BSDF specular tintBrecht Van Lommel
Contributed by MysteryPancake. Differential Revision: https://developer.blender.org/D14256
2022-03-07Fix T96180: driver in node tree not updating in real timeJacques Lucke
Differential Revision: https://developer.blender.org/D14260
2022-03-07Fix T95591: Crash on drawing with measure tool with tweak fallback toolCampbell Barton
Using press to activate the Tweak tool doesn't work well when used a fallback tool as the drag event is often used by the current tool - making it impossible not to select when dragging (unless the fallback tool is disabled entirely). Resolve this by using CLICK events when the Tweak tool is used as a fallback. Even though this avoids the crash, check for null-pointer de-reference since changes to the key-map shouldn't cause operators to crash. Note that the ability for operators to access a gizmo before it's fully initialized is a more general problem that should be addressed, but out of scope for a bug-fix. Reviewed By: zeddb, JulienKaspar, Severin Maniphest Tasks: T95591 Ref D14231
2022-03-07Fix T96205: Active shape key gets lost upon edit mode undoCampbell Barton
Regression in d961adb866cc2d7a95e4c6a7f06c49e346ec1abe, it's important that for the Mesh used for undo storage matches the shape-key instead of using the coordinates of the Basis key. Prior to bfdbc78466ac14d45f353db9aa39cb21bb962701 a different method of restoring the basis shape-key coordinates was used (restoring from the input `Mesh.mvert` array). When undo wrote the edit-mesh into the mesh this was always NULL so the basis shape keys coordinates were never used. Now a parameter has been added so undo can use the active shape for the meshes vertex coordinates. Reviewed By: sergey Maniphest Tasks: T96205 Ref D14258
2022-03-07Fix T96163: Image editor doesn't refresh when undo/redo.Jeroen Bakker
Undo would invalidate image owned GPU textures only. Textures that are owned by the editor were not refreshed. This patch would invalidate all the GPU textures by marking the whole image dirty. This can be improved later as we could add partial updates of GPU textures. Reviewed By: mont29 Maniphest Tasks: T96163 Differential Revision: https://developer.blender.org/D14259
2022-03-07Fix T96156: Snap to 3D cursor can't be undoneRichard Antalik
Caused by oversight in 2bcf93bbbeb. Operator returns `OPERATOR_CANCELLED` when it should return `OPERATOR_FINISHED`. Reviewed By: mano-wii, campbellbarton Differential Revision: https://developer.blender.org/D14243
2022-03-04Fix T96160: freezing when using multiple Handle Type Selection nodesJacques Lucke
Differential Revision: https://developer.blender.org/D14245
2022-03-03Fix T96139: Cycles doesn't warn if the render is pausedSergey Sharybin
Caused by 6ec83afb1db8. Technically, a regression since 3.0. Differential Revision: https://developer.blender.org/D14239
2022-03-03Fix Cycles hang in classroom scene with upcomping AMD driver version 22.10Brecht Van Lommel
This is a workaround until there is a fix in the HIP compiler or driver. Differential Revision: https://developer.blender.org/D14232
2022-03-03Fix T96135: Mesh coordinates are set to the last edited shape-keyCampbell Barton
When exiting edit-mode set the vertex coordinates to the basis-shape when editing non-basis keys. Regression in bfdbc78466ac14d45f353db9aa39cb21bb962701. Reviewed By: sergey Ref D14234
2022-03-02Blender 3.1 bcon4 - change release cycle to release candidateThomas Dinges
This is still a rolling release candidate with new builds every day as a preparation to the final release.
2022-03-02Fix T95692: incorrect interpolated children particle hairJacques Lucke
Differential Revision: https://developer.blender.org/D14227
2022-03-02Fix T93573: Remove outline from instances in edit modeHans Goudey
This commit removes the outline from instances generated from an object when in edit mode. This takes the change in aa13c4b386b1 a bit further, with the idea that instance outlines are more like regular outlines. Because evaluated object data that doesn't match the original object type is treated as an instance internally, this fixes the way evaluated meshes for curves objects have an outline, for example. See the differential revision for a visual comparison. Differential Revision: https://developer.blender.org/D14226
2022-03-02Fix T95479: geometry nodes crash with cage displayJacques Lucke
Differential Revision: https://developer.blender.org/D14225
2022-03-02Fix T94729: GPU subdivision does not support meshes without polygonsKévin Dietrich
There are two issues revealed in the bug report: - the GPU subdivision does not support meshes with only loose geometry - the loose geometry is not subdivided For the first case, checks are added to ensure we still fill the buffers with loose geometry even if no polygons are present. For the second case, this adds `BKE_subdiv_mesh_interpolate_position_on_edge` which encapsulates the loose vertex interpolation mechanism previously found in `subdiv_mesh_vertex_of_loose_edge`. The subdivided loose geometry is stored in a new specific data structure `DRWSubdivLooseGeom` so as to not pollute `MeshExtractLooseGeom`. These structures store the corresponding coarse element data, which will be used for filling GPU buffers appropriately. Differential Revision: https://developer.blender.org/D14171
2022-03-02Fix T96085: repeated evaluation of geometry nodes when nothing changedJacques Lucke
Differential Revision: https://developer.blender.org/D14216
2022-03-02Fix T94609: geometry nodes always re-evaluated with image texture nodesBrecht Van Lommel
previously_visible_components_mask was not preserved for Image ID nodes, which meant it was always detected as newly visible and tagged to be updated, which in turn caused the geometry nodes using it to be always updated also. Reviewed By: sergey, JacquesLucke Maniphest Tasks: T94609 Differential Revision: https://developer.blender.org/D14217
2022-03-02Fix T96116: Image editor not updated when adding new tile.Jeroen Bakker
2022-03-02Fix T94952: normals maps don't render correctly with GPU subdivisionKévin Dietrich
A simple case of missing the tangent VBO. The tangents are computed from the coarse mesh, and interpolated on the GPU for the final mesh. Code for initializing the tangents, and the vertex format for the VBO was factored out of the coarse extraction routine, to be shared with the subdivision routine.
2022-03-02Cmake: Re-enable Amaranth add-onAaron Carlisle
This add-on now conforms to the distribution requirements, see: T95442.
2022-03-02Fix T95608: Mac issues with drag drop on multi-monitorGermano Cavalcante
Mousemove events are sent to windows. In Windows OS, almost all mousemove events are sent to the window whose mouse cursor is over. On MacOS, the window with mousemove events is always the active window. It doesn't matter if the mouse cursor is inside or outside the window. So, in order for non-active windows to also have events, `WM_window_find_under_cursor` is called to find those windows and send the same events. The problem is that to find the window, `WM_window_find_under_cursor` only has the mouse coordinates available, it doesn't differentiate which monitor these coordinates came from. So the mouse on one monitor may incorrectly send events to a window on another monitor. The solution used is to use a native API on Mac to detect the window under the cursor. For Windows and Linux nothing has changed. Reviewed By: brecht Differential Revision: https://developer.blender.org/D14197
2022-03-01Fix wrong object mode checking in snap codeGermano Cavalcante
The value of `OB_MODE_OBJECT` is 0, this makes it unsuitable as a bitflag. Issue pointed out at https://pvs-studio.com/en/blog/posts/cpp/0922/ Thanks to Andrey Karpov
2022-03-01Fix T92980: missing Cycles video texture update with persistent dataBrecht Van Lommel
2022-03-01Cmake: Re-enable tiny cad add-onAaron Carlisle
This add-on now conforms to the distribution requirements, see: T95442.
2022-03-01Cycles: Hide MetalRT checkbox for AMD GPUsMichael Jones
This patch hides the MetalRT checkbox for AMD GPUs, pending fixes for MetalRT argument encoding on AMD. Reviewed By: brecht Differential Revision: https://developer.blender.org/D14175
2022-03-01Fix T96035: Some tool settings do not workCampbell Barton
Oversight in 74611e3555684a22e9a07bd0992a444b571b8083 missed updating property access to use the tool identifier to lookup the property group.
2022-03-01Fix T95997: Crash when entering edit modeSergey Sharybin
The issue was uncovered by the 0f89bcdbebf5, but the root cause goes into a much earlier design violation happened in the code: the modifier evaluation function is modifying input mesh, which is not something what is ever expected. Bring code closer to the older state where such modification is only done for the object in edit mode. --- From own tests works seems to work fine, but extra eyes and testing is needed. Differential Revision: https://developer.blender.org/D14191
2022-03-01Fix T96097: Image editor tile drawing not working.Jeroen Bakker
The image engine is depth aware when using tile drawing the depth is only updated for the central image what lead to showing the background on top of other areas. Also makes sure that switching the tile drawing would lead to an update of the texture slots.
2022-03-01Fix: dangling internal links after removing socketsJacques Lucke
This is a follow up for rBd5e73fa13dd275fb9c76b1e41142ab086dd2e6be. The issue was found with the file in T95997.
2022-03-01Fix T95979: Bake doesn't update Image editor.Jeroen Bakker