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
2022-09-05Merge branch 'master' into refactor-mesh-remove-pointersrefactor-mesh-remove-pointersHans Goudey
2022-09-05GPencil: Fix bug in set start api functionAntonio Vazquez
The point of the second stroke was duplicated.
2022-09-05GPencil: Improve previous commit error checkingAntonio Vazquez
Better check if the strokes has more points. A 0 or 1 point stroke never need to set start point.
2022-09-05Cleanup: Add parameter auto_flip documentationAntonio Vazquez
2022-09-05GPencil: Small code cleanupAntonio Vazquez
2022-09-05IDMAnagement: Add owner ID pointer to embedded ones.Bastien Montagne
Add a dedicated `owner_id` pointer to ID types that can be embedded (Collections and NodeTrees), and modify slightly come code to make handling those more safe and consistent. This implements first part of T69169. Reviewed By: brecht Differential Revision: https://developer.blender.org/D15838
2022-09-05I18n: translate untitled file namesDamien Picard
When saving, the default file name is "untitled" regardless of selected language. This can be translated, like many graphical applications do. This applies to: - blend file - alembic file - collada file - obj file - usd file - rendered image - grease pencil export - subtitles export - other Python exports through ExportHelper Reviewed By: mont29 Differential Revision: https://developer.blender.org/D15868
2022-09-05Merge branch 'blender-v3.3-release'Jacques Lucke
2022-09-05Fix T100796: wrong tangents on bezier splines with duplicate points and handlesJacques Lucke
Differential Revision: https://developer.blender.org/D15880
2022-09-05Merge branch 'master' into refactor-mesh-remove-pointersHans Goudey
2022-09-05GPencil: New BKE function to set stroke start pointAntonio Vazquez
This function allows to set the start point for cyclic strokes. The function is required by a new modifier and operator that are currently under development.
2022-09-04Merge branch 'master' into refactor-mesh-remove-pointersHans Goudey
2022-09-04Cleanup: Replace recursive quadratic node link mute operationHans Goudey
The previous implementation iterated over all links multiple times recursively. Instead, use the node tree topology cache, only iterate over all links once, and use a stack to propagate the mute upsteam and downstream.
2022-09-03Merge branch 'blender-v3.3-release'Philipp Oeser
2022-09-03Fix T100687: Geometry Attribute Convert crashes in sculpt modePhilipp Oeser
Since above commit, `BKE_id_attributes_active_get` would also return "internal" attributes like ".hide_poly" or ".hide_vert". As a consequence, a couple of poll functions dont return false anymore (attribute remove, attribute convert), allowing these operators to execute, but acting on this "internal" layers is just asking for trouble. In the UI, we dont see these attributes, because `MESH_UL_attributes` checks `is_internal`, same thing we do now in `BKE_id_attributes_active_get`. Maniphest Tasks: T100687 Differential Revision: https://developer.blender.org/D15833
2022-09-03Cleanup: use more standard variable name for node socketsHans Goudey
2022-09-02UI: 3D Text CaretHarley Acheson
Changes to the text caret (cursor) when editing Text objects in the 3D Viewport. See D15797 for more details and examples. Differential Revision: https://developer.blender.org/D15797 Reviewed by Brecht Van Lommel
2022-09-02Merge branch 'blender-v3.3-release'Hans Goudey
2022-09-02Fix T100768: Reverse curves skips handles of middle Bezier pointsHans Goudey
Reversing Bezier handle types and positions would skip the middle point of curves with an odd number of segments, which is still necessary to swap in order to avoid changing the curve's shape.
2022-09-02Cleaunp: Reorder GPencil function parametersAntonio Vazquez
It's better to keep stroke as first parameter.
2022-09-02Use C++ API for vertex group dataHans Goudey
2022-09-02GPencil: Simplify Perimeter functions to not use RegionView3DAntonio Vazquez
This makes the api more portable and not depend on any visual area for background tasks like future modifiers.
2022-09-02Use const vertices for alembic hair exportHans Goudey
2022-09-02Fix forward compatibility by writing pointers to custom data arraysHans Goudey
2022-09-02Add "using" for SpanHans Goudey
2022-09-02Avoid unnecessarily using `for_write` variant of functionsHans Goudey
2022-09-02Update reshape_context in case CoW reallocated vertex layerHans Goudey
2022-09-02Fix typoHans Goudey
2022-09-02Make changes more obviousHans Goudey
2022-09-02Decrease variable scopeHans Goudey
2022-09-02Use new API for retrieving vertex group data in some placesHans Goudey
2022-09-02Avoid possibly passing null pointer to MEM_freeNHans Goudey
2022-09-02Move polys pointer to shrinkwrap codeHans Goudey
2022-09-02Merge branch 'master' into refactor-mesh-remove-pointersHans Goudey
2022-09-01Fix: Use of deprecated field in legacy MFace conversionHans Goudey
The material indices have been moved out of MPoly since f1c0249f34c4171. That conversion happens in file reading code currently, so the material indices have to be accessed the new way everywhere.
2022-09-01Fix: Incorrect vertex group layer "construct" callbackHans Goudey
The "set default" callback doesn't need to be defined since it falls back to clearing the memory, but since "construct" is optional, it needs to be defined. Mistake in 25237d2625078c6d1.
2022-09-01Cleanup: Remove/replace View Layer macros.Monique Dewanchand
This patch is a cleanup required before refactoring the view layer syncing process {T73411}. * Remove FIRSTBASE. * Remove LASTBASE. * Remove BASACT. * Remove OBEDIT_FROM_WORKSPACE. * Replace OBACT with BKE_view_layer_active_object. * Replace OBEDIT_FROM_VIEW_LAYER with BKE_view_layer_edit_object. Reviewed By: mont29 Maniphest Tasks: T73411 Differential Revision: https://developer.blender.org/D15799
2022-09-01Fix bug in DispList mesh conversionHans Goudey
2022-08-31Use C++ methods to retrieve geometry dataHans Goudey
2022-08-31Cleanup, fixesHans Goudey
2022-08-31Merge branch 'master' into refactor-mesh-remove-pointersHans Goudey
2022-08-31Mesh: Remove unnecessary copy in modifier stackHans Goudey
These few lines making a copy of the final mesh were confusing. The goal (I'm fairly certain) is to make sure the cage mesh and final mesh aren't shared when applying the vertex coordinates to the final mesh. This can be done more simply though, in a way that avoids duplicating the final mesh if it already isn't shared. This works well in some basic tests with different modifiers. Though I doubt it was really a bottleneck anywhere, simplifying the modifier stack internals is always nice. Differential Revision: https://developer.blender.org/D15814
2022-08-31Merge branch 'blender-v3.3-release'Joseph Eagar
2022-08-31Cleanup: fix warnings from vcol limit commitJoseph Eagar
2022-08-31Fix: crash on undo due to missing node declarationJacques Lucke
This was broken in {rB25e307d725d0b924fb0e87e4ffde84f915b74310}.
2022-08-31Merge branch 'blender-v3.3-release'Joseph Eagar
2022-08-31Core: Remove color attribute limit from CustomData APIJoseph Eagar
Note: does not fix the limit in PBVH draw which is caused by VBO limits not MAX_MCOL.
2022-08-31Mesh: Move material indices to a generic attributeHans Goudey
This patch moves material indices from the mesh `MPoly` struct to a generic integer attribute. The builtin material index was already exposed in geometry nodes, but this makes it a "proper" attribute accessible with Python and visible in the "Attributes" panel. The goals of the refactor are code simplification and memory and performance improvements, mainly because the attribute doesn't have to be stored and processed if there are no materials. However, until 4.0, material indices will still be read and written in the old format, meaning there may be a temporary increase in memory usage. Further notes: * Completely removing the `MPoly.mat_nr` after 4.0 may require changes to DNA or introducing a new `MPoly` type. * Geometry nodes regression tests didn't look at material indices, so the change reveals a bug in the realize instances node that I fixed. * Access to material indices from the RNA `MeshPolygon` type is slower with this patch. The `material_index` attribute can be used instead. * Cycles is changed to read from the attribute instead. * BMesh isn't changed in this patch. Theoretically it could be though, to save 2 bytes per face when less than two materials are used. * Eventually we could use a 16 bit integer attribute type instead. Ref T95967 Differential Revision: https://developer.blender.org/D15675
2022-08-31Release schedule: Blender 3.3 RCThomas Dinges
The branch is now in Bcon4, critical bug fixes only.
2022-08-31Fix: incorrect detection of used socketsJacques Lucke