fake-bpy-module 20240528__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 +2 -0
- bl_operators/connect_to_output/__init__.pyi +325 -0
- bl_operators/image_as_planes/__init__.pyi +11 -5
- 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/wm/__init__.pyi +24 -24
- bl_ui/__init__.pyi +12 -12
- bl_ui/anim/__init__.pyi +6 -6
- 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 +6 -6
- 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/handlers/__init__.pyi +37 -37
- bpy/app/icons/__init__.pyi +4 -4
- bpy/app/timers/__init__.pyi +6 -6
- bpy/ops/bl_pkg/__init__.pyi +4 -4
- bpy/ops/image/__init__.pyi +55 -55
- bpy/ops/node/__init__.pyi +18 -0
- bpy/ops/paint/__init__.pyi +66 -0
- bpy/ops/preferences/__init__.pyi +2 -2
- bpy/ops/sculpt/__init__.pyi +126 -0
- bpy/props/__init__.pyi +16 -14
- bpy/types/__init__.pyi +269 -54
- bpy/utils/__init__.pyi +2 -2
- bpy_extras/anim_utils/__init__.pyi +4 -4
- 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_types/__init__.pyi +12 -12
- {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/RECORD +92 -89
- freestyle/shaders/__init__.pyi +2 -2
- freestyle/types/__init__.pyi +64 -56
- gpu/matrix/__init__.pyi +6 -6
- gpu/types/__init__.pyi +10 -8
- 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-20240528.dist-info → fake_bpy_module-20240529.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240528.dist-info → fake_bpy_module-20240529.dist-info}/top_level.txt +0 -0
|
@@ -195,10 +195,10 @@ class ARMATURE_MT_collection_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
195
195
|
searchpaths: list[str],
|
|
196
196
|
operator: str,
|
|
197
197
|
props_default: dict = None,
|
|
198
|
-
prop_filepath: str = "filepath",
|
|
199
|
-
filter_ext:
|
|
198
|
+
prop_filepath: str | None = "filepath",
|
|
199
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
200
200
|
filter_path=None,
|
|
201
|
-
display_name:
|
|
201
|
+
display_name: collections.abc.Callable | None = None,
|
|
202
202
|
add_operator=None,
|
|
203
203
|
add_operator_props=None,
|
|
204
204
|
):
|
|
@@ -211,14 +211,14 @@ class ARMATURE_MT_collection_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
211
211
|
:param props_default: Properties to assign to each operator.
|
|
212
212
|
:type props_default: dict
|
|
213
213
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
214
|
-
:type prop_filepath: str
|
|
214
|
+
:type prop_filepath: str | None
|
|
215
215
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
216
216
|
|
|
217
217
|
Returning false excludes the file from the list.
|
|
218
|
-
:type filter_ext:
|
|
218
|
+
:type filter_ext: collections.abc.Callable | None
|
|
219
219
|
:param filter_path:
|
|
220
220
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
221
|
-
:type display_name:
|
|
221
|
+
:type display_name: collections.abc.Callable | None
|
|
222
222
|
:param add_operator:
|
|
223
223
|
:param add_operator_props:
|
|
224
224
|
"""
|
|
@@ -465,10 +465,10 @@ class ARMATURE_MT_collection_tree_context_menu(bpy_types.Menu, bpy_types._Generi
|
|
|
465
465
|
searchpaths: list[str],
|
|
466
466
|
operator: str,
|
|
467
467
|
props_default: dict = None,
|
|
468
|
-
prop_filepath: str = "filepath",
|
|
469
|
-
filter_ext:
|
|
468
|
+
prop_filepath: str | None = "filepath",
|
|
469
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
470
470
|
filter_path=None,
|
|
471
|
-
display_name:
|
|
471
|
+
display_name: collections.abc.Callable | None = None,
|
|
472
472
|
add_operator=None,
|
|
473
473
|
add_operator_props=None,
|
|
474
474
|
):
|
|
@@ -481,14 +481,14 @@ class ARMATURE_MT_collection_tree_context_menu(bpy_types.Menu, bpy_types._Generi
|
|
|
481
481
|
:param props_default: Properties to assign to each operator.
|
|
482
482
|
:type props_default: dict
|
|
483
483
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
484
|
-
:type prop_filepath: str
|
|
484
|
+
:type prop_filepath: str | None
|
|
485
485
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
486
486
|
|
|
487
487
|
Returning false excludes the file from the list.
|
|
488
|
-
:type filter_ext:
|
|
488
|
+
:type filter_ext: collections.abc.Callable | None
|
|
489
489
|
:param filter_path:
|
|
490
490
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
491
|
-
:type display_name:
|
|
491
|
+
:type display_name: collections.abc.Callable | None
|
|
492
492
|
:param add_operator:
|
|
493
493
|
:param add_operator_props:
|
|
494
494
|
"""
|
|
@@ -196,10 +196,10 @@ class CAMERA_PT_presets(bpy_types.Panel, bl_ui.utils.PresetPanel, bpy_types._Gen
|
|
|
196
196
|
searchpaths: list[str],
|
|
197
197
|
operator: str,
|
|
198
198
|
props_default: dict = None,
|
|
199
|
-
prop_filepath: str = "filepath",
|
|
200
|
-
filter_ext:
|
|
199
|
+
prop_filepath: str | None = "filepath",
|
|
200
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
201
201
|
filter_path=None,
|
|
202
|
-
display_name:
|
|
202
|
+
display_name: collections.abc.Callable | None = None,
|
|
203
203
|
add_operator=None,
|
|
204
204
|
add_operator_props=None,
|
|
205
205
|
):
|
|
@@ -212,14 +212,14 @@ class CAMERA_PT_presets(bpy_types.Panel, bl_ui.utils.PresetPanel, bpy_types._Gen
|
|
|
212
212
|
:param props_default: Properties to assign to each operator.
|
|
213
213
|
:type props_default: dict
|
|
214
214
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
215
|
-
:type prop_filepath: str
|
|
215
|
+
:type prop_filepath: str | None
|
|
216
216
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
217
217
|
|
|
218
218
|
Returning false excludes the file from the list.
|
|
219
|
-
:type filter_ext:
|
|
219
|
+
:type filter_ext: collections.abc.Callable | None
|
|
220
220
|
:param filter_path:
|
|
221
221
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
222
|
-
:type display_name:
|
|
222
|
+
:type display_name: collections.abc.Callable | None
|
|
223
223
|
:param add_operator:
|
|
224
224
|
:param add_operator_props:
|
|
225
225
|
"""
|
|
@@ -469,10 +469,10 @@ class CAMERA_PT_safe_areas_presets(
|
|
|
469
469
|
searchpaths: list[str],
|
|
470
470
|
operator: str,
|
|
471
471
|
props_default: dict = None,
|
|
472
|
-
prop_filepath: str = "filepath",
|
|
473
|
-
filter_ext:
|
|
472
|
+
prop_filepath: str | None = "filepath",
|
|
473
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
474
474
|
filter_path=None,
|
|
475
|
-
display_name:
|
|
475
|
+
display_name: collections.abc.Callable | None = None,
|
|
476
476
|
add_operator=None,
|
|
477
477
|
add_operator_props=None,
|
|
478
478
|
):
|
|
@@ -485,14 +485,14 @@ class CAMERA_PT_safe_areas_presets(
|
|
|
485
485
|
:param props_default: Properties to assign to each operator.
|
|
486
486
|
:type props_default: dict
|
|
487
487
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
488
|
-
:type prop_filepath: str
|
|
488
|
+
:type prop_filepath: str | None
|
|
489
489
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
490
490
|
|
|
491
491
|
Returning false excludes the file from the list.
|
|
492
|
-
:type filter_ext:
|
|
492
|
+
:type filter_ext: collections.abc.Callable | None
|
|
493
493
|
:param filter_path:
|
|
494
494
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
495
|
-
:type display_name:
|
|
495
|
+
:type display_name: collections.abc.Callable | None
|
|
496
496
|
:param add_operator:
|
|
497
497
|
:param add_operator_props:
|
|
498
498
|
"""
|
|
@@ -205,10 +205,10 @@ class CURVES_MT_add_attribute(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
205
205
|
searchpaths: list[str],
|
|
206
206
|
operator: str,
|
|
207
207
|
props_default: dict = None,
|
|
208
|
-
prop_filepath: str = "filepath",
|
|
209
|
-
filter_ext:
|
|
208
|
+
prop_filepath: str | None = "filepath",
|
|
209
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
210
210
|
filter_path=None,
|
|
211
|
-
display_name:
|
|
211
|
+
display_name: collections.abc.Callable | None = None,
|
|
212
212
|
add_operator=None,
|
|
213
213
|
add_operator_props=None,
|
|
214
214
|
):
|
|
@@ -221,14 +221,14 @@ class CURVES_MT_add_attribute(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
221
221
|
:param props_default: Properties to assign to each operator.
|
|
222
222
|
:type props_default: dict
|
|
223
223
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
224
|
-
:type prop_filepath: str
|
|
224
|
+
:type prop_filepath: str | None
|
|
225
225
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
226
226
|
|
|
227
227
|
Returning false excludes the file from the list.
|
|
228
|
-
:type filter_ext:
|
|
228
|
+
:type filter_ext: collections.abc.Callable | None
|
|
229
229
|
:param filter_path:
|
|
230
230
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
231
|
-
:type display_name:
|
|
231
|
+
:type display_name: collections.abc.Callable | None
|
|
232
232
|
:param add_operator:
|
|
233
233
|
:param add_operator_props:
|
|
234
234
|
"""
|
|
@@ -231,10 +231,10 @@ class GPENCIL_MT_gpencil_vertex_group(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
231
231
|
searchpaths: list[str],
|
|
232
232
|
operator: str,
|
|
233
233
|
props_default: dict = None,
|
|
234
|
-
prop_filepath: str = "filepath",
|
|
235
|
-
filter_ext:
|
|
234
|
+
prop_filepath: str | None = "filepath",
|
|
235
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
236
236
|
filter_path=None,
|
|
237
|
-
display_name:
|
|
237
|
+
display_name: collections.abc.Callable | None = None,
|
|
238
238
|
add_operator=None,
|
|
239
239
|
add_operator_props=None,
|
|
240
240
|
):
|
|
@@ -247,14 +247,14 @@ class GPENCIL_MT_gpencil_vertex_group(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
247
247
|
:param props_default: Properties to assign to each operator.
|
|
248
248
|
:type props_default: dict
|
|
249
249
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
250
|
-
:type prop_filepath: str
|
|
250
|
+
:type prop_filepath: str | None
|
|
251
251
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
252
252
|
|
|
253
253
|
Returning false excludes the file from the list.
|
|
254
|
-
:type filter_ext:
|
|
254
|
+
:type filter_ext: collections.abc.Callable | None
|
|
255
255
|
:param filter_path:
|
|
256
256
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
257
|
-
:type display_name:
|
|
257
|
+
:type display_name: collections.abc.Callable | None
|
|
258
258
|
:param add_operator:
|
|
259
259
|
:param add_operator_props:
|
|
260
260
|
"""
|
|
@@ -501,10 +501,10 @@ class GPENCIL_MT_layer_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
501
501
|
searchpaths: list[str],
|
|
502
502
|
operator: str,
|
|
503
503
|
props_default: dict = None,
|
|
504
|
-
prop_filepath: str = "filepath",
|
|
505
|
-
filter_ext:
|
|
504
|
+
prop_filepath: str | None = "filepath",
|
|
505
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
506
506
|
filter_path=None,
|
|
507
|
-
display_name:
|
|
507
|
+
display_name: collections.abc.Callable | None = None,
|
|
508
508
|
add_operator=None,
|
|
509
509
|
add_operator_props=None,
|
|
510
510
|
):
|
|
@@ -517,14 +517,14 @@ class GPENCIL_MT_layer_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
517
517
|
:param props_default: Properties to assign to each operator.
|
|
518
518
|
:type props_default: dict
|
|
519
519
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
520
|
-
:type prop_filepath: str
|
|
520
|
+
:type prop_filepath: str | None
|
|
521
521
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
522
522
|
|
|
523
523
|
Returning false excludes the file from the list.
|
|
524
|
-
:type filter_ext:
|
|
524
|
+
:type filter_ext: collections.abc.Callable | None
|
|
525
525
|
:param filter_path:
|
|
526
526
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
527
|
-
:type display_name:
|
|
527
|
+
:type display_name: collections.abc.Callable | None
|
|
528
528
|
:param add_operator:
|
|
529
529
|
:param add_operator_props:
|
|
530
530
|
"""
|
|
@@ -251,10 +251,10 @@ class GREASE_PENCIL_MT_grease_pencil_add_layer_extra(
|
|
|
251
251
|
searchpaths: list[str],
|
|
252
252
|
operator: str,
|
|
253
253
|
props_default: dict = None,
|
|
254
|
-
prop_filepath: str = "filepath",
|
|
255
|
-
filter_ext:
|
|
254
|
+
prop_filepath: str | None = "filepath",
|
|
255
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
256
256
|
filter_path=None,
|
|
257
|
-
display_name:
|
|
257
|
+
display_name: collections.abc.Callable | None = None,
|
|
258
258
|
add_operator=None,
|
|
259
259
|
add_operator_props=None,
|
|
260
260
|
):
|
|
@@ -267,14 +267,14 @@ class GREASE_PENCIL_MT_grease_pencil_add_layer_extra(
|
|
|
267
267
|
:param props_default: Properties to assign to each operator.
|
|
268
268
|
:type props_default: dict
|
|
269
269
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
270
|
-
:type prop_filepath: str
|
|
270
|
+
:type prop_filepath: str | None
|
|
271
271
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
272
272
|
|
|
273
273
|
Returning false excludes the file from the list.
|
|
274
|
-
:type filter_ext:
|
|
274
|
+
:type filter_ext: collections.abc.Callable | None
|
|
275
275
|
:param filter_path:
|
|
276
276
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
277
|
-
:type display_name:
|
|
277
|
+
:type display_name: collections.abc.Callable | None
|
|
278
278
|
:param add_operator:
|
|
279
279
|
:param add_operator_props:
|
|
280
280
|
"""
|
|
@@ -521,10 +521,10 @@ class GREASE_PENCIL_MT_group_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
521
521
|
searchpaths: list[str],
|
|
522
522
|
operator: str,
|
|
523
523
|
props_default: dict = None,
|
|
524
|
-
prop_filepath: str = "filepath",
|
|
525
|
-
filter_ext:
|
|
524
|
+
prop_filepath: str | None = "filepath",
|
|
525
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
526
526
|
filter_path=None,
|
|
527
|
-
display_name:
|
|
527
|
+
display_name: collections.abc.Callable | None = None,
|
|
528
528
|
add_operator=None,
|
|
529
529
|
add_operator_props=None,
|
|
530
530
|
):
|
|
@@ -537,14 +537,14 @@ class GREASE_PENCIL_MT_group_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
537
537
|
:param props_default: Properties to assign to each operator.
|
|
538
538
|
:type props_default: dict
|
|
539
539
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
540
|
-
:type prop_filepath: str
|
|
540
|
+
:type prop_filepath: str | None
|
|
541
541
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
542
542
|
|
|
543
543
|
Returning false excludes the file from the list.
|
|
544
|
-
:type filter_ext:
|
|
544
|
+
:type filter_ext: collections.abc.Callable | None
|
|
545
545
|
:param filter_path:
|
|
546
546
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
547
|
-
:type display_name:
|
|
547
|
+
:type display_name: collections.abc.Callable | None
|
|
548
548
|
:param add_operator:
|
|
549
549
|
:param add_operator_props:
|
|
550
550
|
"""
|
|
@@ -791,10 +791,10 @@ class GREASE_PENCIL_MT_layer_mask_add(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
791
791
|
searchpaths: list[str],
|
|
792
792
|
operator: str,
|
|
793
793
|
props_default: dict = None,
|
|
794
|
-
prop_filepath: str = "filepath",
|
|
795
|
-
filter_ext:
|
|
794
|
+
prop_filepath: str | None = "filepath",
|
|
795
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
796
796
|
filter_path=None,
|
|
797
|
-
display_name:
|
|
797
|
+
display_name: collections.abc.Callable | None = None,
|
|
798
798
|
add_operator=None,
|
|
799
799
|
add_operator_props=None,
|
|
800
800
|
):
|
|
@@ -807,14 +807,14 @@ class GREASE_PENCIL_MT_layer_mask_add(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
807
807
|
:param props_default: Properties to assign to each operator.
|
|
808
808
|
:type props_default: dict
|
|
809
809
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
810
|
-
:type prop_filepath: str
|
|
810
|
+
:type prop_filepath: str | None
|
|
811
811
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
812
812
|
|
|
813
813
|
Returning false excludes the file from the list.
|
|
814
|
-
:type filter_ext:
|
|
814
|
+
:type filter_ext: collections.abc.Callable | None
|
|
815
815
|
:param filter_path:
|
|
816
816
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
817
|
-
:type display_name:
|
|
817
|
+
:type display_name: collections.abc.Callable | None
|
|
818
818
|
:param add_operator:
|
|
819
819
|
:param add_operator_props:
|
|
820
820
|
"""
|
|
@@ -218,10 +218,10 @@ class MESH_MT_attribute_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
218
218
|
searchpaths: list[str],
|
|
219
219
|
operator: str,
|
|
220
220
|
props_default: dict = None,
|
|
221
|
-
prop_filepath: str = "filepath",
|
|
222
|
-
filter_ext:
|
|
221
|
+
prop_filepath: str | None = "filepath",
|
|
222
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
223
223
|
filter_path=None,
|
|
224
|
-
display_name:
|
|
224
|
+
display_name: collections.abc.Callable | None = None,
|
|
225
225
|
add_operator=None,
|
|
226
226
|
add_operator_props=None,
|
|
227
227
|
):
|
|
@@ -234,14 +234,14 @@ class MESH_MT_attribute_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
234
234
|
:param props_default: Properties to assign to each operator.
|
|
235
235
|
:type props_default: dict
|
|
236
236
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
237
|
-
:type prop_filepath: str
|
|
237
|
+
:type prop_filepath: str | None
|
|
238
238
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
239
239
|
|
|
240
240
|
Returning false excludes the file from the list.
|
|
241
|
-
:type filter_ext:
|
|
241
|
+
:type filter_ext: collections.abc.Callable | None
|
|
242
242
|
:param filter_path:
|
|
243
243
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
244
|
-
:type display_name:
|
|
244
|
+
:type display_name: collections.abc.Callable | None
|
|
245
245
|
:param add_operator:
|
|
246
246
|
:param add_operator_props:
|
|
247
247
|
"""
|
|
@@ -488,10 +488,10 @@ class MESH_MT_color_attribute_context_menu(bpy_types.Menu, bpy_types._GenericUI)
|
|
|
488
488
|
searchpaths: list[str],
|
|
489
489
|
operator: str,
|
|
490
490
|
props_default: dict = None,
|
|
491
|
-
prop_filepath: str = "filepath",
|
|
492
|
-
filter_ext:
|
|
491
|
+
prop_filepath: str | None = "filepath",
|
|
492
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
493
493
|
filter_path=None,
|
|
494
|
-
display_name:
|
|
494
|
+
display_name: collections.abc.Callable | None = None,
|
|
495
495
|
add_operator=None,
|
|
496
496
|
add_operator_props=None,
|
|
497
497
|
):
|
|
@@ -504,14 +504,14 @@ class MESH_MT_color_attribute_context_menu(bpy_types.Menu, bpy_types._GenericUI)
|
|
|
504
504
|
:param props_default: Properties to assign to each operator.
|
|
505
505
|
:type props_default: dict
|
|
506
506
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
507
|
-
:type prop_filepath: str
|
|
507
|
+
:type prop_filepath: str | None
|
|
508
508
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
509
509
|
|
|
510
510
|
Returning false excludes the file from the list.
|
|
511
|
-
:type filter_ext:
|
|
511
|
+
:type filter_ext: collections.abc.Callable | None
|
|
512
512
|
:param filter_path:
|
|
513
513
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
514
|
-
:type display_name:
|
|
514
|
+
:type display_name: collections.abc.Callable | None
|
|
515
515
|
:param add_operator:
|
|
516
516
|
:param add_operator_props:
|
|
517
517
|
"""
|
|
@@ -758,10 +758,10 @@ class MESH_MT_shape_key_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
758
758
|
searchpaths: list[str],
|
|
759
759
|
operator: str,
|
|
760
760
|
props_default: dict = None,
|
|
761
|
-
prop_filepath: str = "filepath",
|
|
762
|
-
filter_ext:
|
|
761
|
+
prop_filepath: str | None = "filepath",
|
|
762
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
763
763
|
filter_path=None,
|
|
764
|
-
display_name:
|
|
764
|
+
display_name: collections.abc.Callable | None = None,
|
|
765
765
|
add_operator=None,
|
|
766
766
|
add_operator_props=None,
|
|
767
767
|
):
|
|
@@ -774,14 +774,14 @@ class MESH_MT_shape_key_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
774
774
|
:param props_default: Properties to assign to each operator.
|
|
775
775
|
:type props_default: dict
|
|
776
776
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
777
|
-
:type prop_filepath: str
|
|
777
|
+
:type prop_filepath: str | None
|
|
778
778
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
779
779
|
|
|
780
780
|
Returning false excludes the file from the list.
|
|
781
|
-
:type filter_ext:
|
|
781
|
+
:type filter_ext: collections.abc.Callable | None
|
|
782
782
|
:param filter_path:
|
|
783
783
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
784
|
-
:type display_name:
|
|
784
|
+
:type display_name: collections.abc.Callable | None
|
|
785
785
|
:param add_operator:
|
|
786
786
|
:param add_operator_props:
|
|
787
787
|
"""
|
|
@@ -1028,10 +1028,10 @@ class MESH_MT_vertex_group_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
1028
1028
|
searchpaths: list[str],
|
|
1029
1029
|
operator: str,
|
|
1030
1030
|
props_default: dict = None,
|
|
1031
|
-
prop_filepath: str = "filepath",
|
|
1032
|
-
filter_ext:
|
|
1031
|
+
prop_filepath: str | None = "filepath",
|
|
1032
|
+
filter_ext: collections.abc.Callable | None = None,
|
|
1033
1033
|
filter_path=None,
|
|
1034
|
-
display_name:
|
|
1034
|
+
display_name: collections.abc.Callable | None = None,
|
|
1035
1035
|
add_operator=None,
|
|
1036
1036
|
add_operator_props=None,
|
|
1037
1037
|
):
|
|
@@ -1044,14 +1044,14 @@ class MESH_MT_vertex_group_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
1044
1044
|
:param props_default: Properties to assign to each operator.
|
|
1045
1045
|
:type props_default: dict
|
|
1046
1046
|
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
1047
|
-
:type prop_filepath: str
|
|
1047
|
+
:type prop_filepath: str | None
|
|
1048
1048
|
:param filter_ext: Optional callback that takes the file extensions.
|
|
1049
1049
|
|
|
1050
1050
|
Returning false excludes the file from the list.
|
|
1051
|
-
:type filter_ext:
|
|
1051
|
+
:type filter_ext: collections.abc.Callable | None
|
|
1052
1052
|
:param filter_path:
|
|
1053
1053
|
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
1054
|
-
:type display_name:
|
|
1054
|
+
:type display_name: collections.abc.Callable | None
|
|
1055
1055
|
:param add_operator:
|
|
1056
1056
|
:param add_operator_props:
|
|
1057
1057
|
"""
|