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-11-05Reset some extra changes to the state in mastertemp-fix-headerless-panels-switch-windowsHans Goudey
2020-11-05Revert "UI: Refactor panel alignment function"Hans Goudey
This reverts commit 14b2de37dbc3563164bb37fb6fe493bf77190948.
2020-11-05Revert "Cleanup: Use shorthand variables"Hans Goudey
This reverts commit 4115229637c0acdcffbaceae282ccd854bfdb1c8.
2020-11-04Remove incorrect assert in button group codeHans Goudey
Even after the last commit to fix this assert, it still fails in the case where a button was added before there was a button group added to the block. Another fix for this would be to always create a button group in UI_block_begin, but this assert has no particular purpose, so it's simpler to just remove it.
2020-11-04Fix T73126 Eevee: light probe baking ignores indirect bounces from SSSClément Foucault
2020-11-04Fix T81794: ColorRampElement step regressionRichard Antalik
Set step in RNA property definition. There was a hardcoded setting of a1 for this specific button, which used to be the variable to store the step size of number buttons until rBe6f0b60c2e91. hardcoded value is removed in rBe29206f86a5f. Reviewed By: Severin Differential Revision: https://developer.blender.org/D9277
2020-11-04Fix T82385 EEVEE: Alpha Clip shadows actually using Alpha Hashed shadowsClément Foucault
The shadow path was not using the alpha threshold.
2020-11-04Fix T82197: Freestyle settings not visible for Workbench render engineBrecht Van Lommel
These had an effect but were not exposed in the UI.
2020-11-04Fix T82016: Cycles assert with empty OpenVDB volumesBrecht Van Lommel
2020-11-04Fix T67832: Camera Background Images View TransformJeroen Bakker
This patch will apply the view transform when a movie clip is used as camera background image. It does this by rendering the image in the color buffer when it needs the view transform. For other images it uses the overlay buffer. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7067
2020-11-04Fix T81775: Object Disappears During Texture PaintingJeroen Bakker
Issue was that the `tris_per_mat` are not created when the first batch is drawn during select operator and then is not created when needed by the workbench pass since they are not tracked by mesh_buffer_cache_create_requested. This change will create the `tris_per_mat` just in case they are needed later. Solution by Clément Foucault Differential Revision: https://developer.blender.org/D9430
2020-11-04Modifiers: return empty mesh in case of error in Volume to Mesh modifierJacques Lucke
Passing on the original mesh does not really make sense. For that one should simply disable the modifier.
2020-11-04Fix T82393: Volume to Mesh modifier with sequence fails during renderingJacques Lucke
The issue was that the volume for the current frame might not have been loaded already by the time the modifier runs. The solution is simply to make sure that the volume is loaded. This is similar to the Volume Displace modifier.
2020-11-04Fix assert on mouseover of blocks not using the layout systemHans Goudey
When there was an active button in the "old" block from the last redraw, this code tried to replace its pointer in the new block's button groups. But in cases like the outliner or file browser, there are no groups because the block doesn't use the layout system at all. This commit just tweaks the assert to check whether there are any button groups.
2020-11-04UI: disable add-object tool for 2.91Campbell Barton
2020-11-04Fix T63495: Add torus changes size each time when unit scale != 1.0Campbell Barton
This matches behavior in WM_operator_view3d_unit_defaults.
2020-11-04PyAPI: add Struct.is_property_set(..., ghost) optionCampbell Barton
This exposes the use_ghost argument to RNA_property_is_set_ex.
2020-11-04Fix T49850: Detailed curves are heavily reducedCampbell Barton
Divide the threshold by the resolution to prevent duplicates being detected in high resolution curves.
2020-11-04Update RNA to Manual mappingAaron Carlisle
2020-11-04Fix T65449: Rip wire edges show error even when it worksCampbell Barton
Thanks to @zeddb for finding the root cause.
2020-11-04Fix T60517: "Fix Deforms" crashes for meshes without vgroup dataCampbell Barton
2020-11-04Fix T81799: Enable use self in trimming tool booleansPablo Dobarro
This enables self intersections in the sculpt trimming tools boolean operations. This should fix wrong booleans results after using the operator to add new disconnected geometry with the join mode. Reviewed By: sergey Maniphest Tasks: T81799 Differential Revision: https://developer.blender.org/D9423
2020-11-04Fix T81842: Cloth brush not creating simulation areas for each tiling ↵Pablo Dobarro
symmetry pass The cloth brush fixed simulation areas are created using the initial_location variable in the StrokeCache. This variable was not being updated by tiling symmetry, so all symmetry passes were using the same simulation area location. Reviewed By: sergey Maniphest Tasks: T81842 Differential Revision: https://developer.blender.org/D9421
2020-11-04Fix mask extract and slice not preserving mesh symmetry optionsPablo Dobarro
When extracting new objects from a mesh in sculpt mode, it makes sense to keep the current symmetry options and settings in the new mesh. In previous versions symmetry options were stored in the tool settings, so this bug was not that obvious. This also preserves the remember settings in the new object, which is also the desired behaviour. Reviewed By: sergey, mont29 Differential Revision: https://developer.blender.org/D9417
2020-11-04Fix mask slice to new object preserving the maskPablo Dobarro
If the new object contains the mask it always needs to be cleared before starting sculpting on it. This fix was also committed before in the mask extract operator. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9416
2020-11-04Fix T81691: Use-after-free with property search and hovered buttonHans Goudey
The list of buttons in the button group needs to be updated to take into account the old button inserted into the button list for the new block. Differential Revision: https://developer.blender.org/D9428
2020-11-04Property Search: Fix missing update switching tabs after searchHans Goudey
What I thought was an "optimization" was really a bug. The "use search for expansion" value needs to be set for every panel, even panels in other tabs. Otherwise it won't be properly set when switching back to a tab that was visited during search. Differential Revision: https://developer.blender.org/D9427
2020-11-03macOS: find Jack framework in system directoriesAnkit Meel
Until it is decided whether to ship JACK with pre-compiled libraries, search for the same in system directories. Ref T79261 Reviewed By: brecht Differential Revision: https://developer.blender.org/D9436
2020-11-03Fix T82356: Gpencil merge freezes BlenderAntonio Vazquez
The `gps_next` variable had a typo error and was wrongly used as `gps->next`
2020-11-03Fix T81756: relinking multiple links to group input removes linksJacques Lucke
The links where added to the socket one after the other. However, the virtual socket had a link limit of 1, so whenever a new link was added, the previously added one was removed. There is not really a reason for why the link limit should be 1 instead of something higher. I'm setting it to the max value: `0xFFF`. I'm also setting the `input_link_limit` to that value. Blender does not need this currently, but addons might have input sockets that allow more than one incident link.
2020-11-03GL: Fix default framebuffers being bound using srgbClément Foucault
Default backbuffers needs not to be bound with sRGB encoding enabled. This works when using `GPU_framebuffer_restore` but using `GPU_framebuffer_bind` would trigger the wrong behavior. This fix T81969 UI turns whiteish when playing video sequence based on a scene and moving in the image editor after saving
2020-11-03Fix T82074: Volume to Mesh normals are invertedJacques Lucke
OpenVDB seems to have a different winding order convention. Reviewers: brecht Differential Revision: https://developer.blender.org/D9434
2020-11-03Fluid: Fix crash with viewport display optionsSebastián Barschkis
Overlay extras should not be drawn outside of the fluid domain cache range.
2020-11-03Fix T81988: Surface Deform "Bind" causes vertices to spikeCampbell Barton
Surface deform weight calculation assigned weights in a non-uniform way that caused vertices to deform upon binding. This was caused by the face-corner angle being used in calculations which where squared & scaled. Causing a triangle fan of many thin faces to have a much greater influence compared to the same shape made from a single triangle. Change the calculation of the weight so each face-corner is scaled by it's angle.
2020-11-03DrawManager: Cleanup unneeded memory allocationJeroen Bakker
`tris_per_mat` is only valid for the final buffer cache. It was allocated for every buffer cache.
2020-11-03Fix T77161: Outliner - Hiding a Collection does not gray out children objectsManuel Castilla
Ensure that When checking "Hide in Viewport" option for a collection that child objects are drawn grayed out for consistency with the "Disable in Viewports" toggle. For checking an object visibility in the viewport the flag BASE_VISIBLE_VIEWLAYER should be used instead of BASE_VISIBLE_DEPSGRAPH because the latter ignores viewport visibility. Manifest Task: T77161 Differential Revision: https://developer.blender.org/D7904
2020-11-03Fix T82120: Arc miter bevel creates miters on straight edgesHans Goudey
In some situations where two beveled edges were very close to in-line but not quite straight, bevel would build a miter when it shouldn't. The code that chose whether to use a miter at each vertex was slightly incorrect. For outer miters there is a check for 3 or more selected edges, but an inner miter can still be useful with only two beveled edges at a vertex, so we can't use that here. Instead I changed the check for in-line edges to run before determining whether the angle is reflex or not. The logic ends up a bit more straightforward as well. This doesn't completely remove the rather strange looking triangle vertex meshes at each corner, but it does make it stable when locations are slightly adjusted. The only other place this `edges_angle_kind` function was used is for profile=1.0 vertex meshes. I tested and made sure that still works well. Differential Revision: https://developer.blender.org/D9420
2020-11-02Fix crash opening some 2.4x .blend files with drivers or NLA editorBrecht Van Lommel
For example, outlinertest.blend from test240.zip.
2020-11-02Revert "Parenting: fix return value when parenting object to itself"Sybren A. Stüvel
This reverts commit ad35fa1993a49f663f782af1c9c41640e94b7eb8, it had unintended side-effects (T82312).
2020-11-01PyAPI: set sys.executable to None when Python can't be foundCampbell Barton
Without this, sys.executable may be set to Blender's executable instead.
2020-11-01Fix T82089 Boolean on empty mesh with collection fails.Howard Trickey
For the fast solver, there was an optimization carried over from the non-collection case for empty meshes which did not work in the chained boolean code for collection operands. Removed that optimization in the collection case.
2020-10-31Fix new boolean performance bug.Howard Trickey
The code that decided to use a faster double version of plane side testing forgot to take an absolute value, so half the time the exact code was being used when it was unnecessary.
2020-10-31Fix T82265: GPencil interpolate crash when next frame was NULLAntonio Vazquez
If the next frame of the layer was NULL and it was not the active layer crashed.
2020-10-30Fix T82027, T81718: Cycles crash with volume animation playbackBrecht Van Lommel
2020-10-30Fix (unreported) buffer-overflow in new lattice code.Bastien Montagne
Follow-up to rBc0beeeb5de0cbc, fixing overflow accesses on arrays introduced by rB042143440d76. It's never 'OK' to access invalid memory...
2020-10-30Fix Cycles map range node missing clamp socketBrecht Van Lommel
No effect on the Blender integration yet, but needs to be solved for the upcoming change to encapsulate sockets.
2020-10-30Parenting: fix return value when parenting object to itselfSybren A. Stüvel
Ensure parenting an object to itself is seen as error, by returning `false`. This error was introduced as part of a supposed-to-be-non-functional cleanup rBb8d4a2aff8069dd7d6fb91ad0d9427eed489b68f.
2020-10-30Outliner: use undo-group for outliner mode switchingCampbell Barton
Switching modes no longer adds multiple undo steps from a user perspective.
2020-10-30Object: use undo-group for object.switch_objectCampbell Barton
object.switch_object no longer adds multiple undo steps from a user perspective.
2020-10-30Undo System: support for grouping steps with begin/end callsCampbell Barton
This adds support for treating multiple undo steps as a single step from the user perspective. This is needed for outliner mode switching and `object.switch_object` operator which change active object and mode in a single action.