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
2021-11-05Cleanup: Remove wrong comments in versioningJulian Eisel
This comment is from the block at the end of the versioning functions, where we have an unversioned block to collect versioning code that doesn't require immediate version bumping. The comment was probably just copied over with the code when bumping the version eventually.
2021-11-05Cleanup: Split image engine into ImageEngine, SpaceAccessor and DrawingMode.Jeroen Bakker
Image engine is used to draw an image into a space. The current structure wasn't clear and couldn't be easilly extended. This refactor spliced the image draw engine into 3 main components. - Space accessors: contains an interface to communicate with space data (Image editor, UV Editor, Node Editor) in a common way. This reduced the branching in the code base. - DrawingMode: contains an interface to the used tactic to draw an image inside the space framebuffer. Currently only one mode is implemented; in the future there could be a separate drawing mode for huge images. - ImageEngine: the core that connects the draw manager with the space data and drawing mode.
2021-11-05GPencil: Fix dash modifier missing vertex color.YimingWu
The original code did not copy vertex color to the generated stroke, now fixed.
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Cleanup: use (s) postfix for messages that may be pluralCampbell Barton
Ref 01c824ac88a0ff95a26c26be09f7a8853e47e446
2021-11-05Fix T70768: Python gizmo-groups not working in the sequencerCampbell Barton
2021-11-05Correct assert checking gizmo typeCampbell Barton
2021-11-05Fix PyAPI integer conversion error handlingCampbell Barton
Non integer types raised an OverflowError, even when non-number types were passed in. Now the error from Python is kept.
2021-11-05Fix T92740: Missing lock around the image CacheLimiterJesse Yurkovich
A recent change exposed this long-standing race. Simply protect the MEM_CacheLimiter with its lock now. Additionally, guard against unmanaging an already destroyed cache handle. Ref T92740, T92838
2021-11-05Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-05Cleanup: use doxy sections in graph editor moduleCampbell Barton
2021-11-05Cleanup: spelling/typosCampbell Barton
2021-11-05Revert "Fix T92464: Operators fail after opening blend files via an operator"Campbell Barton
This reverts commit 9bd97e62ade417f6b4025acbad46802c3e7e5683. This caused T92818. Event handling relies on checking for NULL window to detect file load in enough different areas of the code that this isn't a practical solution. Revert this change in favor of an alternative approach.
2021-11-05Cleanup: move code in graph_slider_opsChristoph Lendenfeld
Future operators can use the same code, so it is moved up to disassociate it from decimate No functional changes Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D12489 Ref: D12489
2021-11-05Cleanup: renames in graph_slider_opsChristoph Lendenfeld
This patch renames: * tDecimateGraphOp to tGraphSliderOp * dgo to gso (to match with the struct rename) * decimate_reset_bezts to reset_bezts to indicate it can be used by other functions No functional changes Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D12490 Ref: D12490
2021-11-04Merge branch 'blender-v3.0-release'Germano Cavalcante
2021-11-04Cleanup: Move object.c to C++Germano Cavalcante
This is useful to allow the use of features made in C++. Differential Revision: https://developer.blender.org/D13115
2021-11-04GPencil: New option to Merge All layers in active oneAntonio Vazquez
This new option allows to combine all layers in the active one. Also the merge down option has been improved. Reviewed By: mendio, pablo vazquez (UI) Differential Revision: https://developer.blender.org/D13054
2021-11-04Minor tweaks to new append code.Bastien Montagne
* Name generated 'append' collection, instead of getting a generic meaningless name. * Do not check if a collections's objects are already instantiated, when we already know that we want to instantiate that collection.
2021-11-04Merge branch 'blender-v3.0-release'Jacques Lucke
2021-11-04Fix T91986: incorrect syncing of geometry instancesJacques Lucke
The issue was that some geometries were not synced again even when they changed. This commit adds a map that keeps track of the geometries that need to be updated when an object has changed. Differential Revision: https://developer.blender.org/D13020
2021-11-04Fix T92799: handle undefined node group type in field inferencingJacques Lucke
A group node could reference an undefined group when the group was linked and its source file was not found on load. The field inferencing code did not handle that case before. With this change, the file provided in T92799 loads successfully.
2021-11-04Merge branch 'blender-v3.0-release'Bastien Montagne
2021-11-04Fix T92778: Cloth Point Cache Name disappears after Make Library Override.Bastien Montagne
Cloth modifier had a unique, weird and weak way of copying its pointcache, now make it use `BKE_ptcache_copy_list` like done for e.g. particles or softbody data.
2021-11-04Cleanup: Remove operator context override for drop-box operatorsJulian Eisel
Drop-boxes should act on the context determined through the exact cursor location. There should be no need to override that, basically by the nature of how drop-boxes work. So Campbell and I agreed on removing this. If we wanted to support it, we'd have to restore the operator context when drawing drop-boxes, see https://developer.blender.org/T92501#1247581.
2021-11-04Merge branch 'blender-v3.0-release'Pablo Vazquez
2021-11-04UI: Fix UIList item using "regular" widget colors while editedPablo Vazquez
Simply removing the check for `UI_STATE_TEXT_INPUT` makes it inherit the "List Item" User Interface theme settings. This patch changes the default theme to match the colors of text input fields. #### Master {F11680556, size=full} #### This patch {F11680557, size=full} All the included commmunity themes seem to work well (only Deep Grey might need more contrast but that's a different patch). Related reports: T92720 Reviewed By: #user_interface, Severin Maniphest Tasks: T92720 Differential Revision: https://developer.blender.org/D13073
2021-11-04Merge remote-tracking branch 'origin/blender-v3.0-release'Julian Eisel
2021-11-04Fix T92814: improve automatic linking when inserting Float Curve nodeJacques Lucke
This solves the issue in a more general that can also be used to solve similar issues for other nodes in the future. Nodes can specify their "main" socket in their declaration so that we don't have to rely on heuristics. Differential Revision: https://developer.blender.org/D13108
2021-11-04Fix T92649: incorrect copying of anonymous attributes in many placesJacques Lucke
Many modifiers and other places use `CustomData_copy_data` to copy data between different meshes. This function assumes that assumes that the source and destination `CustomData` objects are "compatible" in some way. Usually modifiers use `CustomData_copy` to create a compatible new `CustomData` on the new mesh. The issue was that the optimization I added for anonymous attributes broke this compatibility. It avoided copying some attributes when they are no longer used. This lead to attributes being copied incorrectly. D13083 contains ideas for how this could be fixed more generally. For now I just removed the optimization. Differential Revision: https://developer.blender.org/D13083
2021-11-04Fix: Geometry Nodes: Math node smoothmax not workingCharlie Jolly
Function arguments were incorrect. Noted during @simonthommes live stream. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D13110
2021-11-04Fix T92501: Crash when dragging material assets over 3D View regionsJulian Eisel
Issue was that the context used for dropbox handling and polling didn't match the one used for drawing the dropbox and generating the tooltip text (which would determine the material slot under the cursor, requiring context). The mismatch would happen with overlapping regions. Actually, this patch includes two fixes, each fixing the crash itself: * Store the context from handling & polling and restore it for drawing. * Correct the hovered region lookup for drawing to account for overlayed regions. Note that to properly set up context for drawing, we should also account for the operator context, which isn't done here, see https://developer.blender.org/T92501#1247581.
2021-11-04Fix T92800: (UI) Radial control values get wrong color assignedJulian Eisel
The global theme state didn't get updated or unset properly when drawing overlays. Now paint cursors use the theme settings of the space they are in, while global overlays use the global fallback, which is the main 3D View region.
2021-11-04Cleanup: fix compiler warningsJacques Lucke
Those were introduced in rBccead2ed9c6121c42a516712da38a2faec877e2f.
2021-11-04Merge branch 'blender-v3.0-release'Philipp Oeser
2021-11-04Fix T92791: collapsed nodes scaling widget wrong with interface scalePhilipp Oeser
Size, position and scale of the "two-line" widget (the one to scale a node horizontally) was not taking interface scale into account. In the case of the report, it could happen it draws behind an output socket. before (at 2.0 interface scale) {F11698493} after (at 2.0 interface scale) {F11698501} Maniphest Tasks: T92791 Differential Revision: https://developer.blender.org/D13088
2021-11-04Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-04Fix T92783: Light size controller doesn't update positionCampbell Barton
Resolve by tagging the gizmo group map for refresh when the modal gizmo group changes. Regression in fb27a9bb983ce74b8d8f5f871cf0706dd1e25051.
2021-11-04Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-04Merge branch 'blender-v3.0-release'Campbell Barton
2021-11-04Versioning: remove use of translations when loading preferencesCampbell Barton
Add note why translations can't be used while versioning.
2021-11-04Fix the GPencil stroke not sticking to other strokesGermano Cavalcante
Issue seen when setting `Stroke Placement` of type `Stroke`. Regression introduced in {rBaa0ac0035a0d3601672a0c732e3f8f932a36fc04}.
2021-11-04Fix Cycles wrong ray visibility with old .blend filesBrecht Van Lommel
2021-11-03Geometry Nodes: Add Length Output to Curve Parameter NodeJohnny Matthews
Adds a length output to the curve parameter node which returns the length of a spline at each point, or the length of the curve at each spline depending on the domain. Differential Revision: https://developer.blender.org/D12882
2021-11-03Geometry Nodes: Selection outputs for Cone and CylinderErik
This adds Top, Bottom and Side selections to the Primitive Mesh nodes Cone and Cylinder.
2021-11-03Spreadsheet: Display geometry volume component gridsHans Goudey
This shows a geometry's volume grids in the spreadsheet. Three columns are displayed: - Name: The text name of each grid - Data type: Float, Vector, etc. - Class: Fog volume, Level Set, or unkown In the future, values of the voxels themselves could be displayed, but that is a much more complex problem, with important performance implications, etc. Differential Revision: https://developer.blender.org/D13049
2021-11-03Geometry Nodes: Add tooltips to primitive node inputsNikhil Shringarpurey
Building on the work in rBef45399f3be0, this commits adds tooltips to the inputs for the default primitives nodes. Differential Revision: https://developer.blender.org/D12640