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-12-11Cleanup: sort cmake file listsCampbell Barton
2020-12-11Cleanup: trailing spaceCampbell Barton
2020-12-11Cleanup: spelling, expand on FCurve.rna_path docstringCampbell Barton
2020-12-11UI: Use 'and' Instead of '&' in DescriptionsYevgeny Makarov
Use 'and' instead of ampersand in descriptions and comments. Differential Revision: https://developer.blender.org/D9797 Reviewed by Aaron Carlisle
2020-12-11Fix T83640: No immediate updates when changing the settings of a just-Philipp Oeser
duplicated particle system When particle settings are duplicated along with the particle system, this means a change in relations, was missing 'DEG_relations_tag_update'. Maniphest Tasks: T83640 Differential Revision: https://developer.blender.org/D9823
2020-12-10UI: Use words instead of symbols for float comparison itemsHans Goudey
Though they are nice and concise, users should not be expected to know the meaning of symbols like `!=`.
2020-12-10Geometry Nodes: Add helper function to check if attribute existsHans Goudey
2020-12-10Nodes: fix incorrectly parameter name and typeJacques Lucke
The parameter type was incorrectly changed in rB6be56c13e96048cbc494ba5473a8deaf2cf5a6f8 by me. This can be any id and does not have to be a node tree.
2020-12-10Fix T83630 Exact Boolean assert failure in Debug build.Howard Trickey
I thought I had reasoned that the add_patch would only happen when the patch was not already in a cell, but I missed reasoning about merged cells. So switched to a set 'add' instead of 'add_new'.
2020-12-10Geometry Nodes: Attribute Fill NodeHans Goudey
This commit adds a node that fills every element of an attribute with the same value. Currently it supports float, vector, and color attributes. An immediate use case is for "billboard" scattering. Currently people are using the same input to a Random Attribute node's min and max input to fill every element of a vector with the same value, which is an unintuitive way to accomplish the same thing. Differential Revision: https://developer.blender.org/D9790
2020-12-10Geometry Nodes: rename modifyPointCloud to modifyGeometrySetJacques Lucke
Since the initial merge of the geometry nodes project, the modifyPointCloud function already was already modifying a geometry set. The function wasn't renamed back then, because then the merge would have touched many more files. Ref T83357.
2020-12-10Fix T83361: UV Editor does not draw pinned selected UVs as pinnedPhilipp Oeser
Caused by rB4212b6528af. outlineColor is computed by the vertex shader, so not a uniform. So outlineColor was undefined. note: it was still possible to run into the situation that a selected UV is drawn ontop of a selected pinned UV [you had to disable sticky selection for this], now also make sure selected-pinned are drawn topmost, then selected, then unselected UVs. Maniphest Tasks: T83361 Differential Revision: https://developer.blender.org/D9786
2020-12-10Geometry Nodes: fix recursive instance transformsJacques Lucke
Previously, the transformation of recursive instances did not work as on would expect. Second-level instances would detach from first-level instances when the object was moved.
2020-12-10Fix missing string escaping in RNA_path_appendCampbell Barton
This was escaping the '[' character, which isn't needed for quoted text.
2020-12-10Cleanup: remove unused function bc_find_bonename_in_pathCampbell Barton
2020-12-10BLI_string: return NULL from BLI_str_quoted_substrN on failureCampbell Barton
This was returning an empty allocated string, however almost all callers checked if the return value was NULL before freeing, making for misunderstandings on the intended use of this function. BCAnimationSampler::initialize_curves for example detected the f-curves animation type to 'bone' based on a non-NULL return value which never failed. Also fixes two leaks where the the result of BLI_str_quoted_substrN wasn't freed.
2020-12-10Fix BLI_str_quoted_substrN use with escaped stringsCampbell Barton
BLI_str_quoted_substrN didn't unescape the resulting string, yet all callers were using this with animation paths which are created using BLI_str_escape(). - Fix BLI_str_quoted_substrN use with escaped strings by calling BLI_str_unescape(). Note that it's possible we want an a version of this function that keeps escape characters. This could be added if it's required. - Fix end quote detection using BLI_str_escape_find_quote checking for `\"` isn't reliable since an even number of back-slashes before a quote means it's not escaped.
2020-12-10BLI_string: extract quote utility into BLI_str_escape_find_quoteCampbell Barton
Duplicate logic for this exists in BLI_str_quoted_substrN, which doesn't properly support escaping.
2020-12-10Cleanup: remove unnecessary vars in RNA token readingCampbell Barton
2020-12-10Cleanup: declare variables when used (RNA)Campbell Barton
2020-12-10Cleanup: declare variables when used (bpy)Campbell Barton
2020-12-10Cleanup: avoid '_ln' suffixCampbell Barton
Use '_len' or '_line_number'.
2020-12-10Cleanup: use snake-case instead of camel-caseCampbell Barton
2020-12-10PyAPI: add bpy.utils.unescape_identifierCampbell Barton
Utility to perform the reverse of `bpy.utils.escape_identifier`
2020-12-10RNA: use BLI_str_unescape utility for parsing escaped stringsCampbell Barton
2020-12-10BLI_string: support escaping additional control characterCampbell Barton
Add support for escaping \a, \b & \f for completeness, currently it's not required.
2020-12-10BLI_string: add BLI_str_unescape utility functionCampbell Barton
Performs the reverse of BLI_str_escape. This allows logic to be removed from RNA path handling.
2020-12-10Fix BLI_str_escape with control characters, add unit testsCampbell Barton
2020-12-10Cleanup: rename BLI_strescape to BLI_str_escapeCampbell Barton
Prepare for `BLI_str_unescape` which doesn't read well without the separator.
2020-12-10Cleanup: Use const for filter queriesJulian Eisel
2020-12-10Sculpt: Elastic deform type for Snake HookPablo Dobarro
This adds deformation types to snake hook and the elastic deformation type. This mode deforms the mesh using a kelvinlet instead of applying the displacement directly inside the brush radius, which is great for stylized shapes sketching. Changes in rake rotation when using elastic are too strong when set to 1, so I'll add a nicer way to support rake rotations with smoother transitions in the future. Reviewed By: sergey, JulienKaspar Differential Revision: https://developer.blender.org/D9560
2020-12-10Cleanup: Remove unused c popup menu for text editorAaron Carlisle
This code hase been usused for 10 years and the right click menu is now in python.
2020-12-09Fix T82242: creating particle influence textures does not set up DEGPhilipp Oeser
relation immediately Texture and ParticleSettings have a DEG relation, but `DEG_relations_tag_update` was not called when the texture changed. This lead to no updates when e.g. texture size changes, relation only went into full effect after save/reload or adding/removing keyframes. Two places were additional relation tagging is needed: - ParticleSettings `active_texture` changes - ParticleSettingsTextureSlot (basically any TextureSlots') texture changes Maniphest Tasks: T82242 Differential Revision: https://developer.blender.org/D9393
2020-12-09UI: Update theme to match Shader nodes category color with socket colorPablo Vazquez
The change to match socket color and category was already done, but it was missing versioning code to update the theme on load. Fixes T83500 (already closed as invalid, but this would solve the non-matching colors) Reviewed by Hans Goudey (HooglyBoogly)
2020-12-09Cleanup: various clang tidy fixesJacques Lucke
2020-12-09Geometry Nodes: simplify supporting different input socket types for attributesJacques Lucke
This is a non-functional change. The functionality introduced in this commit is not used in master yet. It is used by nodes that are being developed in other branches though.
2020-12-09Fix T83575: GPencil: VFX Blur is not disabled when samples are zeroAntonio Vazquez
Before the number of samples was not checked, only the pixel size.
2020-12-09Fix T83588: Crash with Shrink/Fatten and Offset EvenGermano Cavalcante
`t->keymap` can be `NULL`. Bug introduced in rBc822f66bb83
2020-12-09Fix T83460: Regression in snap for measure toolGermano Cavalcante
Now the gizmo is drawn only when the eventstate located in `wm->winactive->eventstate` has not changed. So it doesn't matter if it's "selected" or not. This commit also removes the use of the private header "wm.h" Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D9539
2020-12-09Degraded AMD 20.11.3 driver to limited support.Jeroen Bakker
2020-12-09Workaround for Access Violation startup crash on deprecated Radeon GPUs on ↵Jeroen Bakker
Windows This is a workaround for T80804. There's a startup crash that happens on 2.91.0 on Windows, an `EXCEPTION_ACCESS_VIOLATION` on `atio6axx.dll`. It is triggered by `glClear` on the `detect_mip_render_workaround` function. The workaround moves the function after the device/driver workaround section and sets the flag to the affected one to avoid running the check. It is deprecated hardware that has not meet the minimum requirements since 2.79, but is still usable and this extends its usability a bit before the cards are finally blacklisted. Reviewed By: Jeroen Bakker Differential Revision: https://developer.blender.org/D9667
2020-12-09Raised AMD/Terascale2 from unsupported to supported.Jeroen Bakker
There is a patch that fixes the crash on startup {D9667}.
2020-12-09Raised AMD CEDAR on Linux from unsupported to limited supportJeroen Bakker
There is a workaround available by setting the environment variable `R600_DEBUG=nosb`.
2020-12-09Fix T83566: bpy.props.CollectionProperty gives incorrect errorCampbell Barton
Error in commit a7b3047cefcbfae4d8b13e15026497fd5ae92730.
2020-12-09Fix another id-property name length checkCampbell Barton
Missed this in 6c9263d817b7b4dcd4d6e1f365d1db0a83de6e51
2020-12-09Fix off by one error in id-property name validationCampbell Barton
The Python API accepted a name with 64 bytes, clipping it to 63.
2020-12-09Fix RNA un-escaping multiple slashes and strings ending with a slashCampbell Barton
Fix for T78823 resolved the issue reported but didn't properly support multiple back-slashes.
2020-12-09Fix T78823: Slash in custom property name does not workCampbell Barton
This fixes inserting key-frames for any collection names containing a back-slash too (bones, modifiers, sequence strips etc).
2020-12-09Revert "Fix T78823: Slash in custom property name does not work"Campbell Barton
This reverts commit cbae82ba960a0baaae6437b176a310f078ce07d8. This change introduced the following problems: - We could no longer reliably duplicate or use an existing custom property names. - We could no longer assume a bone or ID name can be used in a custom-property. - Importers that support custom properties (such as FBX) could fail with an exception creating custom properties.
2020-12-09Cleanup: use doxy sections for graph_edit.cCampbell Barton