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-10-23Merge branch 'blender-v2.91-release'Campbell Barton
2020-10-23Fix T80165: Separate by loose parts breaks custom normalsCampbell Barton
- Add NULL check for BKE_lnor_spacearr_clear - Remove unnecessary 'use_toolflags' with BMesh creation.
2020-10-23Merge branch 'blender-v2.91-release'Aaron Carlisle
2020-10-23Fix T81969 VSE: Wrong UI colorspace after scene strip updateClément Foucault
This regression was caused by rB57de5686048f which disabled srgb transform after the python callback. The right thing to do is to only rebind the framebuffer once to reset the no-srgb override.
2020-10-23Fix T73793 Walk navigation crosshair gets hidden behind objectsClément Foucault
This was reintroduced by the wide line emulation workaround.
2020-10-23Merge branch 'blender-v2.91-release'Hans Goudey
2020-10-23Fix T81818: Outliner mode column crashes with shared object dataHans Goudey
For objects with shared data, it makes sense to show the mode icon for every object sharing the same data if one of them is in edit mode. This also disables the "extend" functionality in this case, because being in edit mode for multiple objects with the same data isn't supported. Differential Revision: https://developer.blender.org/D9273
2020-10-23Cleanup: make formatAaron Carlisle
2020-10-22Merge branch 'blender-v2.91-release'Hans Goudey
2020-10-22Cleanup: Simplify outliner mode column drawing functionHans Goudey
Move the checks for whether to draw the button to the beginning of the function and return early. Also use a shorthand variable for ob_active. Committing to 2.91 as a patch for an upcoming bug fix depends on these changes. Differential Revision: https://developer.blender.org/D9272
2020-10-22Sculpt: Grab silhouette optionPablo Dobarro
This adds a property to the grab that masks vertices based on its original normal and grab delta. When used on thin meshes, it allows to grab the silhouette from one side of the object without affecting the shape of the other side. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9205
2020-10-22Fix T81932: Dyntopo crashing with sculpt vertex colors brush toolsPablo Dobarro
Paint and smear tools are only implemented for regular mesh PBVH, meaning they are not supported by the dynamic topology and multires sculpting. These tools are to be ignored for an unsupported sculpt modes, regardless of state of user preferences. Reviewed By: sergey Maniphest Tasks: T81932 Differential Revision: https://developer.blender.org/D9308
2020-10-22GPencil: Add new parameter to set caps in CutterAntonio Vazquez
The new parameter allows to define if after cutting the stroke the cap of the cut side will be set as flat. Before, the cap shape of the cut side always was equal to the original stroke, and in some situations, the rounded cap was visible. Note: If the angle of the join is very extreme, it's still possible to view some sections of the cut stroke.,
2020-10-22Merge branch 'blender-v2.91-release'Antonio Vazquez
2020-10-22GPencil: Fix unreported mistake in material index for trace imagensAntonio Vazquez
The material index was not used and only worked with new objects.
2020-10-22Cleanup: Use LISTBASE_FOREACH macro in curve codeHans Goudey
These changes should result in more readable and undestandable code, especially where while loops were use instead of for loops. They are not comprehensive, and I skipped wherever the change was not obvious.
2020-10-21Merge branch 'blender-v2.91-release'Philipp Oeser
2020-10-21Fix T81896: Outliner missing redraw after "Set Parent (Without Inverse)"Philipp Oeser
Outliners listener (outliner_main_region_listener) needs ND_PARENT notifier to redraw, the parenting operator only spawned ND_TRANSFORM (which doesnt do a redraw). Maniphest Tasks: T81896 Differential Revision: https://developer.blender.org/D9295
2020-10-21Merge branch 'blender-v2.91-release'Philipp Oeser
2020-10-21Fix T81929: Sculpt: Mask operators missing drawing update on meshes withPhilipp Oeser
shapekeys/modifiers This was failing for all mask filters (sharpen, grow, invert, clear, shrink, contrast, smooth) and mask gestures (box, lasso). Also have to recalc shading, use SCULPT_tag_update_overlays for this. ref D8956 Maniphest Tasks: T81929 Differential Revision: https://developer.blender.org/D9302
2020-10-21GPencil: Bake mesh animation for selected keyframes onlyAntonio Vazquez
This new option allows to bake the animation of the selected frames and not the full range of keyframes.
2020-10-21UI: Allow changing the active side of line gesturesPablo Dobarro
Line gesture use always the right side of the line as active (the area of the mesh that is going to be modified) by default. This adds the ability to change the active side when the line gesture is active by pressing the F key. This allows more freedom to position the line after starting the gestures, as it won't be required to cancel the operation or undo if the line was used in the wrong direction. Reviewed By: Severin Differential Revision: https://developer.blender.org/D9301
2020-10-21UI: Allow changing the active side of line gesturesPablo Dobarro
Line gesture use always the right side of the line as active (the area of the mesh that is going to be modified) by default. This adds the ability to change the active side when the line gesture is active by pressing the F key. This allows more freedom to position the line after starting the gestures, as it won't be required to cancel the operation or undo if the line was used in the wrong direction. Reviewed By: Severin Differential Revision: https://developer.blender.org/D9301
2020-10-21UI: Swap order of increment and decrement file name icon in File BrowserJulian Eisel
Swaps the order of the '+' and '-' button in the File Browser file name field, so that '-' comes first. For increasing or decreasing a value it makes more sense to have decreasing first, increasing last. Consistent to how you press on the left side of a number button for decrease, and right to increase. However this is inconsistent in another way: Usually we have a '+' button before a '-' button, but that refers to adding and removing items, not increasing or decreasing. The icons are also placed in their own buttons then, making them look more separate. So the UI Team agreed on accepting that trade-off, see today's meeting notes: https://devtalk.blender.org/t/2020-10-21-ui-team-upcoming/15849
2020-10-21UI: Move Properties path pin button next to the data-pathJulian Eisel
The pin button should be next to the data-path, which is what it belongs to. Note that this makes the placement of the search button in the header look quite off. That is because it's centered to the absolute header width, not the width of the main region (which is smaller because of the tab region on the left). Technically it's correct that way, visually it looks wrong. This will be addressed in a followup commit.
2020-10-21GPencil: Fix unreported problem with strokes bounding box that makes ↵Antonio Vazquez
impossible sculpt When the stroke was not flat, the bounding box projected could not be right and the strokes could not be painted or sculpted. Now, the 2D bounding box is calculated using the extremes of the 2D bounding box and not the original 3D min and max values.
2020-10-21Fix 'Make Local' operation to support liboverrides.Bastien Montagne
One can now use 'make local' from the Outliner or the 3DView to also fully localize overrides of linked data.
2020-10-21UI: Fix typo in sculpt trim tool descriptionHans Goudey
2020-10-21WM: ensure is_repeat isn't copied from the last eventCampbell Barton
This means if a keymap item is set to ignore repeat events, it may do so accidentally from this setting being copied.
2020-10-21Preferences: separate feature flags for geometry nodes and point cloud typeJacques Lucke
Those two features are not directly related and one might be activated in master earlier than the other. WITH_PARTICLE_NODES was removed, because we continue the project under the name "Geometry Nodes".
2020-10-21Cleanup: early return from animation step, reduce indentation levelCampbell Barton
2020-10-21Fix T81079: Switch object ignoring visibility settingsPablo Dobarro
Replace ED_transform_snap_object_context_create with ED_view3d_give_base_under_cursor & ED_view3d_autodist_simple so object visibility is respected and non-geometry objects can be supported. Ref D9255
2020-10-21Fix for T81757: Incorrect Overlay Line HeightHarley Acheson
Fixes error in determining 3DView Overlay Line Height. Do not base on current default font height. Differential Revision: https://developer.blender.org/D9288 Reviewed by Campbell Barton
2020-10-20Fix sculpt pen tilt support changing the brush strengthPablo Dobarro
SCULPT_tilt_apply_to_normal expects a normal, and offset was already scaled by radius. The funcion returns a normalized vector, so the strength of the brush was changed. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9275
2020-10-20Cleanup: Clang-tidy bugprone-redundant-branch-conditionAnkit Meel
No functional change.
2020-10-20UI:Add icon for Displacement Eraser brushRahul Chaudhary
This patch adds icons for the multires displacement eraser tool in sculpt mode Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D9286
2020-10-20UI: Add icons for line genture toolsRahul Chaudhary
This patch adds icons for line gesture tools Line mask and line project Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D9285
2020-10-20UI: Add icon for boundary brushRahul Chaudhary
This patch adds icon for the boundary brush in sculpt mode Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D9284
2020-10-20UV/Image: Remove Legacy DrawingJeroen Bakker
With D8234 a new drawing method for UV/Image editor was introduced. For debugging reasons we left the old drawing method in the code base. This patch will remove the old drawing method. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9011
2020-10-20Fix T81076: Crash on switch object operator undoPablo Dobarro
This fixes the crash and the assert, but undo is done in multiple steps Reviewed By: campbellbarton Maniphest Tasks: T81076 Differential Revision: https://developer.blender.org/D9256
2020-10-20Cleanup: General comment style clean up of graph_edit.c and fcurve.cSebastian Parborg
No functional changes. Reviewed By: Sybren A. Stüvel Differential Revision: http://developer.blender.org/D7850
2020-10-20Fix T81776: Sculpt line gestures not working with transformed objectsPablo Dobarro
The line gesture plane should be in object space, not in world space.
2020-10-20Simulation: remove particle nodes with outdated designJacques Lucke
The design for how we approach the "Everything Nodes" project has changed. We will focus on a different part of the project initially. While future me will likely refer back to some of the code I remove here, there is no point in keeping this code around in master currently. It would just confuse other developers working on the project. This does not remove the simulation modifier and data block. Those are just cleaned up, so that the boilerplate code can be reused in the future.
2020-10-20Fix T81684: node location not handled correctlyJacques Lucke
Reviewers: ISS Differential Revision: https://developer.blender.org/D9236
2020-10-20Fix T81190: Merge by Distance marks edges sharpCampbell Barton
Make calculating edges sharp optional since it marks nearly all edges sharp when the normals have been manually rotated.
2020-10-20Cleanup: use BLI_listbase_is_single instead of countingCampbell Barton
2020-10-20Fix Boundary brush not working when the whole mesh is inside the brush radiusPablo Dobarro
When creating the boundary edit data, the loop can stop because a new vertex was found further from the boundary than the brush radius or because all vertices of the mesh were already processed. In this second case, the max_propagation_step was not set, so the code that laters calculates the falloff was not working, preventing the mesh from deforming. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9215
2020-10-20Sculpt: Smooth deform type for Boundary BrushPablo Dobarro
This adds a smooth deformation type to the boundary brush, which smooths the boundary and has a regular falloff towards the inside of the mesh. For smoothing, only vertices parallel to the boundary are taken into account, creating this effect. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9204
2020-10-20Fix missing Sculpt Overlays updates when using modifiersPablo Dobarro
Now that sculpt mask and face sets can also be drawn without using the PBVH, these operators need these extra updates when the data changes. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8956
2020-10-20Sculpt: Reduce the displacement step in the cloth solverPablo Dobarro
Previously the base displacement for solving the constraints was always using 0.5, which may introduce artifacts when multiple constraints of different types are computed for the same vertex. This introduces a factor that reduces the base displacement of the solver, reducing the artifacts. Reviewed By: sergey Differential Revision: https://developer.blender.org/D9202