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-07-06Cleanup: pep8Campbell Barton
2021-06-24Fix failure when baking actions with Bendy BonesJulian Eisel
682a74e0909ba renamed Bendy Bones properties and replaced existing float properties with float-vector properties. This updates the property names used by the action baking operator (`NLA_OT_bake`).
2021-06-23RNA Manual Reference: Update Mapping FileAaron Carlisle
2021-06-22Cleanup: Spelling MistakesLeon Zandman
This patch fixes many minor spelling mistakes, all in comments or console output. Mostly contractions like can't, won't, don't, its/it's, etc. Differential Revision: https://developer.blender.org/D11663 Reviewed by Harley Acheson
2021-06-21Add a reason for why an Addon can not be loaded. This change gives a more ↵Gaia Clary
detailed explanation of the issue and may help the Addon Developer to identify what exactly needs to be changed. The current message 'addon not loaded' is a bit too sparse. Differential Revision: https://developer.blender.org/D11655
2021-06-15Cleanup: unused argument & variable warningsCampbell Barton
2021-06-08PyAPI: use keyword only argumentsCampbell Barton
Use keyword only arguments for the following functions. - addon_utils.module_bl_info 2nd arg `info_basis`. - addon_utils.modules 1st `module_cache`, 2nd arg `refresh`. - addon_utils.modules_refresh 1st arg `module_cache`. - bl_app_template_utils.activate 1nd arg `template_id`. - bl_app_template_utils.import_from_id 2nd arg `ignore_not_found`. - bl_app_template_utils.import_from_path 2nd arg `ignore_not_found`. - bl_keymap_utils.keymap_from_toolbar.generate 2nd & 3rd args `use_fallback_keys` & `use_reset`. - bl_keymap_utils.platform_helpers.keyconfig_data_oskey_from_ctrl 2nd arg `filter_fn`. - bl_ui_utils.bug_report_url.url_prefill_from_blender 1st arg `addon_info`. - bmesh.types.BMFace.copy 1st & 2nd args `verts`, `edges`. - bmesh.types.BMesh.calc_volume 1st arg `signed`. - bmesh.types.BMesh.from_mesh 2nd..4th args `face_normals`, `use_shape_key`, `shape_key_index`. - bmesh.types.BMesh.from_object 3rd & 4th args `cage`, `face_normals`. - bmesh.types.BMesh.transform 2nd arg `filter`. - bmesh.types.BMesh.update_edit_mesh 2nd & 3rd args `loop_triangles`, `destructive`. - bmesh.types.{BMVertSeq,BMEdgeSeq,BMFaceSeq}.sort 1st & 2nd arg `key`, `reverse`. - bmesh.utils.face_split 4th..6th args `coords`, `use_exist`, `example`. - bpy.data.libraries.load 2nd..4th args `link`, `relative`, `assets_only`. - bpy.data.user_map 1st..3rd args `subset`, `key_types, `value_types`. - bpy.msgbus.subscribe_rna 5th arg `options`. - bpy.path.abspath 2nd & 3rd args `start` & `library`. - bpy.path.clean_name 2nd arg `replace`. - bpy.path.ensure_ext 3rd arg `case_sensitive`. - bpy.path.module_names 2nd arg `recursive`. - bpy.path.relpath 2nd arg `start`. - bpy.types.EditBone.transform 2nd & 3rd arg `scale`, `roll`. - bpy.types.Operator.as_keywords 1st arg `ignore`. - bpy.types.Struct.{keyframe_insert,keyframe_delete} 2nd..5th args `index`, `frame`, `group`, `options`. - bpy.types.WindowManager.popup_menu 2nd & 3rd arg `title`, `icon`. - bpy.types.WindowManager.popup_menu_pie 3rd & 4th arg `title`, `icon`. - bpy.utils.app_template_paths 1st arg `subdir`. - bpy.utils.app_template_paths 1st arg `subdir`. - bpy.utils.blend_paths 1st..3rd args `absolute`, `packed`, `local`. - bpy.utils.execfile 2nd arg `mod`. - bpy.utils.keyconfig_set 2nd arg `report`. - bpy.utils.load_scripts 1st & 2nd `reload_scripts` & `refresh_scripts`. - bpy.utils.preset_find 3rd & 4th args `display_name`, `ext`. - bpy.utils.resource_path 2nd & 3rd arg `major`, `minor`. - bpy.utils.script_paths 1st..4th args `subdir`, `user_pref`, `check_all`, `use_user`. - bpy.utils.smpte_from_frame 2nd & 3rd args `fps`, `fps_base`. - bpy.utils.smpte_from_seconds 2nd & 3rd args `fps`, `fps_base`. - bpy.utils.system_resource 2nd arg `subdir`. - bpy.utils.time_from_frame 2nd & 3rd args `fps`, `fps_base`. - bpy.utils.time_to_frame 2nd & 3rd args `fps`, `fps_base`. - bpy.utils.units.to_string 4th..6th `precision`, `split_unit`, `compatible_unit`. - bpy.utils.units.to_value 4th arg `str_ref_unit`. - bpy.utils.user_resource 2nd & 3rd args `subdir`, `create` - bpy_extras.view3d_utils.location_3d_to_region_2d 4th arg `default`. - bpy_extras.view3d_utils.region_2d_to_origin_3d 4th arg `clamp`. - gpu.offscreen.unbind 1st arg `restore`. - gpu_extras.batch.batch_for_shader 4th arg `indices`. - gpu_extras.batch.presets.draw_circle_2d 4th arg `segments`. - gpu_extras.presets.draw_circle_2d 4th arg `segments`. - imbuf.types.ImBuf.resize 2nd arg `resize`. - imbuf.write 2nd arg `filepath`. - mathutils.kdtree.KDTree.find 2nd arg `filter`. - nodeitems_utils.NodeCategory 3rd & 4th arg `descriptions`, `items`. - nodeitems_utils.NodeItem 2nd..4th args `label`, `settings`, `poll`. - nodeitems_utils.NodeItemCustom 1st & 2nd arg `poll`, `draw`. - rna_prop_ui.draw 5th arg `use_edit`. - rna_prop_ui.rna_idprop_ui_get 2nd arg `create`. - rna_prop_ui.rna_idprop_ui_prop_clear 3rd arg `remove`. - rna_prop_ui.rna_idprop_ui_prop_get 3rd arg `create`. - rna_xml.xml2rna 2nd arg `root_rna`. - rna_xml.xml_file_write 4th arg `skip_typemap`.
2021-06-07Fix T88899: `__file__` not set for `text.as_module()`Campbell Barton
2021-06-04Update Camera presetsFynn Grotehans
The (tracking) camera presets have not been updated in the last 7 or more years, so they are very outdated. I found it pointless to have a few specific camera models in the list and instead add the most commonly used sensor sizes/film sizes. This way the list is shorter, easier to maintain/becomes later outdated, and is more user friendly for most people who don't own any of the specific cameras. I added the Crop Factor to the Beginning of the name, so it gets sortet in the correct order and presets are easier to find based on the size. Reviewed By: #render_cycles, #motion_tracking, brecht, sergey Differential Revision: https://developer.blender.org/D10739
2021-05-28Merge branch 'blender-v2.93-release'Aaron Carlisle
2021-05-28Docs: Update RNA to User Manual mappingsAaron Carlisle
2021-05-25Fix/Refactor RNA ID preview getter creating preview data.Bastien Montagne
Same as with forcefields, accessors should never generate data.
2021-05-21Cleanup: spellingLeon Zandman
Includes fixes to misspelled function names. Ref D11280
2021-05-20Merge remote-tracking branch 'origin/blender-v2.93-release'Sybren A. Stüvel
2021-05-20Fix T86193: Bake Action, wrong rotation order for bonesdreamertooth
Use bone rotation order to compute the baked rotation. This fixes a bug introduced in rB0e85d701c654, where the object rotation order was applied to the bone. Maniphest Tasks: T88359, T86193 Reviewed By: sybren, GuiltyGhost, #animation_rigging Differential Revision: https://developer.blender.org/D11282
2021-05-18WM: check missing space-data & constraints in poll functionsCampbell Barton
Without this, menu search prints many errors in some contexts.
2021-05-14Python GPU: Replace part of the code that uses 'bgl' with 'gpu'Germano Cavalcante
This is part of the process described in T80730. The aim is to deprecate the bgl module. Reviewed By: fclem, brecht, campbellbarton Revision: D11147
2021-05-14PyAPI: use iterators for ID property methods (keys, values & items)Campbell Barton
- Matches changes in Python 3.x dictionary methods. - Iterating now raises a run-time error if the property-group changes size during iteration. - IDPropertyGroup.iteritems() has been removed. - IDPropertyGroup View & Iterator types have been added. - Some set functionality from dict_keys/values/items aren't yet supported (isdisjoint method and boolean set style operations). Proposed as part of T85675.
2021-05-13PyAPI Docs: Cleanup FormattingAaron Carlisle
2021-05-12PyAPI: remove deprecated 'wiki_url' for add-ons 'bl_info'Campbell Barton
This was only kept for compatibility with older add-ons and has been deprecated since 2.83. Ref T85675
2021-05-07Update RNA to User Manual mappingAaron Carlisle
2021-05-05System info: add OS version to sys_info.pyAnkit Meel
Match the output to the prefilled bug report script's output. Make the output file self-contained. Reviewed By: lichtwerk Differential Revision: https://developer.blender.org/D11144
2021-05-04Docs: "File > External Data pack operator" lookup for the manualDalai Felinto
2021-05-03Merge branch 'blender-v2.93-release'Alexander Gavrilov
2021-05-03Minor updates to i18n spellcheck tool.Bastien Montagne
2021-05-01Python GPU: Replace a few calls of the bgl module with gpuGermano Cavalcante
Concludes these files: [x]bpy_types.py [x]operator_modal_draw.py Reviewed By: fclem Differential Revision: https://developer.blender.org/D11129
2021-04-30Documentation: Replace the bgl API in the gpu module exemplesGermano Cavalcante
2021-04-28Merge branch 'blender-v2.93-release'Campbell Barton
2021-04-28Fix T85688: ExportHelper adds multiple file name extensionsCampbell Barton
Replace the existing extension instead of adding it.
2021-04-27Merge branch 'blender-v2.93-release'Aaron Carlisle
2021-04-27Update RNA/User Manual MappingsAaron Carlisle
2021-04-26Merge branch 'blender-v2.93-release'Jacques Lucke
2021-04-26DeprecationWarning fixErik Abrahamsson
This gets rid of a `DeprecationWarning` in bpy_types.py caused by invalid escape sequences. More info here: https://docs.python.org/3/library/re.html Reviewed By: mont29 Differential Revision: https://developer.blender.org/D10998
2021-04-22Animation: add "LocRotScaleCProp" keying setSybren A. Stüvel
Add a keying set that includes location, rotation, scale, and custom properties. The keying set is intentionally not based on the "Whole Character" keying set. Instead, it is generic enough to be used in both object and pose animation, making it possible to quickly switch between animating characters and props without switching keying sets. This is, according to @rikkert, what the Blender Studio animators need 99.9% of the time.
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-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-23Update RNA to Manual MapAaron Carlisle
2021-03-06Cleanup: remove workaround for Python 3.7x crashing with libeditCampbell Barton
This removes workaround for T43491. It's no longer needed as Python 3.9x supports libedit as an alternative to readline on all platforms.
2021-03-06Cleanup: unused importsCampbell Barton
2021-03-06Cleanup: unused variablesCampbell Barton
2021-03-05UI: minor changes to preset sortingCampbell Barton
- Only sort by the preset name (not it's directory). - Remove redundant string conversion. - Only call lower() once on the input. - Don't assign the lambda to a variable for single use.
2021-03-05Presets: Improve sort order of presetsAaron Carlisle
Pythons sort function does not sort naturally, to solve this a custom sort key is used. This issue is apparent when trying D10553
2021-03-02Sculpt: Expand OperatorPablo Dobarro
Expand is a new operator for Sculpt Mode which is intended to be the main tool for masking, Face Set editing, interacting with the filters and pattern creation. The fundamentals of the tool are similar to the previous sculpt.mask_expand operator. It shares the same default shortcuts and functionality, making the previous operator obsolete. The shortcuts to execute the operator are: - Shift + A: Expand mask - Shift + Alt + A: Expand mask by normals - Shift + W: Expand Face Set - Shift + Alt + W: Resize current Face Set The main changes compared to the previous sculpt.mask_expand operator are: - Modal keymap, all operator options can be changed in real time while the operator is running. - Supports creating Mask, Face Sets and Sculpt Vertex Colors. - Much better code, new features can be easily integrated. Limitations: - All Mask operations are supported for Sculpt Vertex colors, but not exposed by default as their support is still experimental. - Dyntopo does not support any Face Set or Sculpt Vertex Colors. functionality (they are not implemented in general for Dyntopo). - Multires does not support any feature related to geodesic distances. - Multires does not support vertex colors. - Multires does not support recursions. - In Multires, Face Sets snaping does not initialize all current enabled Face Sets when toggling snapping. - In Multires, Face Sets are created at base mesh level (works by this by design, like any other tool). - Unlike the previous mask_expand operator, this one does not blur the mask by default after finishing Expand as that does not fit the new design. The mask can still be blurred by using the mask filter manually. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D10455
2021-03-02Cleanup: remove Python 2.x support from complete_calltipCampbell Barton
2021-02-24Fix T85915: Cannot save new theme presetCampbell Barton
Since making bpy.types a real module `dir(bpy.types)` now includes __dir__ and __getattr__ methods which need to be ignored.
2021-02-22i18n messages extraction script: fix handling of C unicode-escapes.Bastien Montagne
rB1f5647c07d15 introduced for the first time a unicode escape in strings to be translated, directly extracted from C-code itself. This revealed that this case was not properly handled by current code, for now we work around using `raw_unicode_escape` encoding/decoding of python.
2021-02-22Various UI messages fixes and tweaks.Bastien Montagne