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-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.
2021-03-26Geometry Nodes: Add Attribute Clamp NodeCharlie Jolly
This adds a Clamp node for Geometry Nodes Attributes. Supports both Min-Max and Range clamp modes. Float, Vector, Color and Int data types supported. Reviewed By: HooglyBoogly, simonthommes Differential Revision: https://developer.blender.org/D10526
2021-03-26Fix error when an addon has no `__init__.py`Sybren A. Stüvel
When an addon has been removed, but its `.pyc` files are still there, the Python module can still be loaded. However, because `__init__.py` is missing, it becomes a namespace instead of a module, and its `__file__` will be set to `None`. As a result, it's impossible to get the mtime from the file (because there is none). This should not influence any regularly uninstalled add-on, as that would just remove the add-on's directory; I ran into the problem when switching Git branches caused an add-on's Python files to disappear while keeping the `__pycache__` directory around.
2021-03-26Geometry Nodes: Add Attribute Map Range NodeVictor-Louis De Gusseme
This commit adds a node with a "Map Range" operation for attributes just like the non-attribute version of the node. However, unlike the regular version of the node, it also supports operations on vectors. Differential Revision: https://developer.blender.org/D10344
2021-03-25Fix T83390: Remove temporary, for-one-release deprecation hintsSybren A. Stüvel
Revert "Point users to new location of "Show Group Colors" option", commit rB6ed6741ee35930bf81fad9a5eb6bb17eea168725. These deprecation hints were intended for one release only, and thus can be removed now.
2021-03-25UI: rename node editor sidebar categoriesJacques Lucke
* `Node` -> `Group` * `Item` -> `Node` Differential Revision: https://developer.blender.org/D10804
2021-03-24GPencil: New modules for Import and ExportAntonio Vazquez
This patch adds support to export and import grease pencil in several formats. Inlude: * Export SVG * Export PDF (always from camera view) * Import SVG The import and export only support solid colors and not gradients or textures. Requires libharu and pugixml. For importing SVG, the NanoSVG lib is used, but this does not require installation (just a .h file embedded in the project folder) Example of PDF export: https://youtu.be/BMm0KeMJsI4 Reviewed By: #grease_pencil, HooglyBoogly Maniphest Tasks: T83190, T79875, T83191, T83192 Differential Revision: https://developer.blender.org/D10482
2021-03-23Geometry Nodes: Move mesh primitives to their own categoryHans Goudey
It makes more sense to avoid mixing the primitives with other mesh operations. We considered adding a "Mesh" prefix to the names too, but decided to prioritize improvements to the node search menu instead, and only consider that if there is an overlapping prefix name for another data type.
2021-03-23Compositor: Display generated inputs in Viewers and PreviewsManuel Castilla
Currently viewers and previews only display node trees that have at least one node with fixed resolution size. When all inputs are generated, nothing is displayed in most cases (RGB Node is displayed as a single pixel on previews). By generated I mean inputs not having resolution on their own, they create content dynamically given an output resolution. This patch adds support for those cases by using an appropriate preferred resolution on Viewers/Previews which propagates to generated inputs as output resolution. Now: - Viewers will display generated inputs with scene render resolution. - Previews will display them with scene aspect ratio. This is consistent with final render result and respects relative space. The benefit for the user is being able to compose images without any input source. For example for creating mask images or simple backgrounds. Reviewed By: Jeroen Bakker Differential Revision: https://developer.blender.org/D10611
2021-03-23Curves: add taper mode optionOmar Emara
Currently, when a taper object is specified, the radius of the spline is ignored. This patch adds a new option to control how the taper object affect the effective radius of the spline. The option allow three modes of operation: - Override: The old method. The radius of the spline is ignored and overridden. - Multiply: The radius of the spline is multiplied by the taper radius. - Add: The radius of the spline is added to the taper radius. Ref D10779
2021-03-23Cleanup/CMake: Fix comment, sort order of options.Ankit Meel
2021-03-23Fix error in clip.setup_tracking_scene with cyclesCampbell Barton
Regression in e9182a0f5d0b1700e4bcdc11d0110ba7e9b97a0c
2021-03-23Cleanup: unused variables, importsCampbell Barton
2021-03-23Cleanup: single quotes for Python enums, spellingCampbell Barton
2021-03-23Cleanup: import operator class directly for Python operatorsCampbell Barton
2021-03-23Update RNA to Manual MapAaron Carlisle
2021-03-23Cleanup: move line art panel into properties_objectsCampbell Barton
No need for a module to define a single panel, since this is an object panel it can be included with other object panels. If centralizing line-art properties is needed in the future, this can be done in a `*_common` module.
2021-03-22Fix missing document icons on macOS 10.4 and earlierJohannes Jakob
Re-adds a legacy document icon for macOS 10.14 Mojave that is consistent with the system generated document icon on macOS 11 Big Sur. It uses the old-style document sheet icon, but includes the file extension underneath the Blender icon (unlike the previous legacy document icon that was removed in D10267). Adds the missing description for the exported type identifier. Finder now correctly displays “Blender File” instead of “data” for Blender files. Differential Revision: https://developer.blender.org/D10746
2021-03-22GPencil: Move Automerge button position in topbarAntonio Vazquez
This helps to keep animation buttons grouped.
2021-03-22Cleanup: remove unexposed nodesJacques Lucke
Those nodes are leftovers from my work on particle nodes and are not needed currently. They can be added back easily if they become necessary.
2021-03-22Fix regression in bd7969159997b8802d54e79a002350a7fb97944dCampbell Barton
The sequencer header needs to be drawn, even if the returned variables aren't used.
2021-03-22Cleanup: check the space type instead of the operators poll functionCampbell Barton
The poll function may fail for reasons other than the space type, as this menu is selected based on space-type, check this instead.
2021-03-22RNA: use boolean array for transarency masksCampbell Barton
There is no need to expose this as multiple properties, also use `use_` prefix for boolean properties.
2021-03-22Cleanup: clang-format, trailing spaceCampbell Barton
Minor manual tweak to prevent wrapping an array into columns.
2021-03-20Fix T86746: Description missing from Quick LiquidFalk David
The description was missing from the Quick Liquid operator. The fix adds the following description: "Make selected objects liquid" Reviewed By: sebbas Maniphest Tasks: T86746 Differential Revision: https://developer.blender.org/D10777
2021-03-20VSE UI: Cleanup scene panel stylePeter Fog
- Make properties alligned - Add decorate to volume - Add heading to Grease Pencil and Transparent Reviewed By: ISS Differential Revision: https://developer.blender.org/D10663
2021-03-20VSE: Preview images when moving strip handlesPeter Fog
Add option to override current frame whem transforming strip handles. Option can be found in View menu of VSE preview, or in timeline when using backdrop. Reviewed By: ISS Differential Revision: https://developer.blender.org/D10424
2021-03-20VSE: Add bold and italic option for text stripPeter Fog
Bold and italic fonts can be switched quickly by presing corresponding button. Reviewed By: ISS Differential Revision: https://developer.blender.org/D10542
2021-03-20Theme: Use curved noodles in the nodes editor.Pablo Vazquez
Curved noodles increase readability especially in nodes with multiple input sockets.
2021-03-19EEVEE: Lights: Add Volume and diffuse light power sliderClément Foucault
This adds 2 new sliders for light objects that modulates the diffuse light and the volume light intensities. This also changes the way volume light is computed using point lamp representation. We use "Point Light Attenuation Without Singularity" from Cem Yuksel instead of the usual inverse square law.
2021-03-19Geometry Nodes: Add geometry instances data to the spreadsheetHans Goudey
This patch adds data about instances generated by geometry nodes to the spreadsheet. The transform data is decomposed into position, rotation, and scale, and there is a name column to display the name of the instanced object or collection. This data is implemented specifically for the spreadsheet, because we're not sure that we want to expose this data as attributes for the use elsewhere. Differential Revision: https://developer.blender.org/D10770