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-03-02Cleanup: make blf header work in C++Jacques Lucke
2020-03-02Cleanup: make remaining gpu headers work in C++Jacques Lucke
2020-03-02Fix T74278: Light, Image Object, and Compositor Backdrop Viewer NodePhilipp Oeser
gizmos are too big Caused by rB9cac5fa681c5 which fixed the handles for the camera border gizmo (being much too small)-- which in turn was broken by rB98e4fbc7cc9e. Camera border gizmo sets up its matrix_space a bit differently [this is why we are getting very small values in gizmo_calc_rect_view_scale -- needs more investigation], but instead of breaking it for Light, Image and Compositor Backdrop, lets just compensate by scaling the Camera Border Gizmo for now. Maniphest Tasks: T74278 Differential Revision: https://developer.blender.org/D6991
2020-03-02Cleanup: make remaining imbuf headers work in C++Jacques Lucke
2020-03-02Cleanup: make remaining editor include headers work in C++Jacques Lucke
2020-03-02Cleanup: make remaining blenkernel headers work in C++Jacques Lucke
2020-03-02Cleanup: make remaining blenlib headers work in C++Jacques Lucke
Differential Revision: https://developer.blender.org/D6988 Reviewers: brecht
2020-03-02Fix T65568: sewing and self collision issueIsh Bosamiya
As explained in T65568 by @LucaRood, the self collision system should exclude triangles that are connected by sewing springs. Differential Revision: https://developer.blender.org/D6911
2020-03-02Fix T74295: Cloth + Internal springs crashes on a non-polygonal geometrySebastian Parborg
Added check to see if the mesh has any polygons at all. If there are no polygons, the bvh tree data will consist of null pointers, so skip internal springs if this is the case.
2020-03-02Fix crash when compiling renderpass shader on some AMD driversGermano Cavalcante
Differential Revision: https://developer.blender.org/D6959
2020-03-02Shading: Add invert option to Vector Rotate NodeCharlie Jolly
Checkbox to invert rotation angle, suggested by @simonthommes Differential Revision: https://developer.blender.org/D6932
2020-03-02Fix T74362: Material Preview AssertJeroen Bakker
When using Material Previews not all uniform blocks were filled. This patch will add the renderpass_block when drawing the background. Note that I wasn't able to reproduce the issue on my system, but according the the backtrace it most likely solves the issue. I let the reporter test.
2020-03-02Fix T74334: VSE can't import multiple movie filesRichard Antalik
Add `directory` RNA property to add operators. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6986
2020-03-02Clay Thumb: Remove hardcoded hardness valuePablo Dobarro
Clay Thumb was using a custom hardness implementation and value to make it functional. Hardness is now a property of brushes and it is implemented for all brushes, so this is no longer needed. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6981
2020-03-02Cleanup: Correct forward declarationSergey Sharybin
2020-03-02Fix T74299: PyGPUOffscreen Color ManagementJeroen Bakker
Color management currently happens after the python handlers. This means that all common drawing operations needs to happen in SRS. The PyGPUOffscreen requested that the color management was applied, that resulted into applying colormanagement twice. This patch makes sure that PyGPUOffscreen.draw_view3d renders in SRS. There are more code paths that needs to be checked that the correct space is being requested.
2020-03-02Bevel: Z-Up Custom Profile OrientationHans Goudey
When beveling architectural objects like baseboards or crown mouldings that may consist of multiple islands, it's useful if the orientation is at least conistent. This changes the arbitrary decision of how the orientation should start at a chain beginning to use the highest side of the profile in the Z direction. Reviewed By: howardt Differential Revision: https://developer.blender.org/D6946
2020-03-02Fix T74320: Sound strip waveforms drawing allows negative volume valuesRichard Antalik
While animating sound strips volume within the graph editor, it is possible to set keyframes to negative values. The drawing code of waveforms wasn't clamping these values to zero and was instead drawing an "inverted" curve Author: a.monti Reviewed By: iss Differential Revision: https://developer.blender.org/D6971
2020-03-01Fix: Build error on windows.Ray Molenkamp
Use of undefined GSQueue type was causing build errors.
2020-03-01Sculpt: Hardness brush propertyPablo Dobarro
The hardness property moves the brush falloff towards the edges, making the brush sharper. This should be the intended way to control the brush falloff instead of tweaking the falloff curve manually, as it can be mapped to pressure to make the falloff variable during the stroke. It is also a good idea to show in the UI that the custom curves is an advance features and it should almost never be modified when sculpting/ painting unless you want to create some advanced effects. By modifying the curves freely it is really easy to break the brushes and make them produce artifacts. This needs to be done in a later after merging the pending projects to reorganize all the brush properties accordingly. Reviewed By: brecht Differential Revision: https://developer.blender.org/D6902
2020-03-01Cleanup: Move pose brush to its own filePablo Dobarro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D6973
2020-03-01Fix T74307: Add missing brushes to versioning_defaultsPablo Dobarro
At least a brush under each tool needs to exist by default in the blend file to reset its properties. If it does not exist, the user needs to reset it manually. Reviewed By: brecht Maniphest Tasks: T74307 Differential Revision: https://developer.blender.org/D6972
2020-03-01Fix T73707: Missing mesh normals update on sculpt undoPablo Dobarro
When sculpting on multi user data normals needs to be recalculated to avoid artifacts. I refactored that line to make it more readable. Reviewed By: brecht Maniphest Tasks: T73707 Differential Revision: https://developer.blender.org/D6957
2020-03-01Fix T74074: Strokes with timer events don't get pressure valuesPablo Dobarro
When processing a timer event WM_event_tablet_data returns 0 instead of the last valid pressure value from the tablet. This always stores the last pressure value and uses it in case a timer event is being processed. Reviewed By: brecht Maniphest Tasks: T74074 Differential Revision: https://developer.blender.org/D6950
2020-03-01Fix T73947: Support radial symmetry in Multiplane ScrapePablo Dobarro
This includes the following changes: - Use always the angle stored in the StrokeCache when deforming - Interpolate between the previous and the new sampled angles - Calculate the cursor matrix only on the 0 radial symmetry iteration Reviewed By: brecht Maniphest Tasks: T73947 Differential Revision: https://developer.blender.org/D6901
2020-03-01Fix problem with Delaunay triangulalation re output mapping.Howard Trickey
The array giving original vertex indices should not contain entries for newly created vertices. Added a test to check this.
2020-03-01Fix show large cursor preference not being fully removed and causing warningsBrecht Van Lommel
2020-03-01UI: use dedicated icons for topbar and statusbar in theme preferencesYevgeny Makarov
Differential Revision: https://developer.blender.org/D6978
2020-02-29Made BLI_delaunay_2d_cdt_calc better at tiny feature elimination.Howard Trickey
The 'random' unit tests and some examples from the new boolean code triggered asserts and crashes. This fixes those. There is a new flag in the input that optionally disables a pass over input to snap segment edges to other segments.
2020-02-29Cleanup: Move transform_constraints declarations to its own headerGermano Cavalcante
2020-02-28UI: Remove Support for Large CursorsHarley Acheson
Removing the 'Large Cursors' option as it is no longer applicable or useful on any platform. Differential Revision: https://developer.blender.org/D6958 Reviewed by Brecht Van Lommel
2020-02-28Sculpt: Cloth brushPablo Dobarro
This brush has a simple physics solver that helps when sculpting cloth. - The mass and the damping properties of the simulation are properties of the brush. - It has two additional radius control to limit the influence and falloff of the simulation. - Masked vertices are pinned in the simulation, and it applies the sculpt gravity directly in the solver. - The Cloth Brush has 7 deformation modes with 2 falloff types (radial and plane). The brush can create the constraints only on the required PBVH nodes, so the simulation is isolated on high poly meshes. As long as the brush size is not too big it should be possible to keep it real time. Known issues: - The way constraints are created is extremely basic and it creates repeated constraints. Maybe there is another way to create fewer constraints while keeping the simulation quality decent. This part can also be multithreaded. (As it is it works ok, but it could be better) Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6715
2020-02-28Fix wrong coordinates being read when using the sculpt APIPablo Dobarro
The coordinates should be read from the PBVH when using deform modifiers. This is needed for the cloth brush to work with subdivisions, as it reads the vertex coordinates using this function when building and updating the constraints. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D6967
2020-02-28Cleanup: clang-formatBrecht Van Lommel
2020-02-28Fix T65351: visual glitches when scrolling in popoversYevgeny Makarov
2020-02-28Fix T72404: particle brush size radial control mismatch on high DPI displayYevgeny Makarov
2020-02-28Fix (unreported) Separate bones creates empty armaturePhilipp Oeser
Fix for fix (rB8bf7ca9fe31c). The fix was not actually working [neither for multi-armature-editing as intended nor for single armatures] and it broke single-armature bone separation completely. More or less indentation issue, move relevant code out of bone loop, do after all bones have been checked, guess this was intended anyways. Differential Revision: https://developer.blender.org/D6949
2020-02-28Fix T71611: Outliner - Show only Visible/Hidden Objects not working when ↵Philipp Oeser
hiding Collections Use BASE_VISIBLE_VIEWLAYER (rather than BASE_VISIBLE_DEPSGRAPH -- which is not including the 'Hide in Viewport') Note: the is one case where this still 'fails': - 'Show only Hidden' plus excluding the parent collection (would be nice to show those -- but contents of excluded excluded collections dont get show in any case... this would be more work and for another report...) Maniphest Tasks: T71611 Differential Revision: https://developer.blender.org/D6953
2020-02-28Preview Render: Disable Unneeded Render PassesJeroen Bakker
2020-02-28File Browser: Add Ctrl+F shortcut to activate filter textboxJacques Lucke
Reviewers: Severin, brecht Differential Revision: https://developer.blender.org/D6941
2020-02-28Code Cleanup: UNDEF not existing defineJeroen Bakker
2020-02-28BLI: fix utf8 character counting when there is an incomplete utf8 charJacques Lucke
D6923 by Kim Geonwoo
2020-02-28UI: add theme option for grid levels to display in node editor backgroundPawel Franitza
Differential Revision: https://developer.blender.org/D6916
2020-02-28UI: improve label text colors in save and security popupsYevgeny Makarov
This adds a utility functions to draw a label highlighted or in red. Differential Revision: https://developer.blender.org/D6934
2020-02-28Objects: make evaluated data runtime storage usable for types other than meshBrecht Van Lommel
This is in preparation of new object types. This only changes mesh_eval, we may do the same for mesh_deform_eval and other areas in the future if there is a need for it. This previously caused a bug in T74283, that should be fixed now. Differential Revision: https://developer.blender.org/D6695
2020-02-28Nodes: Use destructor callbacks for bNodeSocketType and bNodeTypeJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D6963
2020-02-28Revert "Objects: make evaluated data runtime storage usable for types other ↵Brecht Van Lommel
than mesh" This reverts commit f2b95b9eae2ee913c99cff7595527b18d8b49d0a. Fix T74283: modifier display lost when moving object in edit mode. The cause is not immediately obvious so better to revert and look at this carefully.
2020-02-28Multires: Move current reshaping/propagation logic to legacy fileSergey Sharybin
It will eventually rewritten. This commit prepares some clean space to start this process. So far no functional changes.
2020-02-28Fix T73587: Wrong sub-panel animation on double-clickTobias Langen
Under the special circumstance of double clicking and then opening a panel with sub-panels again, the parent panel's offset in y-direction was added twice to the child panels: once inside "get_panel_real_ofsy" and once within "align_sub_panels". This introduced a visible glitch. Reviewed by: Julian Eisel Differential Revision: https://developer.blender.org/D6942
2020-02-28Multires: Fix CCG->MDISPS conversion happens twiceSergey Sharybin
Was happening when leaving sculpt mode, introducing unnecessary lag to the operation.