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
2021-09-04Compositor: Full frame filter nodesManuel Castilla
Adds full frame implementation to Anti-Aliasing, Defocus, Denoise, Despeckle, Dilate/Erode, Directional Blur, Filter, Inpaint and Vector Blur nodes. The other nodes in "Filter" sub-menu are submitted separately. Part of T88150. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D12219
2021-09-04Python: Allow Area Close via ScriptingHarley Acheson
Screen area maintenance "Close" function allowed to be scripted. See D12307 for usage example. Differential Revision: https://developer.blender.org/D12307 Reviewed by Campbell Barton
2021-09-04GPencil: Fix Noise Modifier Randomize Panel disabledHenrik Dick
Fix regression introduced in rB34b213d60472 Reviewed By: antoniov Differential Revision: https://developer.blender.org/D12398
2021-09-04GPencil: Fix subdivision modifier disabled on strokes with 2 pointsHenrik Dick
Fixes the regression introduces in rB29f3af952725 . The subdivision modifier used to work on two point strokes with simple mode but not with catmul clark. Now it will work with simple mode and in case of catmull clark mode it will still use simple mode on these strokes. Differential Revision: https://developer.blender.org/D12397
2021-09-04BMesh: optimize edge & face group calculationMikkel Gjoel
This changes the search for unprocessed faces to only search from the previously found face. Local testing on 1.5 million triangle meshes gives a 75x speedup (of the code affected, which is the first half of the work). The former code would traverse all faces of a mesh until a face was found that had not been processed. This ended up being slow mainly because it had to load face-data to determine the state of the flag. Secondarily, the way it iterated and marked the mesh, it would end up traversing all previously processed faces to find and unprocessed one. The same optimization has been made for edge-group calculation. Reviewed By: campbellbarton Ref D12379
2021-09-04RNA: support extracting names from paths without allocating memoryCampbell Barton
Support extracting identifiers RNA paths into fixed size buffer since the maximum size of the identifier is known all cases. - Add BLI_str_unescape_ex to support limiting the destination buffer. - Add BLI_str_quoted_substr to copy values into a fixed size buffer.
2021-09-04Fix T91119: Curve to mesh node inverted face normalsHans Goudey
Previously I thought I fixed this by reversing the face corner indices in quads created by the curve to mesh node. But then we fixed a problem with the transforms used in that node by inverting one of their components, so the required direction also reversed. This commit reverts rBcf28398471c84 and reverses the default direction of the quadrilateral primitive so it's the same as the others. Tests will be updated.
2021-09-03Rename position node fileHans Goudey
2021-09-03Fix crash in normal nodeHans Goudey
2021-09-03UDIM: Show the UV grid even when images are loadedJesse Yurkovich
Allow the UDIM grid to be shown and adjusted when there are images loaded in UV edit mode. Right now the grid feature disappears once an image is loaded and many have found this to be confusing. Based on community and artist feedback, there was support to change this behavior[1] This patch does the following: - Allows the grid to be shown even when images are present - The max allowable dimensions for the grid has been increased from 10x10 to 10x100 to match the underlying maximum UDIM range that blender supports Note: This should not affect other Image editor modes like Paint/Mask or the Render Result viewer etc. Future work in this area is currently documented in a dedicated design task[2] [1] https://devtalk.blender.org/t/the-udim-tile-grid-design-and-feedback-thread/20136 [2] https://developer.blender.org/T90913 Differential Revision: https://developer.blender.org/D11860
2021-09-03Various small cleanupsHans Goudey
2021-09-03Merge branch 'master' into temp-geometry-nodes-fieldsHans Goudey
2021-09-03Support fields in the point translate node, add selection inputHans Goudey
Because we don't have a "Extract Named Attribute" node currently, I had to keep the old string input. Otherwise we wouldn't be able to add versioning.
2021-09-03Add utility methods for field destinations and selection fieldsHans Goudey
2021-09-03Improve message in ob_parbone() about the missing Parent BonePhilipp Oeser
- lower to warning (might be debatable, but this is not really malfunctioning and e.g. constraints/modifiers dont spit out errors if targets are not specified) - clarify _what_ of the two actualy does not exist ref. T91101 Maniphest Tasks: T91101 Differential Revision: https://developer.blender.org/D12389
2021-09-03Depsgraph: skip parentbone relation if bone prop is emptyPhilipp Oeser
Clearing the Parent Bone field in relations would result in something like this: ``` add_relation(Bone Parent) - Could not find op_from (ComponentKey(OBArmature, BONE)) add_relation(Bone Parent) - Failed, but op_to (ComponentKey(OBEmpty, TRANSFORM)) was ok ERROR (bke.object): /source/blender/blenkernel/intern\object.c:3330 ob_parbone: Object Empty with Bone parent: bone doesn't exist ``` Now skip creation of a depsgraph relation if the Parent Bone field is empty (since this would be invalid anyways). ref. T91101 Maniphest Tasks: T91101 Differential Revision: https://developer.blender.org/D12389
2021-09-03add some commentsJacques Lucke
2021-09-03Fix T88411: Draw frame node text when label is emptyLeon Leno
This patch fixes the issue described in T88411, that the text in frame nodes is only shown, when the node has a label. This has been caused by rB8f04ddbbc626, because `node_draw_frame_label` not only draws the label, but also all the other text. Therefore skipping it, when the label is empty, also skips drawing the other text. This is fixed by moving the check for the empty label into `node_frame_draw_label`. **Patch:** Frame nodes show text despite not having a label. {F10286204, size = full} **Same setup in master:** {F10128099, size = full} **Test file** {F10128102} Reviewed By: #user_interface, pablovazquez Maniphest Tasks: T88411 Differential Revision: https://developer.blender.org/D11315
2021-09-03rename field related classesJacques Lucke
2021-09-03GPencil: Smooth thickness when joining strokesAntonio Vazquez
When joining two strokes in paint mode using the auto merge option, the join was very hard if the thickness was too different. This patch adds a smooth to the join in order to get better transition. Also fixed the problem to join existing strokes very far from actual stroke. Some cleanup and rename of old code is included in order to make code more readable. Reviewed By: pepeland Differential Revision: https://developer.blender.org/D12362
2021-09-03Fix T87768: `.path_resolve` fails when requested property is None.Campbell Barton
Add a version of RNA_path_resolve_full that returns true when the path resolves to a NULL RNA pointer.
2021-09-03use GFieldRef where appropriateJacques Lucke
2021-09-03PyAPI: add read-only 'is_valid' attribute to mathutils typesCampbell Barton
There was no convenient way to check if the owner of a mathutils type was valid. Added to support issue reported in T91111.
2021-09-03fix bug when the same field is evaluated twiceJacques Lucke
2021-09-03Fix T91159: GPencil Smooth brush is using Affect Pressure but not usedAntonio Vazquez
The parameter wa sin the UI but was not used because it was replaced by Use Thickness.
2021-09-03RNA: minor optimize for token extraction of RNA pathsCampbell Barton
- Split rna_path_token in two, extracting bracket handling into it's own function. - Only handle escape characters for quoted tokens. Numbers were copied using BLI_str_unescape which is unnecessary. - Extract text without without quotes, use a return argument so the caller can tell if the token was quoted. This avoids having to strip the tokens quotes afterwards.
2021-09-03add initial Attribute Freeze nodeJacques Lucke
2021-09-03Cleanup: use bool for RNA path token extractionCampbell Barton
2021-09-03support deduplication of normal nodeJacques Lucke
2021-09-03fix typoJacques Lucke
2021-09-03Merge branch 'master' into temp-geometry-nodes-fieldsJacques Lucke
2021-09-03Cleanup: convert function nodes socket list to use new APIRajesh Advani
The new API was introduced in rB1e69a25043120cc8dddc3f58622eb50e1443def1. Differential Revision: https://developer.blender.org/D12380
2021-09-03Docs: add note to skip_fcurve_selected_data sequence strip checkCampbell Barton
Without an explanation the sequencer logic looked wrong since other selection checks don't skip data that can't be found.
2021-09-03Cleanup and improve commentHans Goudey
2021-09-03Add initial normal nodeHans Goudey
In contrast with the read-only "normal" attribute on the face domain, this node gives normalized values for every mesh domain, including edges and corners. This is preferrable since it's much more predictable to work with. The implementation is a little more complicated than I would like, but could be improved with const access to lazy calculation of normals on meshes, which is something I've been planning to work on anyway.
2021-09-03Fix function and define namesHans Goudey
2021-09-03Cleanup: Internally rename "position" to "input_position"Hans Goudey
Maybe we'll decide not to do this, for now maybe it's better to be consistent though
2021-09-03Cleanup: Rename index node defineHans Goudey
2021-09-03Add "Index" nodeHans Goudey
2021-09-03Allow Set Position node to act on more component types, cleanupHans Goudey
2021-09-02Add a special case for a selection spanHans Goudey
This will probably end up being a utility used elsewhere, so it's worth adding this case.
2021-09-02Reorder input socketsHans Goudey
Since the position is the more important input compared to the selection, it should be on top
2021-09-02Cleanup: Remove unnecessary includeHans Goudey
2021-09-02Merge branch 'master' into temp-geometry-nodes-fieldsHans Goudey
2021-09-02GPencil: Change default Scale Thickness to True in 2D templateAntonio Vazquez
This parameter is more logic as true because is better scale thickness when the size of the stroke changes. Reviewed by: @mendio @pepeland
2021-09-02Revert "PyAPI: GPU Shader: add 'state' parameter to uniform sampler"Germano Cavalcante
This reverts commit 2aad8fc7bc2a45d5f749430c7cb9b82b9f6c9e49. It was a commit without proper review. A better API needs to be discussed.
2021-09-02Build utils: `make_update`: Add option to choose SVN branch.Bastien Montagne
Needed for studio sprite-fright frozen branch. Also do not overwrite branch for git sub-modules when it is defined, and fallback to `master` branch in case specified branch is not found in a specific sub-repository.
2021-09-02fix testJacques Lucke
2021-09-02fix attribute field source deduplicationJacques Lucke
2021-09-02Merge branch 'master' into temp-geometry-nodes-fieldsJacques Lucke