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-04-20Cleanup: keying sets, move common code to mix-in classSybren A. Stüvel
Move code common to the Whole Character keying sets ("Whole Character" and "Whole Character (Selected Bones Only)" into a mix-in class. This avoids the need to use direct assignments like `poll = BUILTIN_KSI_WholeCharacter.poll`. No functional changes.
2021-04-20Cleanup: keying sets, use `self` as self-parameterSybren A. Stüvel
Use `self` as self-parameter of methods, instead of the non-standard and cryptic `ksi`. No functional changes.
2021-04-19GPencil: Add Layer Mask ordering buttonsAntonio Vazquez
Now the list of masks can be ordered as is done in Layers. This can be used to organize list and in the future refquired for new masking options.
2021-04-19Geometry Nodes: new Switch nodeEitan
This is a first iteration of a switch node. It can only switch between two inputs values based on a boolean. A more sophisticated switch node that has an integer selector will probably come later. Currently, the geometry nodes evaluator does not support lazy evaluation of individual inputs. Therefore, all inputs will be computed currently. An improvement to the evaluator will be worked on separately. Ref: T85374 Differential Revision: https://developer.blender.org/D10460
2021-04-16Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-16Fix T87555: Incorrect view transform default in startup fileHans Goudey
This was another error in rBac90c8a7743f. It turns out it's quite important to use a full build to save the file, which I didn't do then.
2021-04-16Merge branch 'blender-v2.93-release'Antonio Vazquez
2021-04-16GPencil: Remove Grease Pencil menu options in UV editorAntonio Vazquez
Differential Revision: https://developer.blender.org/D10993
2021-04-16Fix various Blender 3.0 versioning issuesRay Molenkamp
This changes the following items: - package name is now `blender-3.0.0-git.09eb04c0a865-windows64` rather than `blender-3.00.0-git.09eb04c0a865-windows64` - Fix version resource for blender.exe not building - Data directories are now `3.0\...` rather than `3.00\....` - User prefs are now in: `c:\Users\users\AppData\Roaming\Blender Foundation\Blender\3.0\` rather than: `c:\Users\users\AppData\Roaming\Blender Foundation\Blender\3.00\` - Updating startup & preferences from previous release has a special exception for 3.0 to check for 3.93 and older. See T87532 Ref D10986
2021-04-15Merge branch 'blender-v2.93-release'Antonio Vazquez
2021-04-15RNA: Silence warning when building without audaspaceDalai Felinto
`make lite` does not use audaspace, so some files will pollute the console with tons of warnings about audio values not defined. Reviewed By: nexyon, campbellbarton Differential Revision: https://developer.blender.org/D10981
2021-04-15Merge branch 'blender-v2.93-release'Hans Goudey
2021-04-15Fix text in startup file python consoleHans Goudey
This was a mistake in rBac90c8a7743f6d0
2021-04-15Blender 2.93 splascreenDalai Felinto
Credit: Erindale Woodford - youtube.com/erindale / twitter.com/erindale_xyz
2021-04-15UI: Rename itmes in point cloud add attribute menuHans Goudey
Since these were added, we decided that builtin and reserved name attributes start with a lowercase letter. We also use "id" already in a few nodes, so this change will be consistent with that.
2021-04-15Fix T87171: Update multi input socket indicesFabian Schempp
When inserting a node on top of a link, the multi input socket indices weren't updated. This fixes that and keeps the relative order of the links the same. Author: Wannes Malfait Reviewed By: Fabian Schempp Differential Revision: https://developer.blender.org/D10969
2021-04-15Spreadsheet: breadcrumbs and node pinningJacques Lucke
This introduces a context path to the spreadsheet editor, which contains information about what data is shown in the spreadsheet. The context path (breadcrumbs) can reference a specific node in a node group hierarchy. During object evaluation, the geometry nodes modifier checks what data is currently requested by visible spreadsheets and stores the corresponding geometry sets separately for later access. The context path can be updated by the user explicitely, by clicking on the new icon in the header of nodes. Under some circumstances, the context path is updated automatically based on Blender's context. This patch also consolidates the "Node" and "Final" object evaluation mode to just "Evaluated". Based on the current context path, either the final geometry set of an object will be displayed, or the data at a specific node. The new preview icon in geometry nodes now behaves more like a toggle. It can be clicked again to clear the context path in an open spreadsheet editor. Previously, only an object could be pinned in the spreadsheet editor. Now it is possible to pin the entire context path. That allows two different spreadsheets to display geometry data from two different nodes. The breadcrumbs in the spreadsheet header can be collapsed by clicking on the arrow icons. It's not ideal but works well for now. This might be changed again, if we get a data set region on the left. Differential Revision: https://developer.blender.org/D10931
2021-04-14UI: Add a workspace for geometry nodes in the default startup fileHans Goudey
This will hopefully make it faster to start using the node editor. The workspace also includes the spreadsheet. Note that while existing startup files won't have this workspace added, it will be in the list of options when clicking on the "add workspace" button. Ref T86499
2021-04-14UI: 2D Animation: Fix Labelling issue within the 'Cursor' dropdownAdrian Newton
Within the 2D Animation workspace, the 'Cursor' dropdown currently displays the 'Display Cursor' incorrectly aligned. This change fixes the alignment issue. Reviewed By: #user_interface, #grease_pencil, antoniov Differential Revision: https://developer.blender.org/D10614
2021-04-14Fix (unreported) compositor resolution propagation broken by some nodesManuel Castilla
Some operations may use no preferredResolution ({0, 0}) when calling determineResolution on inputs to check if they have resolution on their own. See MixOperation or MathOperation determineResolution implementation. In such cases {0, 0} resolution ends up being set when an input doesn't have own resolution, breaking propagation of the original preferredResolution. They don't mean to set it as resolution, it's just a check. This patch only allows to set valid resolutions (>0). When it's 0 it may be understood as "No preferred or determined resolution" so it should not be set to give output operations another chance of finding a proper resolution by calling determineResolution again with a different preferredResolution. Test file: {F9932526} Reviewed By: #compositing, jbakker Differential Revision: https://developer.blender.org/D10972
2021-04-13Object: Enable transfer mode functionality for switching objects in Sculpt ModePablo Dobarro
This implements the changes discussed in T87134 for including switch object funcionality in 2.93. This includes: - Remove the switch object operator experimental option - Remove the option for switching objects in Edit Mode. - Rename switch_object to transfer_mode. - Enable the operator only in sculpt mode. - Expose the operator in the Sculpt menu with an eyedropper modal option. On later releases, we could revisit enabling the operator in other mode and object types as well as its place in the UI. Reviewed By: JulienKaspar, JacquesLucke Differential Revision: https://developer.blender.org/D10953
2021-04-13Sculpt: Update menu entries for new Expand operatorPablo Dobarro
Sculpt menus were using the legacy expand operator. This updates all entries to use the new one. It does not make sense to use Expand from the menus as it relies on the brush cursor position, but now all Expand shortcuts are listed in the UI. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D10952
2021-04-12UI: Use Consistent name for select mirrorAaron Carlisle
This commit cleans up the RNA names of select mirror operators so that they are all "Select mirror". This makes the select menu in edit/pose mode consistent regardless of object type. Differential Revision: https://developer.blender.org/D7356
2021-04-12Cleanup: defer 'os' imports in startup scriptsCampbell Barton
2021-04-09Cleanup: defer importing nodeitems_utils (missed last commit)Campbell Barton
2021-04-09Cleanup: defer importing nodeitems_utilsCampbell Barton
2021-04-09Fix T87117: Geometry Nodes: Add missing Map Range modes to shader nodeCharlie Jolly
Add missing modes as reported in T87117 bug report. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D10885
2021-04-08LibOverride: Add a dedicated view in the Outliner.Bastien Montagne
This is a minimal, information-only view currently, listing by default all the override data-blocks, with their user-edited override properties. System-generated overrides (like the overrides of pointers to other override data-blocks) can be shown through a filter option. Finally, potential info or warning messages from (auto-)resync propcess are also shown, as an icon + tooltip next to the affected items. Part of D10855.
2021-04-07Fix T87264: Button to remove physics modifier doesn't workHans Goudey
This is caused by rB9f323e9bf79f. When hover shortcuts are used, we cannot use the modifier from the context (which will be the active modifier), or they won't be hover shortcuts anymore! There didn't use to be an editor-level "modifier" context variable, which is why this worked before. The fix is simple, just specify the modifier name for this particular remove button. Differential Revision: https://developer.blender.org/D10870
2021-04-07Geometry Nodes: Bounding Box NodeHans Goudey
This commit adds a simple node to output the min and max of an axis-aligned bounding box for the input geometry, as well a rectangular prism mesh created from these values for convenience. The initial use case for this node is a "bounding box boolean", where doing the boolean with just a bounding box could be signigicantly faster, for cases like cutting a hole in a wall for a window. But it's easy to imagine other cases where it could be useful. This node supports mesh and point cloud data right now, volume support will come as a separate patch. Also note that there is plenty of room to improve the performance of this node through parallelization. Differential Revision: https://developer.blender.org/D10420
2021-04-05Cycles: update Light Paths presetBrecht Van Lommel
* Add Fast GI / AO bounces to presets * Add Default preset matching defaults * Add Fast Approximate GI preset * Lower Full GI depths to 32
2021-04-02Fix T84520: Make the different weight paint code paths exclusive to each otherSebastian Parborg
Before this change, you could have the new sculpt symmetry code and the older weight paint symmetry code active at the same time. This would lead to users easily trashing their weigh paint data if they were not careful when switching between modes. Now the specific weight paint symmetry code is an exclusive toggle so the user can't accidentally mirror strokes and vertex groups at the same time. This also paves the way of supporting Y and Z symmetry in the future for weight groups mirroring if we decide to add it in the future. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D10426
2021-04-02Fix T86874: Wireframe not drawing for geometry node mesh primitivesKris
The following primitives needed ME_EDGEDRAW, ME_EDGERENDER edge flags: * Grid * Circle Set flags on the inside edges for grid and circle triangle fan (mesh primitive nodes) so they are visible and selectable. Reviewed By: HooglyBoogly Differential Revision: https://developer.blender.org/D10878
2021-03-31WM: use data-path utility functions for WM operatorsCampbell Barton
Use utility functions to decompose data paths and resolve the RNA property from a data-path. Replaces in-line string manipulation and RNA access. This allows more complex data paths to be used, where previously string literals in a data path could break the simple data-path handling logic.
2021-03-31PyAPI: add bl_rna_utils.decompose_data_pathCampbell Barton
Utility function for splitting an RNA path, to be used by `bpy.ops.wm.*`
2021-03-31Fix bl_rna_utils._TokenizeDataPath function argument extraction errorCampbell Barton
Converting functions with single arguments to a string added an additional comma.
2021-03-30UI: add description methods for `wm.context_*` operatorsCampbell Barton
Generic context operators now look-up the RNA properties to extract their description (when it's available). Add `bl_rna_utils.data_path.property_definition_from_data_path()` to handle the details of accessing the RNA property definition.
2021-03-30PyAPI: replace repr with our own escape function in animsys_refactorCampbell Barton
Use the same string escaping logic shared by RNA path resolving code.
2021-03-30Armature: Add Display Axis OffsetScott Wilson
Display the bone axes at the head (root) of the bone by default, instead of the tail (tip), and add a slider so that it's possible to adjust this position. Versioning code is in place to ensure existing files behave the same (axes shown at tail), whereas new Armatures will be using the new default (axes shown at head). Reviewed By: #animation_rigging, #user_interface, Severin, Sybren Differential Revision: https://developer.blender.org/D7685
2021-03-29Fix: Line Art panel in properties showing in the wrong order with add-onsBrecht Van Lommel
It should set bl_order to show below panels registered by render engine add-ons like Cycles.
2021-03-29Python API: add template for image processingÉlie Michel
Since a few releases it is possible to process Blenders images much more effficiently than before thanks to the `foreach_get`/`foreach_set` methods. This new template shows how those methods can be used together with numpy. Differential Revision: https://developer.blender.org/D9400
2021-03-29Overrides: API to create an override template.Jeroen Bakker
This is functionality that isn't accessible via the user interface. The API allows the creation and modification of an override template that holds rules that needs to be checked when overriding the asset. The API is setup that it cannot be changed after creation. Later on when the system is more mature we will allow changing overrides operations. NOTE: This is an experimental feature and should not be used in productions. Reviewed By: mont29, sebbas Differential Revision: https://developer.blender.org/D10792
2021-03-29Compositor: Add Anti-Aliasing nodeHabib Gahbiche
This is an implementation of Enhanced Subpixel Morphological Antialiasing (SMAA) The algorithm was proposed by: Jorge Jimenez, Jose I. Echevarria, Tiago Sousa, Diego Gutierrez This node provides only SMAA 1x mode, so the operation will be done with no spatial multisampling nor temporal supersampling. See Patch for comparisons. The existing AA operation seems to be used only for binary images by some other nodes. Using SMAA for binary images needs no important parameter such as "threshold", so we perhaps can switch the operation to SMAA, though that changes existing behavior. Notes: 1. The program code assumes the screen coordinates are DirectX style that the vertical direction is upside-down, so "top" and "bottom" actually represent bottom and top, respectively. Thanks for Habib Gahbiche (zazizizou) to polish and finalize this patch. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D2411
2021-03-28Fix T86060: Texture Paint clone tool misleading texture UICampbell Barton
For projection painting tools besides the `DRAW` tool: - Don't show the texture from viewport stencil drawing. - Don't show the texture panel. Based on D10564 by @lichtwerk with own changes.
2021-03-27UV Editor: Add cursor center operatorFabrício Luis
This matches cursor center operator from the 3D view. Reviewed By: campbellbarton Resolves T70142 Ref D8271
2021-03-26Geometry Nodes: Rename "Plane" primitive to "Grid"Hans Goudey
Although "Grid" may not be techincally correct since a grid could be 3D, it was decided to rename the "Plane" primtive to "Grid". The primitive node allows subdivisions, so the name is more consistent with the operator in the 3D view. Ref T86819 This commit includes a file subversion bump for the versioning.
2021-03-26OSL: add basic OSL shader templateRay Molenkamp
Add a basic OSL shader that shows how inputs and outputs work and do some simple math with them. This template is a happy medium between the templates we already ship, empty_shader is a little too bare, and the other templates are a little "too much" and you end up having to delete a whole bunch of stuff. a great starting point for some experimentation! Differential Revision: https://developer.blender.org/D9933 reviewed by: brecht
2021-03-26UI: Remove "Enable physics for:" text in physics propertiesWilliam Reynish
The "Enable physics for:" text makes no semantic sense- i.e. "Enable physics for Fluid". Additionally, the leading text is just not necessary, this section is just as clear without it. Differential Revision: https://developer.blender.org/D10537
2021-03-26UI: Use unified format for "Warning" in descriptionsYevgeny Makarov
Warnings in tooltips were using inconsistent formatting, some in parantheses, some not, some in caps, others not, some on new lines, some not, etc. This patch uses a consistent new line and no capitals for these cases. Differential Revision: https://developer.blender.org/D9904
2021-03-26Geometry-Nodes: Sort the Nodes Categories alphabeticallyDalai Felinto
The exception is still Group and Layout to be consistent with the other node editors. This could use a separator though.