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
path: root/source
AgeCommit message (Collapse)Author
2020-08-25Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-25Fix T77359: Crash adding UV's in edit-mode with linked duplicatesCampbell Barton
This prevents UV layer mix up in MeshBatchCache.cd_used/cd_needed/cd_used_over_time which depends on the extraction method. One object's mesh can be accessed with MR_EXTRACT_MESH, another object that uses the same mesh can use MR_EXTRACT_BMESH based on (Object.mode & OB_MODE_EDIT), this causes a problem as the edit-mesh and the mesh aren't always in sync, the custom data layers wont necessarily match up, causing T77359. Reviewed by @jbakker, @brecht Ref D8645
2020-08-25GPU: Fix compilation issue caused by rBb43f4fda19b9Clément Foucault
2020-08-25GL: Add error checking functionClément Foucault
This is to ease the debugging process on Apple GL implementation.
2020-08-25GPUSelect: Avoid assert caused by clearing without a depth maskClément Foucault
This should not cause any problem since the depth test is required in order to draw to the depth buffer and this is not altered by this change. To be on the safe side, we still restor the mask after altering it.
2020-08-25Fix T80012: Bevel Shader node Samples value has too low hardcoded limitPhilipp Oeser
Up the hard limit, keep the UI range max at 16 Maniphest Tasks: T80012 Differential Revision: https://developer.blender.org/D8701
2020-08-25Merge branch 'blender-v2.90-release'Philipp Oeser
2020-08-25Fix T80016: Shape key animation is linked when duplicating objectRed Mser
Fix T80016 Caused by a typo in rB7b1c406b5431ce65d84ddb5f2c53977c25c18373 Reviewed By: mont29, dfelinto Maniphest Tasks: T80016 Differential Revision: https://developer.blender.org/D8693
2020-08-25Merge branch 'blender-v2.90-release'Jeroen Bakker
2020-08-25Enabled workaround to solve threading issues in draw managerJeroen Bakker
This workaround addresses T79533 and T79038 for Blender 2.90. The solution isn't clear and needs more research and work. In order to continue with blender 2.90 release it was proposed to add this work around. It has been tested with the test files provided in the reports. Reviewed By: Dalai Felinto, Clément Foucault Differential Revision: https://developer.blender.org/D8695
2020-08-25Revert "Enabled workaround to solve threading issues in draw manager"Jeroen Bakker
This reverts commit 141a8ff6b3b1170d5551ef08895f1b7fac145235.
2020-08-25Fix T79915: crash when changing to white noise textureJacques Lucke
Reviewers: brecht, OmarSquircleArt Differential Revision: https://developer.blender.org/D8697
2020-08-25Enabled workaround to solve threading issues in draw managerJeroen Bakker
This workaround addresses T79533 and T79038 for Blender 2.90. The solution isn't clear and needs more research and work. In order to continue with blender 2.90 release it was proposed to add this work around. It has been tested with the test files provided in the reports. Reviewed By: Dalai Felinto, Clément Foucault Differential Revision: https://developer.blender.org/D8695
2020-08-25Cleanup: use doxy sectionsCampbell Barton
2020-08-25Fix T80077: Objects disappear when joining with a zero scaled axisCampbell Barton
Use invert_m4_m4_safe_ortho when joining objects so zero scaled axis doesn't cause all points to be scaled to zero. Instead geometry is left un-scaled on degenerate axes. Report a warning in this case since users may want to adjust the active objects scale.
2020-08-25BLI_math_matrix: add invert_m4_m4_safe_ortho (m3 version too)Campbell Barton
Unlike invert_m4_m4_safe, this calculates zeroed axes. Useful when we need to use the inverse of an objects matrix, keeping the valid axis, only filling in the zeroed ones.
2020-08-25Sculpt: Cloth Snake Hook BrushPablo Dobarro
This implements Snake Hook as a deform type for the cloth brush. This brush changes the strength of the deformation constraints per brush step to avoid affecting the results of the simulation as much as possible. It allows to grab the cloth without producing any artifacts in the surface and create more natural looking folds than any of the other deformation modes. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8621
2020-08-25Fix T80008: Smooth brush not deforming mesh boundaries correctlyPablo Dobarro
In 2.83 and previous versions there was a bug that was causing boundary vertices to be detected incorrectly that was preventing the smooth brush to work on boundaries if there was a pole on them. In 2.90 the boundary vertex detection was fixed, but it was still using a simplified version of the algorithm without any boundary smoothing. This patch implements a similar smoothing algorithm to what I think it was the intention of 2.83 and previous versions, but working correctly. Reviewed By: sergey Maniphest Tasks: T80008 Differential Revision: https://developer.blender.org/D8680
2020-08-24T79811 MacOS: Edit Mode - vertex/edge/face selection is missingClément Foucault
This is quite embarassing... it was returning the base instance instead of the correct vao. No wonder that it was causing crash and at most drawing issues.
2020-08-24BLI: simplify lookup methods in MapJacques Lucke
No functional changes expected.
2020-08-24Merge branch 'blender-v2.90-release'Pablo Dobarro
2020-08-24Fix T80039: Do not subdivide with Multires is mesh has no facesPablo Dobarro
This skips the subdivision operation if the mesh has no loops, avoiding the crash. Reviewed By: sergey Maniphest Tasks: T80039 Differential Revision: https://developer.blender.org/D8696
2020-08-24BLI: improve exception safety of Set and MapJacques Lucke
For more information see rB2aff45146f1464ba8899368ad004522cb6a1a98c.
2020-08-24Workbench: Fix assert with sculpt in textured color modeClément Foucault
2020-08-24Fix T80035: Fix crash switching/adding scenesSergey Sharybin
Ensure that time source always is in the dependency graph, allowing to tag the graph for time update prior it was fully built. Collaboration of Philipp Oeser, Jacques Lucke and myself. Thanks everyone :)
2020-08-24Theme: Remove TH_UV_OTHERS from bThemeJeroen Bakker
`TH_UV_OTHERS` is a theme option that isn't hooked to anything since blender 2.80. This patch will remove the option and related code. Reviewed By: Campbell Barton Differential Revision: https://developer.blender.org/D8669
2020-08-24Fix selected UV vertex drawing ignoring sizeCampbell Barton
2020-08-24UVEdit: Fix assert caused by depth mask not being set before clearClément Foucault
This happened when using the shading panel when a uv editor opened.
2020-08-24Fix T79896 Awful performance with Dyntopo onClément Foucault
Regression caused by rB9443da6166f5. Forgot to clear the flag.
2020-08-24GPUState: Fix scissor state being overwritten when changing scissor boundsClément Foucault
Fix T79899 viewport artifacts when sculpting
2020-08-24BLI: add Array.last methodJacques Lucke
This makes it consistent with Vector and Span.
2020-08-24Merge branch 'blender-v2.90-release' into masterClément Foucault
# Conflicts: # source/blender/editors/space_node/node_draw.c # source/blender/editors/space_sequencer/sequencer_draw.c
2020-08-24Fix T79970 EEVEE: Camera Animation Breaks Motion Blur (Two Steps or More)Clément Foucault
This was caused by motion blur camera movement tagging the view as invalid and thus resetting the temporal sampling. Critical fix for 2.90. Need second look, but quite confident. This function is only called once when Motion blur is off. Reviewed by: jbakker Differential Revision: https://developer.blender.org/D8676
2020-08-24Revert "Fix T77564: VSE (and compositor background) lost stereoscopy preview"Clément Foucault
This reverts commit d5b5b228e4d07ce8c7d32c40c87bebe6745663e2. This reverts commit 47c6f41b8926befcf1ffe8b0dcccb90922c4b9be.
2020-08-23Fix T80034 Crash using material panel on 2.91.0 alphaClément Foucault
This was caused by a NULL name.
2020-08-23Fix T79872: VSE - splitting strip shows the channel number when unusedPhilipp Oeser
This operator is dependent on mouse position (if the Use Cursor Position option is used). The Channel property is irrelevant/unused in this case. So it is not optimal displaying this property when calling this from the menu (or even using the shortcut with default settings). Now use a custom UI in the Adjust Last Operation panel in this case. The properties are now drawn in relation to another then (Channel underneath Use Cursor Position) next to some other minor layout improvements. Thx @HooglyBoogly for feedback (also providing UI code) Maniphest Tasks: T79872 Differential Revision: https://developer.blender.org/D8625
2020-08-23Cleanup: GPU: Use explicit clear value in GPU_clear* commandsClément Foucault
This replace `GPU_clear()` by `GPU_clear_color()` and `GPU_clear_depth()`. Since we always set the clear value before clearing, it is unecessary to track the clear color state. Moreover, it makes it clearer what we clear the framebuffer to.
2020-08-23GPUFramebuffer: Use GPUState to temporary change write mask in clear fnClément Foucault
This avoid breaking sync of the state object. Also avoid more hazard.
2020-08-23GPUState: Expose Stencil mask and testClément Foucault
This is to be used by framebuffer clearing.
2020-08-23Fix T79989: File browser `Return` doesn't open a directoryCampbell Barton
Regression in e4a50e3f47de1.
2020-08-23Fix T80028: Crash opening a file from a timerCampbell Barton
2020-08-23Cleanup: remove unused UvNearestHit struct membersCampbell Barton
2020-08-22Fix T80013: Crash when toggling maximized areaHans Goudey
Error renaming variable in 75aeb4b8813d
2020-08-22Fix T79971 Regression: Transform Gizmos doesnt work anymoreClément Foucault
This changes the state of occlusion queries quite a bit. Now scissors is explicitely disabled and we enabled color write. I still don't understand why we now need this. This patch is just trial and error on an affected setup. Note that on the same computer, renderdoc was not able to capture the regression (the regression did not manifest during capture). Regression likely introduced by rB5f414234ddea
2020-08-22DRW: Fix state not being lockedClément Foucault
Regression introduced by rBe12c08e8d170b7ca40f204a5b0423c23a9fbc2c1
2020-08-21Cleanup: Remove unused variablesHans Goudey
2020-08-21Fix T79987: Crash when joining objectsJulian Eisel
Mistake in b077de086e14. I did the same fix for a few operators there, but missed the object "Join" one. The joining operator changes the layer content. So it must send a notifier for that. Before b077de086e14 that didn't cause a noticeable issue, because the Outliner happened to listen to other notifiers (active/selection changes) the operator sent and fully rebuilt its tree in response. Now missing these notifiers can be more problematic, since we try to avoid more rebuilds. Added comments to the notifier types to avoid at least this pitfall.
2020-08-21Cleanup: rename iterators over sequences to be more clear about what they do.Bastien Montagne
No functional changes expected.
2020-08-21Merge branch 'blender-v2.90-release' into masterBastien Montagne
2020-08-21Fix critical bug in foreach ID looper of Scene data-block.Bastien Montagne
Since stone age of lib_query, the code would iterate over the current list of active sequences (from a meta strip e.g.), and not over the whole list of those. This is a critical issue as it means in some cases (editing a meta strip typically), some ID pointers would be missed/ignored by this foreach looper, which is now at the center of most of our ID management code. This caused a bug here at the studio, leading to loss of all sound IDs used by sound strips when editing and undoing inside a meta strip, since ID refcounting would not happen properly on strips using sounds outside the meta-strip context during file reading of the undo steps. To be backported to 2.83. Differential Revision: https://developer.blender.org/D8671