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-12-09Cleanup: move public doc-strings into headers for 'io/alembic'Campbell Barton
Ref T92709
2021-12-09Cleanup: Various cleanups to the tree-view APIJulian Eisel
* Correct URL for documentation (was changed recently). * Add comments. * Reevaluate and update which functions are public, protected or private. * Reorder functions and classes to be more logical and readable. * Add helper class for the public item API so individual functions it uses can be made protected/private (the helper class is a friend). Also allows splitting API implementation from the C-API. * Move internal layout builder helper class to the source file, out of the header. * More consistent naming. * Add alias for item-container, so it's more clear how it can be used. * Use const. * Remove unnecessary forward declaration.
2021-12-09Cleanup/Documentation: Add/move comments for asset filesJulian Eisel
Adds some basic high-level explanations for editor/UI level asset APIs. Also moves one such comment from the source file to the header file, so it's in the same file as other API comments.
2021-12-09Cleanup: move public doc-strings into headers for 'io/collada'Campbell Barton
Ref T92709
2021-12-09Cleanup: use doxy section for itasc_pluginCampbell Barton
It wasn't obvious all callbacks were part of the plugin-API.
2021-12-09Cleanup: move public doc-strings into headers for 'functions'Campbell Barton
Ref T92709
2021-12-09Fix T93519: handle prefix names in autocompletesAzeem Bande-Ali
Autocomplete entires keep track of the length of the prefix in `name_prefix_offset`. However, the name matching logic was comparing the string including the prefix which resulted in tab-completion not working (when the user didn't also type in the prefix, typically two whitespaces). This is fixed by passing in a char pointer after the end of the prefix. Additionally, some searchbox logic is moved. Previously, `ui_searchbox_apply` would clear the entry which would mean that `ui_searchbox_find_index` would never succeed. Now the search box is only cleared if no match was found. Differential Revision: https://developer.blender.org/D13483
2021-12-09Cleanup: move public doc-strings into headers for 'freestyle'Campbell Barton
Ref T92709
2021-12-09Cleanup: move public doc-strings into headers for 'nodes/geometry'Campbell Barton
Ref T92709
2021-12-09Cleanup: move public doc-strings into headers for 'io/gpencil'Campbell Barton
Ref T92709
2021-12-09Cleanup: move public doc-strings into headers for 'geometry'Campbell Barton
Ref T92709
2021-12-09Cleanup: spelling in commentsCampbell Barton
2021-12-09Cleanup: move public doc-strings into headers for 'gpencil_modifiers'Campbell Barton
Removed doc-strings for operator definitions as they didn't provide useful information in addition to the operators own description. Ref T92709
2021-12-09Cleanup: move public doc-strings into headers for 'compositor'Campbell Barton
Ref T92709
2021-12-09Cleanup: move public doc-strings into headers for 'gpu'Campbell Barton
Ref T92709
2021-12-09Cleanup: move public doc-strings into headers for 'imbuf'Campbell Barton
Ref T92709
2021-12-09Cleanup: move public doc-strings into headers for 'blenlib'Campbell Barton
- Added space below non doc-string comments to make it clear these aren't comments for the symbols directly below them. - Use doxy sections for some headers. - Minor improvements to doc-strings. Ref T92709
2021-12-09Cycles-X: Add hysteresis to resolution divider algorithmAlaska
Adds hysteresis to the resolution divider algorithm to avoid having the resolution bounce around when on the boundary of two resolutions. Reviewed By: brecht, leesonw Differential Revision: https://developer.blender.org/D12385
2021-12-09Fix incorrect copying of XR action map itemsPeter Kim
After using MEM_dupallocN() on the original item, the bindings ListBase for the new item needs to be cleared and each binding copied separately.
2021-12-09Cleanup: Remove empty node button layout functionAaron Carlisle
Was unused since the first commit: rB658b4c0d56dffbcf1476c2a2a019fa0ecfb79376
2021-12-09Fix T93869: snap cursor may fail in orthographic viewGermano Cavalcante
Float precision issues cause the `ED_view3d_win_to_3d_on_plane` to return a value even when the view ray is parallel to the plane. A more general solution might be desired in this case, as other areas that use `ED_view3d_win_to_3d_on_plane` might have the same problem. For now, just work around the problem for the snap cursor.
2021-12-09Fix T93523: Memory leak in Menu SearchErik
Fixes a memory leak introduced by D13225. Caused by not freeing the hash-map in some cases. Differential Revision: https://developer.blender.org/D13432
2021-12-09Fix T93858: Zstd-compressed .blend files from external tools aren't recognizedLukas Stockner
The issue here was that after the seek table check, the underlying file wasn't rewound to the start, so the code that checks for the BLENDER header immediately reaches EOF and fails. Since Blender always writes files with a seek table, this bug isn't triggered by files saved in Blender itself. However, files compressed in external tools generally don't have a seek table.
2021-12-08Fix T93642: value used as transform offset is ignored in some modesGermano Cavalcante
If a transform operator is executed as modal and has a "value" set, that value works as an offset. However few transform modes were supporting this. Include more transform modes as supported.
2021-12-08Cleanup: Avoid lookup the same property string multiple timesGermano Cavalcante
This is a micro-optimization that is useful for operators with many properties.
2021-12-08Geometry Nodes: Mesh Island NodeJohnny Matthews
This node is a field input that outputs a separate index for each mesh island. The indices are based on the order of the lowest-numbered vertex in each island. Authoring help from @hooglyboogly Differential Revision: https://developer.blender.org/D13504
2021-12-08Fix T93728: Greasepencil separate will loose all vertex groupsPhilipp Oeser
Caused by {rB3b6ee8cee708} The raw data is copied here correctly [`BKE_gpencil_stroke_weights_duplicate` in `BKE_gpencil_stroke_duplicate`] but the vertex groups names are missing. Prior to above commit is was enough to have `ED_object_add_duplicate` (this seemingly took care of duplicating object's defbase). Now vertex groups names sit on the `bGPdata` rather than the `Object`, and since the separate operation creates **new** `bGPdata` we have to copy vertex groups names - and active index - over [via `BKE_defgroup_copy_list`]. Maniphest Tasks: T93728 Differential Revision: https://developer.blender.org/D13509
2021-12-08Cycles: Fix OS version warningsMichael Jones
This patch suppresses OS version warnings and hides currently unsupported Metal GPUs when enumerating devices. Reviewed By: brecht Differential Revision: https://developer.blender.org/D13506
2021-12-08Cleanup: Avoid error prone pointer storage in SnapObjectParamsCampbell Barton
eed48a73222efb86b53cdd99079f8c26eba30e57 caused the `SnapObjectParams` to be stored in the `SnapObjectContext`. As this pointer is always passing in stack memory, so it seems error prone to keep a reference to this in `SnapObjectContext` since failure to set this will reference undefined stack memory. So avoid this by moving params out of `SnapObjectContext`. Differential Revision: https://developer.blender.org/D13401
2021-12-08Fix T91680: viewport selection broken in macOS x86 build with Xcode 13Brecht Van Lommel
There is an apparent compiler bug here, tweak the code to avoid it. This did not affect official builds as we were still using Xcode 12.
2021-12-08Cleanup: Use float2 for node view functionsHans Goudey
Though the interfacing with `rctf` becomes slightly more complicated, this should be more helpful as more of this code usese `float2` instead of two separate floats.
2021-12-08Cleanup: move public doc-strings into headers for 'editors'Campbell Barton
Ref T92709
2021-12-08ImBuf: Performance IMB_transform.Jeroen Bakker
This change uses generics to reduce code duplication an increases flexibility and performance. Performance increase isn't measurable for end users.
2021-12-08Cleanup: move public doc-strings into headers for 'sequencer'Campbell Barton
Ref T92709
2021-12-08Cleanup: move public doc-strings into headers for 'draw'Campbell Barton
Ref T92709
2021-12-08Cleanup: move public doc-strings into headers for 'shader_fx'Campbell Barton
Ref T92709
2021-12-08Cleanup: move public doc-strings into headers for 'simulation'Campbell Barton
Ref T92709
2021-12-08Cleanup: move public doc-strings into headers for 'blentranslation'Campbell Barton
Ref T92709
2021-12-08Cleanup: moved IMB_transform to transform.cc.Jeroen Bakker
Part of a refactoring to make IMB_transform more generic to reduce unneeded branching.
2021-12-08Cleanup: Silence clang-tidy warnings.Jeroen Bakker
2021-12-08Cleanup: move public doc-strings into headers for 'blenloader'Campbell Barton
Ref T92709
2021-12-08Cleanup: move public doc-strings into headers for 'render'Campbell Barton
Ref T92709
2021-12-08Cleanup: move public doc-strings into headers for 'windowmanager'Campbell Barton
Ref T92709
2021-12-08Cleanup: move public doc-strings into headers for 'makesrna'Campbell Barton
Ref T92709
2021-12-08Cleanup: move public doc-strings into headers for 'makesdna'Campbell Barton
Ref T92709
2021-12-08Cleanup: move public doc-strings into headers for 'blendthumb'Campbell Barton
Ref T92709
2021-12-08Cleanup: move public doc-strings into headers for 'blenfont'Campbell Barton
Ref T92709
2021-12-08Cleanup: move public doc-strings into headers for 'modifiers'Campbell Barton
Ref T92709
2021-12-08Cleanup: Clang-Tidy modernize-redundant-void-argAaron Carlisle
2021-12-08Cleanup: Missing braces in array declarationAaron Carlisle