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
2021-11-10Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-10Cleanup: Use bool instead of intHans Goudey
2021-11-10Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-10Geometry Nodes: Clarify modifier node group errorsHans Goudey
This commit adds modifier error messages to some of the cases where the node group is configured improperly. It also clears the geometry set when there is an error with the node group. This is consistent to what we do in nodes themselves, and feels more intuitive than passing the input geometry through the node group silently. Fixes T87142
2021-11-10Merge branch 'blender-v3.0-release'Jeroen Bakker
2021-11-10Fix T91518: crash when recalculating looptris after clearing geometry.Jeroen Bakker
When clearing geometry the runtime mutexes of a mesh were freed. This resulted in crashes afterwards. The clear geometry is an RNA function so would only effect when using from scripts. This patch separates init/freeing of the mutexes from other code so they can be used when needed. Reviewed By: mont29 Maniphest Tasks: T91518 Differential Revision: https://developer.blender.org/D13142
2021-11-10Merge branch 'blender-v3.0-release'Philipp Oeser
2021-11-10Fix T92979: Emission Strength Animation read wrong in 3.0Philipp Oeser
First this was wrong for files written in 2.93 read into blender in 3.0 after the CyclesX merge. Then this was fixed by versioning in rB6321dd3d4007. But this caused files written in 3.0 to have this versioning applied as well (leading to socket shifting). Now only do the versioning for files created before the CyclesX merge. Maniphest Tasks: T92979 Differential Revision: https://developer.blender.org/D13173
2021-11-10Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-10Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-10Fix T92874: Custom normals reset when vertex is deletedCampbell Barton
Storing and restoring custom normals was broken by 39b2a7bb7e815e051348bf5c5ec777d091324164 This also caused "Sharp Edge" option for Weld by Distance to fail, reported as T92875.
2021-11-10Fix: Hide selection value in resample curve node, fix orderHans Goudey
Selection sockets are meant to come right after the geometry, this was missed in review of rBa7672caeb255e3. Also, the selection value was not hidden.
2021-11-10Cleanup: Move info_stats.c to C++Hans Goudey
2021-11-09Fix: Incorrect assert in dot grid drawingHans Goudey
It's totally valid for the grid levels to be zero.
2021-11-09Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-09Fix: Crash with no active object after recent commitHans Goudey
rBaa13c4b386b13111 added a check for the active object in drawing code, but it missed adding a check for the active base before trying to retrieve its object.
2021-11-09Merge branch 'blender-v3.0-release'Jacques Lucke
2021-11-09Fix T92908: print warning when instance recursion limit is reachedJacques Lucke
Currently we have a fixed instance recursion limit. While we want to lift this limitation at some point, that is out of scope for a bug fix. For now just print a warning to make it easier to detect the issue. Differential Revision: https://developer.blender.org/D13162
2021-11-09Merge branch 'blender-v3.0-release'Hans Goudey
2021-11-09Viewport: Remove different outline color for instancesHans Goudey
With instancing becoming more common with geometry nodes, instances are less of a separate thing and more of an essential part of evaluated data. Displaying them with a separate outline, while helpful in some cases, is not worth the lack of visibility or confusion about selected/active status. Information about the performance of the scene due to instancing is always available with the statistics like vertex count, etc. The problems were compounded by the fact that the instancing system is used to output geometry components that don't correspond to the object's original type. So this patch also fixes that problem. Fixes T92079, T81010 Ref T91310 Differential Revision: https://developer.blender.org/D13133
2021-11-09Merge branch 'blender-v3.0-release'Philipp Oeser
2021-11-09Let Unlink Action operator have an undo stepDemeter Dzadik
I noticed while rigging a character and editing actions that the Unlink Action operator had no undo step. Doesn't feel intentional, so this patch adds the necessary flags. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D12346
2021-11-09Fix T92928: Geometry nodes animation decorator wrong for vectorsPhilipp Oeser
Decorators were only added for the first item of an array. Decorators for all items of an array are added: - if the layout is flagged `UI_ITEM_PROP_DECORATE` automatically in `uiItemFullR` or - calling `uiItemDecoratorR` (but only in certain situations, see below) When calling `uiItemDecoratorR` with an index of 0, the following happens: - the index is passed to `uiItemDecoratorR_prop` - that checks with `ui_item_rna_is_expand` if decorators should be added to all items of an array - the check fails (because it only permits RNA_NO_INDEX -- which is -1) So two things we can do: - remain using `uiItemDecoratorR` (that would require to pass an index of RNA_NO_INDEX -- a bad level include -- or -1 - just use `uiLayoutSetPropDecorate` to flag the row properly This patch does later. Differential Revision: https://developer.blender.org/D13159
2021-11-09Merge branch 'blender-v3.0-release'Jacques Lucke
2021-11-09Fix: wrong attribute propagation in Distribute nodeJacques Lucke
Currently the Distribute Points on Faces node does not propagate non-point attributes correctly. That is because it first interpolates the attributes to the point domain on the input mesh, and then propagates them. Differential Revision: https://developer.blender.org/D13148
2021-11-09Merge branch 'blender-v3.0-release'Pablo Vazquez
2021-11-09Cleanup: Remove `SMALL_TRI_RIGHT_VEC` iconPablo Vazquez
Since the recent change to context paths to use the arrow icon instead of the triangle (D13106), the `SMALL_TRI_RIGHT_VEC`is no longer used. This patch removes the icon and all references. - Replace `SMALL_TRI_RIGHT_VEC` with `RIGHTARROW` in Freestyle UI - Remove references to `SMALL_TRI_RIGHT_VEC` and `ICON_SMALL_TRI_RIGHT_VEC`. Fix for built-in add-ons has been done in rBAcc2f71bfe9b0/rBAa84028f8a89a. This will be added to the list of breaking changes [[ https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Python_API#Breaking_Changes | in the Wiki ]]. Reviewed By: Severin Differential Revision: https://developer.blender.org/D13130
2021-11-09Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-11-09Fix T92939: Crash on drop when a curve is the active objectGermano Cavalcante
The active object was being set as the edited object even though it was not in edit mode.
2021-11-09View3D Snap Cursor: make the pool a little more restrictiveGermano Cavalcante
The snap cursor tagged overlapping regions to redrawn even though the cursor itself is not drawn.
2021-11-09Expose BLI_string_flip_side_name as bpy.utils.flip_nameDemeter Dzadik
Expose a new function in `bpy.utils.flip_name(name, strip_number=False) that allows flipping bone names, eg "Bone.L" -> "Bone.R". Useful for add-ons to avoid re-implementing Blender's name flipping. Ref D12322
2021-11-09Merge branch 'blender-v3.0-release'Thomas Dinges
2021-11-09Node Editor: Display warning when using Nishita sky texture with EeveeThomas Dinges
Nishita sky is not available in Eevee, display a warning to make this clear inside the Sky texture node. Differential Revision: https://developer.blender.org/D13161
2021-11-09Cleanup: spelling, C style commentsCampbell Barton
2021-11-09Cleanup: clang-formatCampbell Barton
2021-11-09Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-09Fix T91923: Save/Apply as Shape Key ignores shape keysCampbell Barton
Support virtual modifiers when using applying the modifier as a shape.
2021-11-09Merge branch 'blender-v3.0-release'Jacques Lucke
2021-11-09Fix T92934: crash rendering with wrong image pathJacques Lucke
These null checks were missing in rB0c3b215e7d5456878b155d13440864f49ad1f230. Differential Revision: https://developer.blender.org/D13157
2021-11-09Asset Catalogs: add test for proper shortening of simple namesSybren A. Stüvel
Catalog simple names are supposed to fit into the DNA field `char AssetMetaData::catalog_simple_name[64]`, and thus should be shortened appropriately. This was already happening, but is now also covered by a test. No functional changes.
2021-11-09Fix T92950: spreadsheet shows 0 instances when there are instancesJacques Lucke
Fix found by @erik85.
2021-11-09Armature Make/Clear Parent: Grey out options that don't do anythingDemeter Dzadik
In armature edit mode, the Make/Clear Parent operators don't do anything in various cases, but only one of these cases was previously indicated, and it was indicated by hiding the option completely instead of graying it out. Clear Parent (Alt+P) problems fixed: - "Clear Parent" option always showed up, even when none of the selected bones had a parent. - "Disconnect Bone" option always showed up, even when use_connected on all selected bones was already false. Make Parent (Ctrl+P) problems fixed: - "Keep Offset" option didn't show up when all selected bones' parent was already the active bone. This was correct, and this patch tries to make all behaviours consistent with this. - "Connected" option always showed up, even when all selected bones' parent was already the active bone, and they all had use_connect set to True. With this patch all options show up all the time, but in cases where they would do nothing, they will be grayed out. Reviewed By: sybren Differential Revision: https://developer.blender.org/D6100
2021-11-09Alembic: Allow exporting of animated vertex colorsCody Winchester
Allow exporting of animated vertex colors to Alembic. The changes are made to be in line with the way the UV Maps are written. Each vertex color gets a OC4fGeomParam created and mapped into the CDStreamConfig to avoid recreating the Param on each frame. The time sample index is also stored in the config now and set onto the UV and Vertex Color params each frame. Without this the exports would get inconsistent timing results where animated UV maps and Vertex Colors were not playing back at the original speed. Reviewed By: sybren Maniphest Tasks: T88074 Differential Revision: https://developer.blender.org/D11278
2021-11-09Merge branch 'blender-v3.0-release'Philipp Oeser
2021-11-09Fix T92318: adding layers (UVs, ...) doesn't notify about limitPhilipp Oeser
When adding certain customdata layers (namely UVs, vertex colors and sculpt vertex colors), the user does not get notified the specific limit has been hit (blender just silently does nothing). Now inform the user [decided to not do this in poll() since it could get messy once operators are extended to operate on all selected objects, so left this as a visible error in execute() -- or from python]. Maniphest Tasks: T92318 Differential Revision: https://developer.blender.org/D13147
2021-11-09Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-09Fix T92384: Wrong UV layers used with Boolean Modifier (Fast Solver)Campbell Barton
Ensure the layers from the source mesh are used instead of the object referenced by the boolean modifier.
2021-11-09Fix T92704: Redrawing while saving crashes outside the main threadJeducious
If the blend file is saved from a script in another thread, like the render thread for example, Blender will crash on the call that redraws the UI. Ref D13140
2021-11-09Fix T92704: Redrawing while saving crashes outside the main threadJeducious
If the blend file is saved from a script in another thread, like the render thread for example, Blender will crash on the call that redraws the UI. Ref D13140
2021-11-08Merge branch 'blender-v3.0-release'Julian Eisel