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-05-26Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-26Fix Blender 2.7x keymap faulure to select & drag multiple nodesCampbell Barton
A follow up on the fix for T98145 for the 2.7x keymap.
2022-05-26Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-26Fix T94857: 'Gizmo Operator' from python templates spins when draggedCampbell Barton
Callbacks used in the gizmo operator template don't support updating while being dragged, set the EXCLUDE_MODAL flag so the offsets aren't accumulated. Also fix the offset being applied twice to the move gizmo.
2022-05-26UI: use visible regions when showing candidates for operators data-pathCampbell Barton
When expanding the data path for the context, use Context.temp_override to extract context members. Without this, only context-members available in the preferences were used which misses members which are likely to be useful. Iterate over all windows, areas and regions showing unique member as candidates. The search is limited to WINDOW/PREVIEW region types, the preferences space type is also excluded. See the doc-string for rna_path_prop_search_for_context for additional notes on this.
2022-05-26UI support for showing candidates for string propertiesCampbell Barton
Currently strings are used for cases where a list of identifiers would be useful to show. Add support for string properties to reference a callback to populate candidates to show when editing a string. The user isn't prevented from typing in text not found in this list, it's just useful as a reference. Support for expanding the following strings has been added: - Operator, menu & panel identifiers in the keymap editor. - WM operators that reference data-paths expand using the Python-consoles auto-complete functionality. - Names of keying sets for insert/delete keyframe operators. Details: - `bpy.props.StringProperty` takes an option `search` callback. - A new string callback has been added, set via `RNA_def_property_string_search_func` or `RNA_def_property_string_search_func_runtime`. - Addresses usability issue highlighted by T89560, where setting keying set identifiers as strings isn't practical. - Showing additional right-aligned text in the search results is supported but disabled by default as the text is too cramped in most string search popups where the feature would make sense. It could be enabled as part of other layout tweaks. Reviewed By: brecht Ref D14986
2022-05-25UI: Curves Sculpt pinch iconDalai Felinto
2022-05-25UI: Update icons after the latest changes in the generator scriptDalai Felinto
There should be no visible change. The difference is mostly on how we changed the rounding to handle the conversion from color space to the new linear space of the attribute colors. To convert the materials in icon_geom.blend I used: ``` import bpy from mathutils import Color def convert_material(material): if not material.use_nodes: return if not material.node_tree: return node_tree = material.node_tree for node in node_tree.nodes: if node.type != 'RGB': continue color_original = node.outputs[0].default_value color_new = Color(color_original[:3]).from_srgb_to_scene_linear() color = (*color_new, color_original[3]) node.outputs[0].default_value = color def main(): for material in bpy.data.materials: convert_material(material) main() ```
2022-05-25Tool Icons: Support curve and objects with modifiers + color space fixDalai Felinto
This allows for the new tool icons to use geometry nodes. In order to do this I also had to use the new API for accessing the attributes (instead of vertex colors). Which in turn requires a few changes to use linear color space. I went ahead and updated the entire code to use the linear space everywhere. I will update the icon files manually to make sure the final result is similar to what we have now. Note: We now use round instead of int. That plus the changes regarding the color space will lead to some icons to change slightly (no perceived visual change). Differential Revision: https://developer.blender.org/D14988
2022-05-25UI: Fix ops.sculpt.cloth_filter iconDalai Felinto
This icon was using a material with a slightly different shade of purple. I removed all the duplicated materials in icons_geom.blend and this was the only "functional" change (though it is not noticeable).
2022-05-23Asset Browser: Show "Current File" icon in sidebar source fieldJulian Eisel
If the asset is stored in the current file, display the corresponding icon in the "Source" button in the sidebar. This is a nice indicator and helps users learn what this icon represents (it's used in the main region without text too).
2022-05-23Cycles: Add half precision float support for volumes with NanoVDBPatrick Mours
This patch makes it possible to change the precision with which to store volume data in the NanoVDB data structure (as float, half, or using variable bit quantization) via the previously unused precision field in the volume data block. It makes it possible to further reduce memory usage during rendering, at a slight cost to the visual detail of a volume. Differential Revision: https://developer.blender.org/D10023
2022-05-23Merge branch 'blender-v3.2-release'Bastien Montagne
2022-05-23Fix T96878: When interface translation is enabled, grease pencil layer name ↵Bastien Montagne
is translated in menu. Those type of entries have to be tagged as not translatable...
2022-05-23Fix T98258: Duplicated last vertex after GPencil sample.YimingWu
Also fixed an unreported issue of incorrect interpolation of thickness. Reviewed By: Aleš Jelovčan (frogstomp), Antonio Vazquez (antoniov) Differential Revision: https://developer.blender.org/D15005
2022-05-23Fix T98258: Duplicated last vertex after GPencil sample.YimingWu
Also fixed an unreported issue of incorrect interpolation of thickness. Reviewed By: Aleš Jelovčan (frogstomp), Antonio Vazquez (antoniov) Differential Revision: https://developer.blender.org/D15005
2022-05-23PyDoc: quiet output and minor cleanupCampbell Barton
Suppress printing unnecessary output when generating docs.
2022-05-23Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-23Fix float representation for Python API docsCampbell Barton
float_as_string(1000000) resulted in 1e+06.0 which isn't valid notation.
2022-05-23Cleanup: formattingAaron Carlisle
2022-05-20LibOverride: Add option to Hierarchy Creation to get all data user-editable ↵Bastien Montagne
by default. Avoids having to manually enable data-blocks for user-edition when you do not care about what should be edited by whom. Similar to default behavior before introduction of system overrides (aka non-user-editable overrides).
2022-05-20Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-20Fix T98145: IC keymap can't select & move multiple nodesCampbell Barton
Regression from [0] which changed operator properties without updating this keymap. [0]: 4c3e91e5f565b81dd79b5d42f55be5b93662d410
2022-05-20Include __init__.py in bl_console_utilsCampbell Barton
Failure to include this file caused script_load_modules test to fail.
2022-05-20Cleanup: warnings, spelling, formattingCampbell Barton
Avoid multiple `sound.bl_rna.properties["channels"].enum_items` in the same line. Note we might want a way to avoid having to do this.
2022-05-20Cleanup: move 'console' module to 'bl_console_utils.autocomplete'Campbell Barton
The name 'console' for a module was too generic, move into a sub-package of bl_console_utils, so other console utilities can be added without creating new top-level modules.
2022-05-19VSE: Display sound sample rate and channelsMarcos Perez
Display information about sound media in "Source" category in side panel similar to movie resolution and framerate. The specs are stored in the `Sequence` struct, and are extracted at the moment of struct creation. If the "source file" is changed, the specs change also. Reviewed By: ISS Differential Revision: https://developer.blender.org/D14565
2022-05-19UI: Expose new tool icon: Selection PaintDalai Felinto
This icon will be used by the curves paint select brush.
2022-05-19Cleanup: format, reduce line length & strip trailing spaceCampbell Barton
2022-05-18Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-18Fix T88792: WindowManager.clipboard missing in Python API docsCampbell Barton
Support RNA types using the Py/C-API PyGetSetDef defined properties. Currently `WindowManager.clipboard` is the only instance of this.
2022-05-18Cleanup: remove unused variables, redundant assignmentsCampbell Barton
2022-05-17Remove incorrect poll method from `object.instance_offset_from_cursor`Sybren A. Stüvel
Remove poll method from the `OBJECT_OT_instance_offset_from_cursor` operator. It was checking for `context.active_object`, but not even doing anything with the active object. It'll get in the way of exposing this operator in another area of the interface, though.
2022-05-17Preferences: Moved Sculpt texture paint to prototypes.Jeroen Bakker
Sculpt texture paint should not be considered as a new feature just yet. There are many designs still missing that could drive changes.
2022-05-17Cleanup: formatCampbell Barton
2022-05-16VSE: Delete Strip and Scene Data in one stepAntonio Vazquez
Actually, delete the strip only deletes the container, but not the linked data. This patch adds the option to delete the scene also. This is very handy for storyboarding. Reviewed By: ISS Maniphest Tasks: T97683 Differential Revision: https://developer.blender.org/D14794
2022-05-16VSE: Add new Scene and StripAntonio Vazquez
This operator allows to add a new scene at the same time that the strip. This is very handy for storyboarding. Reviewed By: ISS Maniphest Tasks: T97678 Differential Revision: https://developer.blender.org/D14790
2022-05-16VSE: New Change Scene option in Change menuAntonio Vazquez
This is a new option in `C` key menu. Reviewed By: mendio, ISS Maniphest Tasks: T97711 Differential Revision: https://developer.blender.org/D14807
2022-05-16Merge remote-tracking branch 'origin/blender-v3.2-release'Sybren A. Stüvel
2022-05-16Fix: Node editor "Group" panel displays for embedded node treesHans Goudey
Embedded node trees are not groups, since their inputs and outputs are not exposed anywhere. So these panels should not be displayed.
2022-05-15Merge branch 'blender-v3.2-release'Joseph Eagar
2022-05-15Fix T81715: Unprojected radius mode messes up sculpt texture radiusJoseph Eagar
We really need to fix how unprojected radius (scene unit) works. What happened is the paint code updates the brush's normal radius with the current unprojected pixel radius, which was then used by texture brush tiled mode. To fix this I just cached the pixel radius at stroke start in UnifiedPaintSettings->start_pixel_radius.
2022-05-13Merge branch 'blender-v3.2-release'Hans Goudey
2022-05-13Fix: Incorrect order in geometry nodes add menuHans Goudey
2022-05-12UI: Tweak Sculpting Trim iconsDalai Felinto
Update the trim icons so they don't show a dashed line. Instead they have now a continuous red line. This is important because the sculpting tools are planning to use the same icons for selection as the regular tools. And those icons use dashed line to represent selection. Note the icon file has two new icons which are not used at the moment (they are in the Unused collection): * ops.generic.select_paint * ops.generic.select_line
2022-05-12Curves: add operator to convert hair particle system to new curvesJacques Lucke
This creates a new curves object with the name of the particle system. The generated curves match the current evaluated state of the active hair particle system. Attachment information is not transferred currently. Differential Revision: https://developer.blender.org/D14908
2022-05-12Cleanup: formatCampbell Barton
2022-05-11Curves: Adjust sculpt mode UI layoutsHans Goudey
This patch adjusts the UI layouts for the tool header and the tool properties in sculpt mode in a few ways. The goals are to better group related settings, keep fundamental settings easily accessible, fix the availability of some options, and make better use of space. 1. Remove ID template in tool header 2. Rename "Add Amount" to "Count" for add brush 3. Add "use pressure" toggles to radius and strength sliders 4. Move strength falloff to a popover 5. Move many "Add" brush settings to popover called "Curve Shape" 6. Move two "Grow/Shrink" options to a popover called "Scaling" 7. Don't display "Falloff" panel in properties when it has no effect See the differential revision for screenshots and more reasoning. Differential Revision: https://developer.blender.org/D14922
2022-05-11Mesh: Add Auto Smooth option to Shade Smooth operatorPablo Vazquez
Add a property to the **Shade Smooth** operator to quickly enable the Mesh `use_auto_smooth` option. The `Angle` property is exposed in the **Adjust Last Operation** panel to make it easy to tweak on multiple objects without having to go to the Properties editor. The operator is exposed in the `Object` menu and `Object Context Menu`. === Demo === {F13066173, size=full} Regarding the implementation, there are multiple ways to go about this (like making a whole new operator altogether), but I think a property is the cleanest/simplest. I imagine there are simpler ways to achieve this without duplicating the `use_auto_smooth` property in the operator itself (getting it from the Mesh props?), but I couldn't find other operators doing something similar. Reviewed By: #modeling, mont29 Differential Revision: https://developer.blender.org/D14894
2022-05-11Cleanup: Use single quotes for Python enum stringHans Goudey