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
2022-07-27Fix more issues with new name map and liboverrides.Bastien Montagne
Follow-up to rB13e17507c069, forgot to handle shapekeys...
2022-07-27ID namemap: Fix more issues when changing libs.Bastien Montagne
Fix tests, and some issue when making an ID local. There are probably a few more issues still though.
2022-07-27Unit test for the curve length constraint solver.Lukas Tönne
This also serves as a regression test for incorrect curve length indexing.
2022-07-27Fix typo when setting the error result after solving constraints.Lukas Tönne
2022-07-27Ingore the root for collision only if root constraint is enabled.Lukas Tönne
2022-07-27Compute the delta_substep for all points, including the root.Lukas Tönne
This is to avoid using uninitialized data.
2022-07-27Rename dX to delta_substep.Lukas Tönne
2022-07-27Fix indexing error: the segment length needs a global point offset.Lukas Tönne
This was only becoming apparent with non-uniform curve point counts and/or non-uniform segment lengths, but could lead to dramatic position corruption due to reading uninitialized memory if the first curve is shorter than others.
2022-07-27Fix T99870 : Prevents crash when rearranging channels in dopesheetAmelie Fondevilla
The function to rearrange channels only works for F-curves channels for now, adding the `FCURVESONLY` filter prevents the function to be called for grease pencil channels, thereby fixing the crash. Reviewed by : sybren Differential Revision: http://developer.blender.org/D15504
2022-07-27ID namemap tests: Use consistency check, fix an issue.Bastien Montagne
Massively use the new consistency check in namemap regression tests, and fix an issue with library data tests revealed by those checks.
2022-07-27ID namemap: Add check for consistency.Bastien Montagne
Add a util function to check that content of a given Main and the namemaps in it are consistent. Add some asserts calling this check after file read, and after some override operations.
2022-07-27Fix crashes due to non-uniqueness in ID names in some cases.Bastien Montagne
Liboverrides are doing some very low-level manipulation of IDs in apply code, to reduce over-head of name and sorting handling. This requires specific care to ensure thatr the new namemap runtime data remains up-to-date and valid. Otherwise, names of existing IDs would be missing from the map, which would later lead to having several different IDs with the same name. Critical corruption in Blender ID management. Reported by animators at the Blender studio. Regression from rB7f8d05131a77.
2022-07-27Fix T99976: Animated visibility not rendering properly in viewportSergey Sharybin
A mistake in the 0dcee6a3866 which made specific driven visibility to work, but did not properly handle actual time-based visibility. The basic idea of the change is to preserve recalculation flags of nodes which were tagged for update but were not evaluated due to visibility constraints. In the file from the report this makes it so tagging which is done first time ID is in the dependency graph are handled when the ID actually becomes visible. This is what solved the root of the problem from the report: there was missing geometry update since it was "swallowed" by the evaluation during the object being invisible. In other configurations this change allows to handle pending geometry updates due to animated modifiers be handled when object becomes visible without time change. This change also solves visibility issue of the synchronization component which also started to be handled badly since the previous fix attempt. Basically, the needed exception in its visibility handling did not happen and a regular logic was used for it. Tested with files from the T99733, T99976, and from the Heist project. Differential Revision: https://developer.blender.org/D15544
2022-07-27Cleanup: Move wm_dragdrop.c to C++Hans Goudey
2022-07-27Sculpt: Remove debug printfJun Mizutani
Reviewed By: Joseph Eagar Differential Revision: D15547 Ref D15547
2022-07-27Geometry Nodes: Implement link drag search for two nodesHans Goudey
It was never added for the field on domain and field at index nodes. They need special handling because they have many what should be a multi-type socket declaration.
2022-07-27Nodes: Allow using escape key to exit node resizingHans Goudey
2022-07-26Cleanup: Move mesh_tessellate.c to C++Hans Goudey
2022-07-26Python: Expose property to mute action groupsFalk David
This patch adds a `mute` RNA property on `ActionGroup`s that allows them to be easily muted/unmuted from python. This uses the existing `AGRP_MUTED` flag which was also accessible from the user interface. Reviewed By: sybren Differential Revision: https://developer.blender.org/D15329
2022-07-26Refactor: Extract color attributes as generic attributesHans Goudey
Previously there was a special extraction process for "vertex colors" that copied the color data to the GPU with a special format. Instead, this patch replaces this with use of the generic attribute extraction. This reduces the number of code paths, allowing easier optimization in the future. To make it possible to use the generic extraction system for attributes but also assign aliases for use by shaders, some changes are necessary. First, the GPU material attribute can now store whether it actually refers to the default color attribute, rather than a specific name. This replaces the hack to use `CD_MCOL` in the color attribute shader node. Second, the extraction code checks the names against the default and active names and assigns aliases if the request corresponds to a special active attribute. Finally, support for byte color attributes was added to the generic attribute extraction. Differential Revision: https://developer.blender.org/D15205
2022-07-26Fix T98788: bad first curve tangent when first points have same positionJacques Lucke
2022-07-26Fix T98798: tag collection geometry when changing instance offsetJacques Lucke
Changing the instance offset moves the entire "collection geometry". So other features that depend on the geometry should be reevaluated.
2022-07-26Fix T98982: cannot change default value of some node group input typesJacques Lucke
2022-07-26Geometry Nodes: Hide value button for field at index nodeHans Goudey
Changing the value doesn't accomplish anything, since the retrieved value would be the same for every index then. So it's best to hide it to make the node clearer.
2022-07-26Fix T99271: modifier errors are not clearedJacques Lucke
2022-07-26Fix T99373: add some padding in spreadsheet vector columnsJacques Lucke
This improves readability in some cases (e.g. in T99373).
2022-07-26default N-panel open for animation editorsNate Rupsis
The Graph, Driver, and Dopesheet's (and sub modes) properties panel (N-Panel) are now open by default. This includes the editors in the default Animation workspace. Note that, because the Timeline is implemented as a special mode of the Dopesheet, switching between Timeline and Dopesheet will *not* change the visibility of the properties panel. Maniphest Tasks: T97980 Differential Revision: https://developer.blender.org/D14910
2022-07-26BLI: add use_threading parameter to parallel_invokeIliay Katueshenock
`parallel_invoke` allows executing functions on separate threads. However, creating tasks in tbb has a measurable amount of overhead. Therefore, it can be benefitial to disable parallelization when the amount of work done per function is small. See D15539 for some benchmark results. Differential Revision: https://developer.blender.org/D15539
2022-07-26GPencil: Update curve handle display after change overlay optionAntonio Vazquez
The handles were not updated after changing the settings. This is a partial fix of T99984
2022-07-26Fix T99979: GPencil strokes cannot be edited after set originAntonio Vazquez
The stroke points were changed but the bounding box calculation was not done and this produced a problem in any bounding box check done by different tools.
2022-07-26Cleanup: Typo in comments: `data-lock` -> `data-block`.Bastien Montagne
2022-07-26Cleanup: formatCampbell Barton
2022-07-26Cleanup: spelling in commentsCampbell Barton
2022-07-26Fix Python SystemExit exceptions silently exitingCampbell Barton
Any script that raised a SystemExit called by --python, --python-expr command line args or by executing the text block would exit without printing a message. This caused the error from T99966 to be hidden. Add explicit handling for SystemExit to ensure the message is always shown before exiting. More details noted in code-comments.
2022-07-26Fix: Fix attribute writer debug warnings in terminalHans Goudey
Use an imperfect solution, since this code will be replaced soon anyway.
2022-07-25Merge branch 'master' into sculpt_curve_collisionsLukas Tönne
2022-07-25Curve sculpt: Improvements and testing for collision constraint solver.Lukas Tönne
Collision is now optional in the curve sculpting tools and disabled by default (button next to X/Y/Z symmetry settings). Moved constraint solver into blenkernel for wider accessibility. Changed collision method from raycasts to substeps with sphere casts. This method of finding and resolving contacts is recommended by the XPBD author. It avoids continuous collision detection (CCD) with raycasts in favor of using a number of substeps. The range of potential contacts is limited by the size of the overall allowed step size and number of substeps. The length constraints now work in both directions except for the first segment, which avoids numerical stiffness close to the root. Constraints now follow a stricter general recipe, which should make it easier to implement future constraints with more complex constraint functions and gradients. The solver now outputs results with overall numerical error metrics and timings. Added a basic performance test for the curves constraint solver. The test is parameterized for over a range of substep counts.
2022-07-25Sculpt: Fix T99779, pbvh gets wrong active vertex for multiresJoseph Eagar
The recent multires winding fix missed a code branch.
2022-07-25UI: Nishita sky: Increase Sun Elevation UI sensitivity and remove min/maxClément Foucault
This now use default angle precision which matches the sun rotation. Feeling is much more natural.
2022-07-25Fix T99459: GPencil: Fill tool on the surface not in the correct placeGermano Cavalcante
There is a 1 pixel error in the size registered for the buffer dimensions. NOTE: This issue indicates that the texture scale is different from the region, so the mouse-based coordinates used are actually misaligned. This misalignment will be fixed in another commit. Regression probably introduced in rB1d49293b8044 + rB45f167237f0c8
2022-07-25Curves: Unify poll functions, add message with no surfaceHans Goudey
The "snap to surface" operators now have "disabled" poll messages when there is no surface object. The implementation in most curves operators is also unified. The goal is to avoid having to define and use the poll failure messages in multiple places, to reduce the boilerplate that tends to be necessary to add an operator, and to increase the likelihood that operators are implemented with proper poll messages. Differential Revision: https://developer.blender.org/D15528
2022-07-25Fix: Assert in resample curve node with single point curveHans Goudey
2022-07-25Geometry Nodes: Add node descriptions/tooltipsArye Ramaty
This commit adds tooltips to the geometry nodes add menu. Differential Revision: https://developer.blender.org/D15414
2022-07-25Fix T99816: renaming attribute works incorrectlyJacques Lucke
This fixes two issues: * There was a crash when the new attribute name was empty. * The attribute name was incremented (e.g. "Attribute.001") when the old and new name were the same.
2022-07-25Fix T99850: incorrect tangents on evaluated bezier curvesJacques Lucke
Cyclic curves don't need the tangent correction based on the first and last handle position.
2022-07-25Fix T99851: Subdivide Curve node does not initialize attributes of end pointJacques Lucke
2022-07-25Fix T99880: no node timing for frames in node groupsJacques Lucke
2022-07-25Fix T99889: Fillet Curve node uses wrong radiusJacques Lucke
2022-07-25Fix T99036: hex color in "Add Color Attribute"Ramil Roosileht
Proposed solution by @scurest The color attribute in the RNA was tagged as COLOR_GAMMA. This change will change it to a regular COLOR. {F13217692} Reviewed By: joeedh, jbakker Maniphest Tasks: T99036 Differential Revision: https://developer.blender.org/D15272
2022-07-25Fix T99929: lattice modifier looks up vertex group index in wrong placeJacques Lucke
It looked up the vertex group index based on the object instead of the actual mesh that is currently used. Since geometry nodes, the number and order of attributes can change in arbitrary ways during evaluation. Therefore, this index has to be looked up on the mesh which contains the most up-to-date information. There are probably similar issues in other modifiers. That has to be fixed step by step. Ideally by using the attribute api directly eventually.