fake-bpy-module 20240524__py3-none-any.whl → 20240529__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +3 -3
- bl_operators/__init__.pyi +3 -0
- bl_operators/connect_to_output/__init__.pyi +325 -0
- bl_operators/image_as_planes/__init__.pyi +463 -0
- bl_operators/node_editor/__init__.pyi +6 -0
- bl_operators/node_editor/node_functions/__init__.pyi +23 -0
- bl_operators/presets/__init__.pyi +12 -12
- bl_operators/userpref/__init__.pyi +0 -214
- bl_operators/wm/__init__.pyi +24 -24
- bl_ui/__init__.pyi +12 -12
- bl_ui/anim/__init__.pyi +6 -6
- bl_ui/generic_ui_list/__init__.pyi +2 -2
- bl_ui/node_add_menu/__init__.pyi +6 -6
- bl_ui/node_add_menu_compositor/__init__.pyi +108 -108
- bl_ui/node_add_menu_geometry/__init__.pyi +288 -288
- bl_ui/node_add_menu_shader/__init__.pyi +60 -60
- bl_ui/node_add_menu_texture/__init__.pyi +54 -54
- bl_ui/properties_collection/__init__.pyi +6 -6
- bl_ui/properties_data_armature/__init__.pyi +12 -12
- bl_ui/properties_data_camera/__init__.pyi +12 -12
- bl_ui/properties_data_curves/__init__.pyi +6 -6
- bl_ui/properties_data_gpencil/__init__.pyi +12 -12
- bl_ui/properties_data_grease_pencil/__init__.pyi +18 -18
- bl_ui/properties_data_mesh/__init__.pyi +24 -24
- bl_ui/properties_data_modifier/__init__.pyi +42 -42
- bl_ui/properties_data_pointcloud/__init__.pyi +6 -6
- bl_ui/properties_freestyle/__init__.pyi +6 -6
- bl_ui/properties_grease_pencil_common/__init__.pyi +72 -72
- bl_ui/properties_mask_common/__init__.pyi +36 -36
- bl_ui/properties_material/__init__.pyi +6 -6
- bl_ui/properties_material_gpencil/__init__.pyi +12 -12
- bl_ui/properties_object/__init__.pyi +6 -6
- bl_ui/properties_output/__init__.pyi +18 -18
- bl_ui/properties_paint_common/__init__.pyi +6 -6
- bl_ui/properties_particle/__init__.pyi +12 -12
- bl_ui/properties_physics_cloth/__init__.pyi +6 -6
- bl_ui/properties_physics_fluid/__init__.pyi +6 -6
- bl_ui/properties_render/__init__.pyi +7 -7
- bl_ui/properties_texture/__init__.pyi +6 -6
- bl_ui/properties_view_layer/__init__.pyi +6 -6
- bl_ui/space_clip/__init__.pyi +186 -186
- bl_ui/space_console/__init__.pyi +30 -30
- bl_ui/space_dopesheet/__init__.pyi +84 -84
- bl_ui/space_filebrowser/__init__.pyi +78 -78
- bl_ui/space_graph/__init__.pyi +96 -96
- bl_ui/space_image/__init__.pyi +138 -138
- bl_ui/space_info/__init__.pyi +30 -30
- bl_ui/space_nla/__init__.pyi +78 -78
- bl_ui/space_node/__init__.pyi +72 -72
- bl_ui/space_outliner/__init__.pyi +72 -72
- bl_ui/space_sequencer/__init__.pyi +204 -204
- bl_ui/space_text/__init__.pyi +72 -72
- bl_ui/space_time/__init__.pyi +24 -24
- bl_ui/space_toolsystem_toolbar/__init__.pyi +4 -0
- bl_ui/space_topbar/__init__.pyi +114 -114
- bl_ui/space_userpref/__init__.pyi +36 -36
- bl_ui/space_view3d/__init__.pyi +1446 -1176
- bl_ui/space_view3d_toolbar/__init__.pyi +30 -30
- bl_ui/utils/__init__.pyi +6 -6
- bmesh/geometry/__init__.pyi +2 -2
- bmesh/ops/__init__.pyi +55 -54
- bmesh/types/__init__.pyi +43 -33
- bmesh/utils/__init__.pyi +2 -2
- bpy/app/__init__.pyi +5 -1
- bpy/app/handlers/__init__.pyi +37 -37
- bpy/app/icons/__init__.pyi +4 -4
- bpy/app/timers/__init__.pyi +6 -6
- bpy/ops/action/__init__.pyi +21 -0
- bpy/ops/anim/__init__.pyi +34 -0
- bpy/ops/armature/__init__.pyi +31 -0
- bpy/ops/asset/__init__.pyi +5 -0
- bpy/ops/bl_pkg/__init__.pyi +32 -21
- bpy/ops/boid/__init__.pyi +1 -0
- bpy/ops/brush/__init__.pyi +6 -0
- bpy/ops/buttons/__init__.pyi +2 -0
- bpy/ops/cachefile/__init__.pyi +3 -0
- bpy/ops/camera/__init__.pyi +2 -0
- bpy/ops/clip/__init__.pyi +49 -0
- bpy/ops/cloth/__init__.pyi +1 -0
- bpy/ops/collection/__init__.pyi +7 -0
- bpy/ops/console/__init__.pyi +11 -0
- bpy/ops/constraint/__init__.pyi +15 -0
- bpy/ops/curve/__init__.pyi +28 -0
- bpy/ops/curves/__init__.pyi +14 -0
- bpy/ops/cycles/__init__.pyi +2 -0
- bpy/ops/dpaint/__init__.pyi +2 -0
- bpy/ops/ed/__init__.pyi +3 -0
- bpy/ops/export_anim/__init__.pyi +1 -0
- bpy/ops/export_scene/__init__.pyi +20 -3
- bpy/ops/file/__init__.pyi +14 -0
- bpy/ops/fluid/__init__.pyi +1 -0
- bpy/ops/font/__init__.pyi +13 -0
- bpy/ops/geometry/__init__.pyi +7 -0
- bpy/ops/gizmogroup/__init__.pyi +1 -0
- bpy/ops/gpencil/__init__.pyi +106 -0
- bpy/ops/graph/__init__.pyi +47 -0
- bpy/ops/grease_pencil/__init__.pyi +52 -0
- bpy/ops/image/__init__.pyi +308 -0
- bpy/ops/import_anim/__init__.pyi +1 -0
- bpy/ops/import_curve/__init__.pyi +1 -0
- bpy/ops/import_scene/__init__.pyi +2 -0
- bpy/ops/info/__init__.pyi +3 -0
- bpy/ops/lattice/__init__.pyi +5 -0
- bpy/ops/marker/__init__.pyi +9 -0
- bpy/ops/mask/__init__.pyi +22 -0
- bpy/ops/mball/__init__.pyi +7 -0
- bpy/ops/mesh/__init__.pyi +134 -0
- bpy/ops/nla/__init__.pyi +20 -0
- bpy/ops/node/__init__.pyi +65 -0
- bpy/ops/object/__init__.pyi +174 -0
- bpy/ops/outliner/__init__.pyi +25 -0
- bpy/ops/paint/__init__.pyi +105 -0
- bpy/ops/paintcurve/__init__.pyi +4 -0
- bpy/ops/palette/__init__.pyi +4 -0
- bpy/ops/particle/__init__.pyi +17 -0
- bpy/ops/pose/__init__.pyi +24 -0
- bpy/ops/poselib/__init__.pyi +4 -0
- bpy/ops/preferences/__init__.pyi +28 -16
- bpy/ops/ptcache/__init__.pyi +2 -0
- bpy/ops/render/__init__.pyi +9 -0
- bpy/ops/rigidbody/__init__.pyi +7 -0
- bpy/ops/scene/__init__.pyi +16 -0
- bpy/ops/screen/__init__.pyi +21 -0
- bpy/ops/script/__init__.pyi +2 -0
- bpy/ops/sculpt/__init__.pyi +151 -0
- bpy/ops/sculpt_curves/__init__.pyi +3 -0
- bpy/ops/sequencer/__init__.pyi +57 -0
- bpy/ops/sound/__init__.pyi +4 -0
- bpy/ops/spreadsheet/__init__.pyi +2 -0
- bpy/ops/surface/__init__.pyi +6 -0
- bpy/ops/text/__init__.pyi +18 -0
- bpy/ops/text_editor/__init__.pyi +1 -0
- bpy/ops/texture/__init__.pyi +1 -0
- bpy/ops/transform/__init__.pyi +25 -0
- bpy/ops/ui/__init__.pyi +13 -0
- bpy/ops/uilist/__init__.pyi +3 -0
- bpy/ops/uv/__init__.pyi +40 -0
- bpy/ops/view2d/__init__.pyi +11 -0
- bpy/ops/view3d/__init__.pyi +30 -0
- bpy/ops/wm/__init__.pyi +114 -0
- bpy/ops/workspace/__init__.pyi +1 -0
- bpy/path/__init__.pyi +6 -6
- bpy/props/__init__.pyi +27 -15
- bpy/types/__init__.pyi +662 -388
- bpy/utils/__init__.pyi +12 -10
- bpy_extras/anim_utils/__init__.pyi +7 -7
- bpy_extras/io_utils/__init__.pyi +4 -4
- bpy_extras/mesh_utils/__init__.pyi +4 -4
- bpy_extras/object_utils/__init__.pyi +8 -8
- bpy_extras/view3d_utils/__init__.pyi +2 -0
- bpy_types/__init__.pyi +12 -12
- {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/RECORD +167 -163
- freestyle/shaders/__init__.pyi +2 -2
- freestyle/types/__init__.pyi +64 -56
- gpu/matrix/__init__.pyi +6 -6
- gpu/types/__init__.pyi +14 -10
- gpu_extras/batch/__init__.pyi +1 -1
- gpu_extras/presets/__init__.pyi +1 -1
- imbuf/__init__.pyi +2 -2
- mathutils/__init__.pyi +176 -137
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/geometry/__init__.pyi +139 -139
- mathutils/kdtree/__init__.pyi +14 -10
- mathutils/noise/__init__.pyi +26 -26
- {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240524.dist-info → fake_bpy_module-20240529.dist-info}/top_level.txt +0 -0
|
@@ -4855,220 +4855,6 @@ class PREFERENCES_OT_studiolight_new(bpy_types.Operator):
|
|
|
4855
4855
|
"""
|
|
4856
4856
|
...
|
|
4857
4857
|
|
|
4858
|
-
class PREFERENCES_OT_studiolight_show(bpy_types.Operator):
|
|
4859
|
-
"""Show light preferences"""
|
|
4860
|
-
|
|
4861
|
-
bl_idname: typing.Any
|
|
4862
|
-
bl_label: typing.Any
|
|
4863
|
-
bl_options: typing.Any
|
|
4864
|
-
bl_rna: typing.Any
|
|
4865
|
-
id_data: typing.Any
|
|
4866
|
-
|
|
4867
|
-
def as_keywords(self, ignore=()):
|
|
4868
|
-
"""Return a copy of the properties as a dictionary
|
|
4869
|
-
|
|
4870
|
-
:param ignore:
|
|
4871
|
-
"""
|
|
4872
|
-
...
|
|
4873
|
-
|
|
4874
|
-
def as_pointer(self) -> int:
|
|
4875
|
-
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
4876
|
-
|
|
4877
|
-
:return: int (memory address).
|
|
4878
|
-
:rtype: int
|
|
4879
|
-
"""
|
|
4880
|
-
...
|
|
4881
|
-
|
|
4882
|
-
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
4883
|
-
"""
|
|
4884
|
-
|
|
4885
|
-
:return: The RNA type or default when not found.
|
|
4886
|
-
:rtype: bpy.types.Struct
|
|
4887
|
-
"""
|
|
4888
|
-
...
|
|
4889
|
-
|
|
4890
|
-
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
4891
|
-
"""
|
|
4892
|
-
|
|
4893
|
-
:return: The class or default when not found.
|
|
4894
|
-
:rtype: typing.Any
|
|
4895
|
-
"""
|
|
4896
|
-
...
|
|
4897
|
-
|
|
4898
|
-
def driver_add(self) -> bpy.types.FCurve:
|
|
4899
|
-
"""Adds driver(s) to the given property
|
|
4900
|
-
|
|
4901
|
-
:return: The driver(s) added.
|
|
4902
|
-
:rtype: bpy.types.FCurve
|
|
4903
|
-
"""
|
|
4904
|
-
...
|
|
4905
|
-
|
|
4906
|
-
def driver_remove(self) -> bool:
|
|
4907
|
-
"""Remove driver(s) from the given property
|
|
4908
|
-
|
|
4909
|
-
:return: Success of driver removal.
|
|
4910
|
-
:rtype: bool
|
|
4911
|
-
"""
|
|
4912
|
-
...
|
|
4913
|
-
|
|
4914
|
-
def execute(self, context):
|
|
4915
|
-
"""
|
|
4916
|
-
|
|
4917
|
-
:param context:
|
|
4918
|
-
"""
|
|
4919
|
-
...
|
|
4920
|
-
|
|
4921
|
-
def get(self):
|
|
4922
|
-
"""Returns the value of the custom property assigned to key or default
|
|
4923
|
-
when not found (matches Python's dictionary function of the same name).
|
|
4924
|
-
|
|
4925
|
-
"""
|
|
4926
|
-
...
|
|
4927
|
-
|
|
4928
|
-
def id_properties_clear(self):
|
|
4929
|
-
"""
|
|
4930
|
-
|
|
4931
|
-
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
4932
|
-
"""
|
|
4933
|
-
...
|
|
4934
|
-
|
|
4935
|
-
def id_properties_ensure(self):
|
|
4936
|
-
"""
|
|
4937
|
-
|
|
4938
|
-
:return: the parent group for an RNA struct's custom IDProperties.
|
|
4939
|
-
"""
|
|
4940
|
-
...
|
|
4941
|
-
|
|
4942
|
-
def id_properties_ui(self):
|
|
4943
|
-
"""
|
|
4944
|
-
|
|
4945
|
-
:return: Return an object used to manage an IDProperty's UI data.
|
|
4946
|
-
"""
|
|
4947
|
-
...
|
|
4948
|
-
|
|
4949
|
-
def is_property_hidden(self) -> bool:
|
|
4950
|
-
"""Check if a property is hidden.
|
|
4951
|
-
|
|
4952
|
-
:return: True when the property is hidden.
|
|
4953
|
-
:rtype: bool
|
|
4954
|
-
"""
|
|
4955
|
-
...
|
|
4956
|
-
|
|
4957
|
-
def is_property_overridable_library(self) -> bool:
|
|
4958
|
-
"""Check if a property is overridable.
|
|
4959
|
-
|
|
4960
|
-
:return: True when the property is overridable.
|
|
4961
|
-
:rtype: bool
|
|
4962
|
-
"""
|
|
4963
|
-
...
|
|
4964
|
-
|
|
4965
|
-
def is_property_readonly(self) -> bool:
|
|
4966
|
-
"""Check if a property is readonly.
|
|
4967
|
-
|
|
4968
|
-
:return: True when the property is readonly (not writable).
|
|
4969
|
-
:rtype: bool
|
|
4970
|
-
"""
|
|
4971
|
-
...
|
|
4972
|
-
|
|
4973
|
-
def is_property_set(self) -> bool:
|
|
4974
|
-
"""Check if a property is set, use for testing operator properties.
|
|
4975
|
-
|
|
4976
|
-
:return: True when the property has been set.
|
|
4977
|
-
:rtype: bool
|
|
4978
|
-
"""
|
|
4979
|
-
...
|
|
4980
|
-
|
|
4981
|
-
def items(self):
|
|
4982
|
-
"""Returns the items of this objects custom properties (matches Python's
|
|
4983
|
-
dictionary function of the same name).
|
|
4984
|
-
|
|
4985
|
-
:return: custom property key, value pairs.
|
|
4986
|
-
"""
|
|
4987
|
-
...
|
|
4988
|
-
|
|
4989
|
-
def keyframe_delete(self) -> bool:
|
|
4990
|
-
"""Remove a keyframe from this properties fcurve.
|
|
4991
|
-
|
|
4992
|
-
:return: Success of keyframe deletion.
|
|
4993
|
-
:rtype: bool
|
|
4994
|
-
"""
|
|
4995
|
-
...
|
|
4996
|
-
|
|
4997
|
-
def keyframe_insert(self) -> bool:
|
|
4998
|
-
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
4999
|
-
|
|
5000
|
-
:return: Success of keyframe insertion.
|
|
5001
|
-
:rtype: bool
|
|
5002
|
-
"""
|
|
5003
|
-
...
|
|
5004
|
-
|
|
5005
|
-
def keys(self):
|
|
5006
|
-
"""Returns the keys of this objects custom properties (matches Python's
|
|
5007
|
-
dictionary function of the same name).
|
|
5008
|
-
|
|
5009
|
-
:return: custom property keys.
|
|
5010
|
-
"""
|
|
5011
|
-
...
|
|
5012
|
-
|
|
5013
|
-
def path_from_id(self) -> str:
|
|
5014
|
-
"""Returns the data path from the ID to this object (string).
|
|
5015
|
-
|
|
5016
|
-
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
5017
|
-
to this struct and property (when given).
|
|
5018
|
-
:rtype: str
|
|
5019
|
-
"""
|
|
5020
|
-
...
|
|
5021
|
-
|
|
5022
|
-
def path_resolve(self):
|
|
5023
|
-
"""Returns the property from the path, raise an exception when not found."""
|
|
5024
|
-
...
|
|
5025
|
-
|
|
5026
|
-
def poll(self, _context):
|
|
5027
|
-
"""
|
|
5028
|
-
|
|
5029
|
-
:param _context:
|
|
5030
|
-
"""
|
|
5031
|
-
...
|
|
5032
|
-
|
|
5033
|
-
def poll_message_set(self):
|
|
5034
|
-
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
5035
|
-
...
|
|
5036
|
-
|
|
5037
|
-
def pop(self):
|
|
5038
|
-
"""Remove and return the value of the custom property assigned to key or default
|
|
5039
|
-
when not found (matches Python's dictionary function of the same name).
|
|
5040
|
-
|
|
5041
|
-
"""
|
|
5042
|
-
...
|
|
5043
|
-
|
|
5044
|
-
def property_overridable_library_set(self) -> bool:
|
|
5045
|
-
"""Define a property as overridable or not (only for custom properties!).
|
|
5046
|
-
|
|
5047
|
-
:return: True when the overridable status of the property was successfully set.
|
|
5048
|
-
:rtype: bool
|
|
5049
|
-
"""
|
|
5050
|
-
...
|
|
5051
|
-
|
|
5052
|
-
def property_unset(self):
|
|
5053
|
-
"""Unset a property, will use default value afterward."""
|
|
5054
|
-
...
|
|
5055
|
-
|
|
5056
|
-
def type_recast(self):
|
|
5057
|
-
"""Return a new instance, this is needed because types
|
|
5058
|
-
such as textures can be changed at runtime.
|
|
5059
|
-
|
|
5060
|
-
:return: a new instance of this object with the type initialized again.
|
|
5061
|
-
"""
|
|
5062
|
-
...
|
|
5063
|
-
|
|
5064
|
-
def values(self):
|
|
5065
|
-
"""Returns the values of this objects custom properties (matches Python's
|
|
5066
|
-
dictionary function of the same name).
|
|
5067
|
-
|
|
5068
|
-
:return: custom property values.
|
|
5069
|
-
"""
|
|
5070
|
-
...
|
|
5071
|
-
|
|
5072
4858
|
class PREFERENCES_OT_studiolight_uninstall(bpy_types.Operator):
|
|
5073
4859
|
"""Delete Studio Light"""
|
|
5074
4860
|
|
bl_operators/wm/__init__.pyi
CHANGED
|
@@ -377,10 +377,10 @@ class WM_MT_region_toggle_pie(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
377
377
|
searchpaths: list[str],
|
|
378
378
|
operator: str,
|
|
379
379
|
props_default: dict = None,
|
|
380
|
-
prop_filepath: str = "filepath",
|
|
381
|
-
filter_ext:
|
|
380
|
+
prop_filepath: str | None = "filepath",
|
|
381
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
382
382
|
filter_path=None,
|
|
383
|
-
display_name:
|
|
383
|
+
display_name: collections.abc.Callable | None = None,
|
|
384
384
|
add_operator=None,
|
|
385
385
|
add_operator_props=None,
|
|
386
386
|
):
|
|
@@ -393,14 +393,14 @@ class WM_MT_region_toggle_pie(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
393
393
|
:param props_default: Properties to assign to each operator.
|
|
394
394
|
:type props_default: dict
|
|
395
395
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
396
|
-
:type prop_filepath: str
|
|
396
|
+
:type prop_filepath: str | None
|
|
397
397
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
398
398
|
|
|
399
399
|
Returning false excludes the file from the list.
|
|
400
|
-
:type filter_ext:
|
|
400
|
+
:type filter_ext: collections.abc.Callable | None
|
|
401
401
|
:param filter_path:
|
|
402
402
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
403
|
-
:type display_name:
|
|
403
|
+
:type display_name: collections.abc.Callable | None
|
|
404
404
|
:param add_operator:
|
|
405
405
|
:param add_operator_props:
|
|
406
406
|
"""
|
|
@@ -654,10 +654,10 @@ class WM_MT_splash(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
654
654
|
searchpaths: list[str],
|
|
655
655
|
operator: str,
|
|
656
656
|
props_default: dict = None,
|
|
657
|
-
prop_filepath: str = "filepath",
|
|
658
|
-
filter_ext:
|
|
657
|
+
prop_filepath: str | None = "filepath",
|
|
658
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
659
659
|
filter_path=None,
|
|
660
|
-
display_name:
|
|
660
|
+
display_name: collections.abc.Callable | None = None,
|
|
661
661
|
add_operator=None,
|
|
662
662
|
add_operator_props=None,
|
|
663
663
|
):
|
|
@@ -670,14 +670,14 @@ class WM_MT_splash(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
670
670
|
:param props_default: Properties to assign to each operator.
|
|
671
671
|
:type props_default: dict
|
|
672
672
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
673
|
-
:type prop_filepath: str
|
|
673
|
+
:type prop_filepath: str | None
|
|
674
674
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
675
675
|
|
|
676
676
|
Returning false excludes the file from the list.
|
|
677
|
-
:type filter_ext:
|
|
677
|
+
:type filter_ext: collections.abc.Callable | None
|
|
678
678
|
:param filter_path:
|
|
679
679
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
680
|
-
:type display_name:
|
|
680
|
+
:type display_name: collections.abc.Callable | None
|
|
681
681
|
:param add_operator:
|
|
682
682
|
:param add_operator_props:
|
|
683
683
|
"""
|
|
@@ -924,10 +924,10 @@ class WM_MT_splash_about(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
924
924
|
searchpaths: list[str],
|
|
925
925
|
operator: str,
|
|
926
926
|
props_default: dict = None,
|
|
927
|
-
prop_filepath: str = "filepath",
|
|
928
|
-
filter_ext:
|
|
927
|
+
prop_filepath: str | None = "filepath",
|
|
928
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
929
929
|
filter_path=None,
|
|
930
|
-
display_name:
|
|
930
|
+
display_name: collections.abc.Callable | None = None,
|
|
931
931
|
add_operator=None,
|
|
932
932
|
add_operator_props=None,
|
|
933
933
|
):
|
|
@@ -940,14 +940,14 @@ class WM_MT_splash_about(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
940
940
|
:param props_default: Properties to assign to each operator.
|
|
941
941
|
:type props_default: dict
|
|
942
942
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
943
|
-
:type prop_filepath: str
|
|
943
|
+
:type prop_filepath: str | None
|
|
944
944
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
945
945
|
|
|
946
946
|
Returning false excludes the file from the list.
|
|
947
|
-
:type filter_ext:
|
|
947
|
+
:type filter_ext: collections.abc.Callable | None
|
|
948
948
|
:param filter_path:
|
|
949
949
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
950
|
-
:type display_name:
|
|
950
|
+
:type display_name: collections.abc.Callable | None
|
|
951
951
|
:param add_operator:
|
|
952
952
|
:param add_operator_props:
|
|
953
953
|
"""
|
|
@@ -1194,10 +1194,10 @@ class WM_MT_splash_quick_setup(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
1194
1194
|
searchpaths: list[str],
|
|
1195
1195
|
operator: str,
|
|
1196
1196
|
props_default: dict = None,
|
|
1197
|
-
prop_filepath: str = "filepath",
|
|
1198
|
-
filter_ext:
|
|
1197
|
+
prop_filepath: str | None = "filepath",
|
|
1198
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
1199
1199
|
filter_path=None,
|
|
1200
|
-
display_name:
|
|
1200
|
+
display_name: collections.abc.Callable | None = None,
|
|
1201
1201
|
add_operator=None,
|
|
1202
1202
|
add_operator_props=None,
|
|
1203
1203
|
):
|
|
@@ -1210,14 +1210,14 @@ class WM_MT_splash_quick_setup(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
1210
1210
|
:param props_default: Properties to assign to each operator.
|
|
1211
1211
|
:type props_default: dict
|
|
1212
1212
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
1213
|
-
:type prop_filepath: str
|
|
1213
|
+
:type prop_filepath: str | None
|
|
1214
1214
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
1215
1215
|
|
|
1216
1216
|
Returning false excludes the file from the list.
|
|
1217
|
-
:type filter_ext:
|
|
1217
|
+
:type filter_ext: collections.abc.Callable | None
|
|
1218
1218
|
:param filter_path:
|
|
1219
1219
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
1220
|
-
:type display_name:
|
|
1220
|
+
:type display_name: collections.abc.Callable | None
|
|
1221
1221
|
:param add_operator:
|
|
1222
1222
|
:param add_operator_props:
|
|
1223
1223
|
"""
|
bl_ui/__init__.pyi
CHANGED
|
@@ -277,10 +277,10 @@ class UI_MT_button_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
277
277
|
searchpaths: list[str],
|
|
278
278
|
operator: str,
|
|
279
279
|
props_default: dict = None,
|
|
280
|
-
prop_filepath: str = "filepath",
|
|
281
|
-
filter_ext:
|
|
280
|
+
prop_filepath: str | None = "filepath",
|
|
281
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
282
282
|
filter_path=None,
|
|
283
|
-
display_name:
|
|
283
|
+
display_name: collections.abc.Callable | None = None,
|
|
284
284
|
add_operator=None,
|
|
285
285
|
add_operator_props=None,
|
|
286
286
|
):
|
|
@@ -293,14 +293,14 @@ class UI_MT_button_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
293
293
|
:param props_default: Properties to assign to each operator.
|
|
294
294
|
:type props_default: dict
|
|
295
295
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
296
|
-
:type prop_filepath: str
|
|
296
|
+
:type prop_filepath: str | None
|
|
297
297
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
298
298
|
|
|
299
299
|
Returning false excludes the file from the list.
|
|
300
|
-
:type filter_ext:
|
|
300
|
+
:type filter_ext: collections.abc.Callable | None
|
|
301
301
|
:param filter_path:
|
|
302
302
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
303
|
-
:type display_name:
|
|
303
|
+
:type display_name: collections.abc.Callable | None
|
|
304
304
|
:param add_operator:
|
|
305
305
|
:param add_operator_props:
|
|
306
306
|
"""
|
|
@@ -553,10 +553,10 @@ class UI_MT_list_item_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
553
553
|
searchpaths: list[str],
|
|
554
554
|
operator: str,
|
|
555
555
|
props_default: dict = None,
|
|
556
|
-
prop_filepath: str = "filepath",
|
|
557
|
-
filter_ext:
|
|
556
|
+
prop_filepath: str | None = "filepath",
|
|
557
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
558
558
|
filter_path=None,
|
|
559
|
-
display_name:
|
|
559
|
+
display_name: collections.abc.Callable | None = None,
|
|
560
560
|
add_operator=None,
|
|
561
561
|
add_operator_props=None,
|
|
562
562
|
):
|
|
@@ -569,14 +569,14 @@ class UI_MT_list_item_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
569
569
|
:param props_default: Properties to assign to each operator.
|
|
570
570
|
:type props_default: dict
|
|
571
571
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
572
|
-
:type prop_filepath: str
|
|
572
|
+
:type prop_filepath: str | None
|
|
573
573
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
574
574
|
|
|
575
575
|
Returning false excludes the file from the list.
|
|
576
|
-
:type filter_ext:
|
|
576
|
+
:type filter_ext: collections.abc.Callable | None
|
|
577
577
|
:param filter_path:
|
|
578
578
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
579
|
-
:type display_name:
|
|
579
|
+
:type display_name: collections.abc.Callable | None
|
|
580
580
|
:param add_operator:
|
|
581
581
|
:param add_operator_props:
|
|
582
582
|
"""
|
bl_ui/anim/__init__.pyi
CHANGED
|
@@ -193,10 +193,10 @@ class ANIM_MT_keyframe_insert_pie(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
193
193
|
searchpaths: list[str],
|
|
194
194
|
operator: str,
|
|
195
195
|
props_default: dict = None,
|
|
196
|
-
prop_filepath: str = "filepath",
|
|
197
|
-
filter_ext:
|
|
196
|
+
prop_filepath: str | None = "filepath",
|
|
197
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
198
198
|
filter_path=None,
|
|
199
|
-
display_name:
|
|
199
|
+
display_name: collections.abc.Callable | None = None,
|
|
200
200
|
add_operator=None,
|
|
201
201
|
add_operator_props=None,
|
|
202
202
|
):
|
|
@@ -209,14 +209,14 @@ class ANIM_MT_keyframe_insert_pie(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
209
209
|
:param props_default: Properties to assign to each operator.
|
|
210
210
|
:type props_default: dict
|
|
211
211
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
212
|
-
:type prop_filepath: str
|
|
212
|
+
:type prop_filepath: str | None
|
|
213
213
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
214
214
|
|
|
215
215
|
Returning false excludes the file from the list.
|
|
216
|
-
:type filter_ext:
|
|
216
|
+
:type filter_ext: collections.abc.Callable | None
|
|
217
217
|
:param filter_path:
|
|
218
218
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
219
|
-
:type display_name:
|
|
219
|
+
:type display_name: collections.abc.Callable | None
|
|
220
220
|
:param add_operator:
|
|
221
221
|
:param add_operator_props:
|
|
222
222
|
"""
|
|
@@ -724,7 +724,7 @@ class UILIST_OT_entry_remove(GenericUIListOperator, bpy_types.Operator):
|
|
|
724
724
|
|
|
725
725
|
def draw_ui_list(
|
|
726
726
|
layout: bpy.types.UILayout,
|
|
727
|
-
context:
|
|
727
|
+
context: bpy_types.Context,
|
|
728
728
|
class_name: str = "UI_UL_list",
|
|
729
729
|
unique_id: str = None,
|
|
730
730
|
list_path: str = None,
|
|
@@ -739,7 +739,7 @@ def draw_ui_list(
|
|
|
739
739
|
:param layout: UILayout to draw the list in.
|
|
740
740
|
:type layout: bpy.types.UILayout
|
|
741
741
|
:param context: Blender context to get the list data from.
|
|
742
|
-
:type context:
|
|
742
|
+
:type context: bpy_types.Context
|
|
743
743
|
:param class_name: Name of the UIList class to draw. The default is the UIList class that ships with Blender.
|
|
744
744
|
:type class_name: str
|
|
745
745
|
:param unique_id: Unique identifier to differentiate this from other UI lists.
|
bl_ui/node_add_menu/__init__.pyi
CHANGED
|
@@ -194,10 +194,10 @@ class NODE_MT_category_layout(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
194
194
|
searchpaths: list[str],
|
|
195
195
|
operator: str,
|
|
196
196
|
props_default: dict = None,
|
|
197
|
-
prop_filepath: str = "filepath",
|
|
198
|
-
filter_ext:
|
|
197
|
+
prop_filepath: str | None = "filepath",
|
|
198
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
199
199
|
filter_path=None,
|
|
200
|
-
display_name:
|
|
200
|
+
display_name: collections.abc.Callable | None = None,
|
|
201
201
|
add_operator=None,
|
|
202
202
|
add_operator_props=None,
|
|
203
203
|
):
|
|
@@ -210,14 +210,14 @@ class NODE_MT_category_layout(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
210
210
|
:param props_default: Properties to assign to each operator.
|
|
211
211
|
:type props_default: dict
|
|
212
212
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
213
|
-
:type prop_filepath: str
|
|
213
|
+
:type prop_filepath: str | None
|
|
214
214
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
215
215
|
|
|
216
216
|
Returning false excludes the file from the list.
|
|
217
|
-
:type filter_ext:
|
|
217
|
+
:type filter_ext: collections.abc.Callable | None
|
|
218
218
|
:param filter_path:
|
|
219
219
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
220
|
-
:type display_name:
|
|
220
|
+
:type display_name: collections.abc.Callable | None
|
|
221
221
|
:param add_operator:
|
|
222
222
|
:param add_operator_props:
|
|
223
223
|
"""
|