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-11-11Fix T102406: OSL script node no longer updates its in and outputsJacques Lucke
This special case was missing in rB52bd198153ede3c7131df.
2022-11-11Merge branch 'blender-v3.4-release'Jeroen Bakker
2022-11-11Fix T100969: Memory leak GPU subdivision during rendering.Jeroen Bakker
The viewport cleans up old subdivision buffers right after drawing. During rendering this was not done and when rendering many frames this lead to memory issues. This patch will also clear up the GPU Subdivision buffers after any offscreen render or final render. There is already a mutex so this is safe to be done from a non main thread. Thanks to @kevindietrich to finding the root cause.
2022-11-11Cleanup: Remove unused navigation widget struct membersAaron Carlisle
The `region_size[2]` was set to -1 but was never accessed.
2022-11-11Cleanup: Use string argument for attribute API functionHans Goudey
Instead of CustomDataLayer, which exposes the internal implementation more than necessary, and requires that the layer is always available, which isn't always true.
2022-11-11Cleanup: Clarify and deduplicate attribute convert implementationHans Goudey
The ED level function is used for more code paths now, and it has been cleaned up. Handling of the active attribute is slightly improved too.
2022-11-11Mesh: Convert color attribute operatorRamil Roosileht
Implements an operator to convert color attributes in available domains and types, as described in T97106. Differential Revision: https://developer.blender.org/D15596
2022-11-10Sculpt: Fix T102209: Multiresolution levels greater than 6 crashesJoseph Eagar
pbvh->leaf_limit needs to be at least 4 to split nodes original face boundaries properly.
2022-11-10Sculpt: Fix T102209: Multiresolution levels greater than 6 crashesJoseph Eagar
pbvh->leaf_limit needs to be at least 4 to split nodes original face boundaries properly.
2022-11-10Sculpt: Fix T101914: Wpaint gradient tool doesn't work with vertex maskEdward
Reviewed by: Julian Kaspar & Joseph Eagar Differential Revision: https://developer.blender.org/D16293 Ref D16293
2022-11-10Merge branch 'blender-v3.4-release'Antonio Vazquez
2022-11-10GPencil: Add warning to Outline modifer when no CameraAntonio Vazquez
The modifier needs a scene camera to work. Now if the camera is not defined, there is a warning. The optimal solution would be to use the `isDisabled` callback but the callback function hasn't the scene parameter and to pass this parameter is necessary to change a lot of things and now we are focus in the next version of GPencil 3.0 and this change not worth the work now. The optimal solution will be implemented in the 3.0 refactor. Related to T102375 Reviewed by: Pablo Vazquez, Matias Mendiola
2022-11-10Sculpt: Change symmetrize merge threshold and expose in workspace panelJoseph Eagar
The sculpt symmetrize operator's merge threshold now defaults to 0.0005 instead of 0.001, which tends to be a bit too big for metric scale. Also changed its step and precision a bit to be more usable.
2022-11-10Sculpt: Fix inconsistent naming for cavity_from_mask operatorJoseph Eagar
With db40b62252e5 there have been various UI adjustments and improved renaming. The Mask From Cavity menu operator didn't follow this new naming yet. Reviewed By: Joseph Eagar Differential Revision: https://developer.blender.org/D16409 Ref D16409
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.