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-11-10Sculpt: Fix T102379: Crash in dyntopoJoseph Eagar
2022-11-10Fix const-correctness for a number of F-Curve functionsColin Basnett
Reviewed By: sybren Differential Revision: https://developer.blender.org/D16445
2022-11-10Merge branch 'blender-v3.4-release'Sergey Sharybin
2022-11-10Fix T100654: Distortion node freezes on empty inputSergey Sharybin
Perform an early output when the input is empty, avoiding division by zero and attempt to run LM solver on an inf values.
2022-11-10Fix: GPU: Set the last enum in ENUM_OPERATORSMiguel Pozo
2022-11-10Cleanup: Fix strict compiler warningSergey Sharybin
2022-11-10Cleanup: Fix strict compiler warningSergey Sharybin
2022-11-10Merge branch 'blender-v3.4-release'Jacques Lucke
2022-11-10Fix T102340: crash when adding image file in node groupJacques Lucke
The crash happened because the geometry nodes modifier is evaluated before the node tree has been preprocessed. While there was a transitive but non-flushing relation between these two depsgraph nodes. However the relation between the modifier and the `ntree_output` depsgraph node was ignored, because it had `DEPSOP_FLAG_NEEDS_UPDATE` *not* set (which is actually correct, because not all node tree changes change its output). Because this relation is ignored (e.g. in `calculate_pending_parents_for_node`) the transitive relation is ignored as well. The solution in this patch is to explicitly add this transitive non-flushing relation to make sure the modifier only runs after the node tree has been preprocessed, even when the node tree output has not changed. An alternative fix could be to handle all links always but skip the execution of depsgraph nodes that are not needed. This way all links are always taken into account. This solution would require some deeper changes though and would be much more risky. Also fixes T102402.
2022-11-10Cleanup: Move sculpt.c to C++Hans Goudey
2022-11-10EEVEE Next: Fix wrong DoF when a non-camera object is the active cameraMiguel Pozo
Related to T101533. Reviewed By: fclem Differential Revision: https://developer.blender.org/D16412
2022-11-10Fix strict compiler warningsSergey Sharybin
2022-11-10Fix T102151: Output nodes don't work inside node groupsOmar Emara
Using output nodes inside node groups in compositor node trees doesn't work for the realtime compositor. Currently, the realtime compositor only considers top level output nodes. That means if a user edits a node group and adds an output node in the group, the output node outside of the node group will still be used, which breaks the temporary viewers workflow where users debug results inside a node group. This patch fixes that by first considering the output nodes in the active context, then consider the root context as a fallback. This is mostly consistent with the CPU compositor, but the realtime compositor allow viewing node group output nodes even if no output nodes exist at the top level context. Differential Revision: https://developer.blender.org/D16446 Reviewed By: Clement Foucault
2022-11-10Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-10Cleanup: spelling in commentsCampbell Barton
2022-11-10Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-10Merge branch 'blender-v3.4-release'Campbell Barton
2022-11-10Cleanup: formatCampbell Barton
2022-11-10Cleanup: compiler warnings (unused-parameter & missing-declarations)Campbell Barton
2022-11-10Cleanup: formatCampbell Barton
2022-11-10Attempt to fix build error on WindowsRay Molenkamp
Was failing since 1efc94bb2f7b, probably because some include uses `std::min()`/`std::max()` which messes with the windows min/max defines.
2022-11-10Fix uninitialized variable use in asset metadata testJulian Eisel
Wasn't an issue until 1efc94bb2f7b added a destructor, which would attempt to destruct variables at uninitialized memory.
2022-11-10Fix failure in recently added asset library testsJulian Eisel
Mistake in 1efc94bb2f7b.
2022-11-10Merge branch 'blender-v3.4-release'Leon Schittek
2022-11-10Fix incorrect forward declarations, causing warnings on WindowsJulian Eisel
2022-11-10Fix T102385: Set frame node active after joining nodesLeon Schittek
Set the created frame node to be the active node when joining nodes with the `NODE_OT_join` operator. This behavior was unintentonaly changed in rB545fb528d5e1 when the operator's execute function was simplified by utilizing the node tree topology cache. Reviewed By: Hans Goudey Differential Revision: http://developer.blender.org/D16440
2022-11-10Merge branch 'blender-v3.4-release'Richard Antalik
2022-11-09Fix T102256: Gamma Cross blend mode causes stripesRichard Antalik
Function `do_gammacross_effect_float` processed one color channel per loop iteration instead of whole pixel.
2022-11-09Merge branch 'blender-v3.4-release'Hans Goudey
2022-11-09Fix T101972: Crash converting 1 or 2 point NURBS curve to BezierHans Goudey
The conversion is only able to handle NURBS curves with at least three points. This commit just avoids the crash for shorter curves. If this ends up confusing users, an error message could be added in the future.
2022-11-09Merge branch 'blender-v3.4-release'Brecht Van Lommel
2022-11-09Fix T100883: crash with particle instancing and clumpingBrecht Van Lommel
Properly initialize clump curve mapping tables for duplis and other cases where this was missed by making a generic init/free function instead of duplicating the same logic in multiple places. Also fold lattice deform init into this.
2022-11-09Merge branch 'blender-v3.4-release'Brecht Van Lommel
2022-11-09Cleanup: Link to documentation page for asset representation typeJulian Eisel
2022-11-09Cleanup: Remove unused class variable, added in previous commitJulian Eisel
2022-11-09Asset System: New core type to represent assets (`AssetRepresenation`)Julian Eisel
Introduces a new `AssetRepresentation` type, as a runtime only container to hold asset information. It is supposed to become _the_ main way to represent and refer to assets in the asset system, see T87235. It can store things like the asset name, asset traits, preview and other asset metadata. Technical documentation: https://wiki.blender.org/wiki/Source/Architecture/Asset_System/Back_End#Asset_Representation. By introducing a proper asset representation type, we do an important step away from the previous, non-optimal representation of assets as files in the file browser backend, and towards the asset system as backend. It should replace the temporary & hacky `AssetHandle` design in the near future. Note that the loading of asset data still happens through the file browser backend, check the linked to Wiki page for more information on that. As a side-effect, asset metadata isn't stored in file browser file entries when browsing with link/append anymore. Don't think this was ever used, but scripts may have accessed this. Can be brought back if there's a need for it.
2022-11-09Cleanup: Miscellaneous cleanups to trim curves nodeHans Goudey
- Fix braces initialization warning - Fixed missing static specifier - Removed two unused functions
2022-11-09Fix T102214: inconsistenty between bake and render with invalid material indexBrecht Van Lommel
When the materal slot index on mesh faces exceeds the number of slots, rendering would use the last material slot while other operations like baking would fall back to the default material. Now consistently use the last material slot in such cases, since preserving backwards compatibility for rendering seems most important. And if there is one material slot, it's more useful to use that one rather than falling back to the default material.
2022-11-09Merge branch 'blender-v3.4-release'Hans Goudey
2022-11-09Geometry Nodes: Trim curve node selection input and correctionsMattias Fredriksson
Correct trim for cyclical curves mentioned in T101379, splitting the curves if the start/endpoint is at the 'loop point'. Correct implementation based on comments in D14481, request was made to use 'foreach_curve_by_type' to computing the point lookups. Included corrections from D16066 as it may not be a adopted solution. Exposed selection input by adding it as input to the node. Note: This is disabled for 3.4 to avoid making UI changes in Bcon3. Differential Revision: https://developer.blender.org/D16161
2022-11-09Improved Korean Font SampleHarley Acheson
Small change to the text sample used for Korean font previews See D16428 for details. Differential Revision: https://developer.blender.org/D16428 Reviewed by Brecht Van Lommel
2022-11-09Merge branch 'blender-v3.4-release'Sergey Sharybin
2022-11-09Fix T101906: Modifier apply not working if target object is in excluded ↵Sergey Sharybin
collection The issue was introduced by the optimization of hidden objects and modifiers in the f12f7800c296. The solution here detects that either an object is hidden or the modifier is disabled and does special tricks to ensure the dependencies are evaluated. This is done by constructing a separate minimal dependency graph needed for the object on which the modifier is being applied on. This minimal dependency graph will not perform visibility optimization, making it so modifier dependencies are ensured to be evaluated. The downside of such approach is that some dependencies which are not needed for the modifier are still evaluated. There is no currently an easy way to avoid this. At least not without introducing possible race conditions with other dependency graphs. If the performance of applying modifiers in such cases becomes a problem the possible solution would be to create a temporary object with a single modifier so that only minimal set of dependencies is pulled in the minimal dependency graph. Differential Revision: https://developer.blender.org/D16421
2022-11-09Depsgraph: simplify scheduling in depsgraph evaluatorJacques Lucke
No functional or performance changes are expected. Differential Revision: https://developer.blender.org/D16423
2022-11-09Fix strict compiler warningsSergey Sharybin
Functions which are local to a translation unit should either be marked as static, or be in an anonymous namespace.
2022-11-09Fix T102278: Compositor transforms apply locallyOmar Emara
When using two transformed compositor results, the transformation of one of them is apparently in the local space of the other, while it should be applied in the global space instead. In order to realize a compositor result on a certain operation domain, the domain of the result is projected on the operation domain and later realized. This is done by multiplying by the inverse of the operation domain. However, the order of multiplication was inverted, so the transformation was applied in the local space of the operation domain. This patch fixes that by inverting the order of multiplication in domain realization.
2022-11-09Cancel Equalize Handles & Snap Keys when no control points are selectedColin Basnett
The Equalize Handles and Snap Keys operators would allow the user to invoke them successfully even when they would have no effect due to there not being any selected control points. This patch makes it so that an error is displayed when these operators are invoked with no control points are selected. The reason this is in the `invoke` function is because it would be too expensive to run this check in the `poll` function since it requires a linear search through all the keys of all the visible F-Curves. Reviewed By: sybren Differential Revision: https://developer.blender.org/D16390
2022-11-09Fix T102306: buildtime shader compilation option fails under WaylandCampbell Barton
libdecor (for window decorations) was crashing on exit with the shader builder, avoid the crash by calling the "background" system creation function which doesn't initialize window management under Wayland.
2022-11-09Fix T102306: buildtime shader compilation option fails under WaylandCampbell Barton
libdecor (for window decorations) was crashing on exit with the shader builder, avoid the crash by calling the "background" system creation function which doesn't initialize window management under Wayland.
2022-11-09BLI_math: remove normalize from mat3_normalized_to_quat_fastCampbell Barton
The quaternion calculated are unit length unless the the input matrix is degenerate. Detect degenerate cases and remove the normalize_qt call.